132 packages were deleted from my system
by pgaltieri
I just discovered that a whole bunch of packages just got deleted from my
F27 system after doing an update. This happened on 2 different systems. I
discovered this after I had to reboot one of them because the laptop screen
went blank. After rebooting it never went to graphics mode. I discovered
then that the gdm package had been deleted. I then looked at the dnf.log
file and it shows that 12 packages were updated and 119 packages were
removed. WTF?
Paolo
5 years, 9 months
github -- building an app ---- waaayy off topic!!
by bruce
Hi peeps!
This is way off topic, but I haven't yet found a good nderstanding of
how to accomplish my goal.
I'm trying to build an app from source from github. So this is a
"learning' process.
The target app -- browsermob proxy is a proxy tool/server.
The source obviously is on github. The instructions for building the
app are sparse.
-------------------------------------------------------------------------------
https://github.com/lightbody/browsermob-proxy
----
Getting started: Standalone
To run in standalone mode from the command line, first download the
latest release from the releases page, or build the latest from
source.
The download/releases page has a
browsermob-proxy-2.1.4-bin.zip
Source code (zip)
Source code (tar.gz)
But I'm not sure if the bin.zip is for windows/linux... i'm running
linux obviously!
So it's prob/alos good to know how to build from the Source anyhow..
These are the build from source instructions.. I'm not sure what to do
with this!!
++++++
Building the latest from source
You'll need maven (brew install maven if you're on OS X):
[~]$ mvn -DskipTests
You'll find the standalone BrowserMob Proxy distributable zip at
browsermob-dist/target/browsermob-proxy-2.1.5-SNAPSHOT-bin.zip. Unzip
the contents and run the browsermob-proxy or browsermob-proxy.bat
files in the bin directory.
When you build the latest code from source, you'll have access to the
latest snapshot release. To use the SNAPSHOT version in your code,
modify the version in your pom:
<dependency>
<groupId>net.lightbody.bmp</groupId>
<artifactId>browsermob-core</artifactId>
<version>2.1.6-SNAPSHOT</version>
<scope>test</scope>
</dependency>
+++
Haven't found any pointers across the web on how/what to do to build
the app on linux.
Any help is greatly appreciated
thanks
5 years, 9 months
file permissions
by Max Pyziur
Greetings,
Twenty minutes of googling and still no answers.
When I do a directory listing using 'ls -l'
and I see
-rw-rw-r--
-rw-r--r--.
What's the final period indicate.
I realize that this is a newbie question, but I'm stumped at finding an
answer.
Much thanks.
Max
5 years, 9 months
gnome @wayland would not login...
by lejeczek
.. but the same gnome @xorg logs in fine... ???
hi guys,
I've a laptop that has carried a number of Fedora reiterations, I think
it started with f25 and since then I just kept on upgrading.
Somewhere along the long line of updates gnome stopped logging in
wayland session - I type password in and screen just blinks and split
second later I'm presented with the same login prompt - but gnome @Xorg
logs me in(including autologin) just fine.
I'd very much like to avoid re/installing Fedora so I hope you guys can
help to troubleshoot it.
Any suggestions most appreciated.
many thanks, L
5 years, 9 months
Fedora Desktop in AWS EC2 instance
by Kaushal Shriyan
Hi,
Are there any tutorials / guide to spawn Fedora Desktop on remote AWS EC2
instances and how do i access the remote desktop from my local system?
Thanks in Advance.
Best Regards,
Kaushal
5 years, 9 months
SELinux problems with logwatch?
by Robert Moskowitz
I get these messages regularly:
Jul 15 03:31:15 lx121e rsyslogd[602]: [origin software="rsyslogd"
swVersion="8.36.0" x-pid="602" x-info="http://www.rsyslog.com"] rsyslogd
was HUPed
Jul 15 03:31:17 lx121e setroubleshoot[5780]: SELinux is preventing
mktemp from write access on the directory .esmtp_queue. For complete
SELinux messages run: sealert -l 769bacbf-0a48-48cf-8c93-27360ffcfdda
Jul 15 03:31:17 lx121e python3[5780]: SELinux is preventing mktemp from
write access on the directory .esmtp_queue.#012#012***** Plugin catchall
(100. confidence) suggests **************************#012#012If you
believe that mktemp should be allowed write access on the .esmtp_queue
directory by default.#012Then you should report this as a bug.#012You
can generate a local policy module to allow this access.#012Do#012allow
this access for now by executing:#012# ausearch -c 'mktemp' --raw |
audit2allow -M my-mktemp#012# semodule -X 300 -i my-mktemp.pp#012
Running sealert I get:
# sealert -l 769bacbf-0a48-48cf-8c93-27360ffcfdda
SELinux is preventing mktemp from write access on the directory
.esmtp_queue.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that mktemp should be allowed write access on the
.esmtp_queue directory by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'mktemp' --raw | audit2allow -M my-mktemp
# semodule -X 300 -i my-mktemp.pp
Additional Information:
Source Context system_u:system_r:logwatch_t:s0-s0:c0.c1023
Target Context system_u:object_r:mail_home_rw_t:s0
Target Objects .esmtp_queue [ dir ]
Source mktemp
Source Path mktemp
Port <Unknown>
Host lx121e.htt-consult.com
Source RPM Packages
Target RPM Packages
Policy RPM selinux-policy-3.14.1-32.fc28.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name lx121e.htt-consult.com
Platform Linux lx121e.htt-consult.com
4.17.5-200.fc28.x86_64 #1 SMP Tue Jul 10
13:39:04
UTC 2018 x86_64 x86_64
Alert Count 42
First Seen 2018-05-28 03:17:06 EDT
Last Seen 2018-07-15 03:31:07 EDT
Local ID 769bacbf-0a48-48cf-8c93-27360ffcfdda
Raw Audit Messages
type=AVC msg=audit(1531639867.455:322): avc: denied { write } for
pid=5645 comm="mktemp" name=".esmtp_queue" dev="sda3" ino=1450925
scontext=system_u:system_r:logwatch_t:s0-s0:c0.c1023
tcontext=system_u:object_r:mail_home_rw_t:s0 tclass=dir permissive=0
Hash: mktemp,logwatch_t,mail_home_rw_t,dir,write
One would think that the logwatch install should have done the necessary
SELinux setup?
Or is this some other SELinux problem?
5 years, 9 months
Custom unattented installation. - Possible?
by Dirk Gottschalk
Hello,
I already have created customized live media with Kickstart and the
live media creation tools. Now I am after a way to create cusomized
installation media for fully unattented installation. Something like
insert the media, turn the computer on, select the Boot drive, go to
sleep and let the magic work. ^^
My system partition has 20GB of data, because I have many installed
packages. This would never fit on a live CD. I have read about
Kickstart for this purpose, but this were only old docs and none of
this ways worked out for me.
Would it be possible to take the netinst image for example and modify
it to do what I want, install all packages I have installed right now
and for example pull my configurations from a duplicity backup if worst
case occurs? Yes, I know, Kickstart and can do both, but how can I
create a media which already contains my custom Kickstart file, without
the need of providing this from an external source?
Regards,
Dirk
--
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen
Tel.: +49 1573 1152350
5 years, 9 months
https traffic monitoring from client
by bruce
Hi.
Trying to wrap my head around what I need to setup on a test system to
be able to capture/view (in a file or via app output) the https
traffic. My use case I have a test app talking to a remote server on
"https" and I want to be able to see what the traffic flow is in terms
of get/post cmds...
I see different sites/articles on the need to setup a proxy
server/certs and to then install/insert the cert in the "browser"
location. In my case I'm using a test headless browser, so I'm trying
to get a basic model of how this can work.
So, if anyone has insight/pointers feel free to share!!
thanks
5 years, 9 months
Quick (I hope!) dnf question.
by home user
A. background:
Consider this sequence of dnf commands...
---------------
bash.32[~]: dnf provides Xeyes
Last metadata expiration check: 13 days, 6:37:31 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
Error: No Matches found
bash.33[~]: dnf provides x_eyes
Last metadata expiration check: 13 days, 6:38:00 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
Error: No Matches found
bash.34[~]: dnf search --all xeyes
Last metadata expiration check: 13 days, 6:38:21 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
No matches found.
bash.35[~]: dnf provides xeyes
Last metadata expiration check: 13 days, 6:38:29 ago on Tue 26 Jun 2018 09:03:52 AM MDT.
xorg-x11-apps-7.7-18.fc27.x86_64 : X.Org X11 applications
Repo : @System
Matched from:
Provide : xeyes = 1.1.1
xorg-x11-apps-7.7-18.fc27.x86_64 : X.Org X11 applications
Repo : fedora
Matched from:
Provide : xeyes = 1.1.1
bash.36[~]:
---------------
This is just to show that
1. dnf's "provides" command is sensitive to case and special characters; the spelling must be exact.
2. dnf's "search" command doesn't necessarily find something even when spelled correctly.
I already have "xeyes", the above is merely demonstration.
B. the question:
If I want to find a tool, application, etc., and I don't know its exact spelling, and trying all case and special character possibilities is not practical, how do I search for it using dnf, so I can then install it (or discover that I already have it)?
thanks,
Bill.
5 years, 9 months
F27 to F28 Upgrade Fails at Offline Install Time
by Stephen Morris
Hi,
Yesterday I downloaded all the F28 packages necessary to upgrade my
system from F27 to F28 by using the following command:
sudo dnf system-upgrade download --refresh --releasever=28
--allowerasing --skip-broken
I added the last 2 parameters because dnf told me there were
packages it could not upgrade because of conflicts and to add those
parameters. Having had the process start it said there were approx. 3540
packages to be downloaded, which took several hours to do.
I ran the dnf system-upgrade reboot command as required, but
because I had other things I needed to do I shut the machine down at the
subsequent grub menu.
This morning I booted Fedora and it booted to the starting offline
install messages that get displayed twice, separated by some sound card
initialisation messages. Dnf then kicked in and displayed some messages
I couldn't read because they scrolled off the screen too quickly, but it
did get to the point of telling me there were 6 F28 packages with broken
dependencies (being 4 Boost packages, qt-qtbase and polkit-qt5-1) and
that I should use --allowerasing and --skip-broken. It then proceeded to
tell me there were 137 packages to install, 3410 packages to upgrade, 13
packages it was going to remove, 6 packages it was going to downgrade,
and 6 packages with broken dependencies. It then proceeded to tell me
there were no packages to download, and that its transaction tests were
successful so it was going to do the install. After pausing for a little
while it then produced a message that started with the work failed
written in red, but the messages scrolled off too quickly to read as it
continued on to boot into F27.
1). Can anyone shed any light on why the install may have failed and
what I need to do to work around it? I'm hoping I don't have to run a
'sudo dnf clean all' and then a 'sudo dnf system-upgrade --refresh
--releasever=28 --allowerasing --skip-broken' to download all the
packages again.
2). Where can I find the logs that would contain the error message so I
can read what it said, given that /var/log/boot.log and /var/log/dnf.log
both don't contain the message?
regards,
Steve
5 years, 9 months