F28 suspend to ram bounce
by Robert Moskowitz
I have seen this for some time (perhaps since install) on F28. I
suspend to ram and the system seems to suspend then immediately restarts
by itself. I unlock and suspend again and this 2nd attempt 'takes'.
It seems this happens one the 1st suspend after a powerup and login. I
don't believe I see it on later suspends.
LOTS of log messages I will provide a few. Trying to find some of the
failure to suspend
...
Jul 16 10:41:10 lx121e systemd[1]: Reached target Sleep.
Jul 16 10:41:10 lx121e systemd[1]: Starting Suspend...
Jul 16 10:41:11 lx121e systemd-sleep[3896]: Suspending system...
Jul 16 10:41:11 lx121e kernel: PM: suspend entry (deep)
Jul 16 10:41:11 lx121e kernel: PM: Syncing filesystems ... done.
Jul 16 10:41:11 lx121e nm-dispatcher[3879]: req:2 'down' [wlp4s0]: start
running ordered scripts...
Jul 16 10:41:11 lx121e chronyd[611]: Source 107.155.72.138 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 193.225.118.163 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 2001:470:28:140::5 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 206.108.0.131 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 62.149.0.30 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 80.65.85.94 offline
Jul 16 10:41:11 lx121e chronyd[611]: Source 198.206.133.14 offline
Jul 16 10:41:11 lx121e chronyd[611]: Can't synchronise: no selectable
sources
Jul 16 10:41:18 lx121e kernel: Freezing user space processes ...
(elapsed 0.006 seconds) done.
Jul 16 10:41:18 lx121e kernel: OOM killer disabled.
Jul 16 10:41:18 lx121e kernel: Freezing remaining freezable tasks ...
(elapsed 0.052 seconds) done.
Jul 16 10:41:18 lx121e kernel: Suspending console(s) (use
no_console_suspend to debug)
Jul 16 10:41:18 lx121e kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 16 10:41:18 lx121e kernel: sd 0:0:0:0: [sda] Stopping disk
Jul 16 10:41:18 lx121e kernel: PM: suspend devices took 2.354 seconds
...
Jul 16 10:41:44 lx121e systemd[1]: Reached target Sleep.
Jul 16 10:41:44 lx121e systemd[1]: Starting Suspend...
Jul 16 10:41:44 lx121e systemd-sleep[4194]: Suspending system...
Jul 16 10:41:44 lx121e kernel: PM: suspend entry (deep)
Jul 16 10:41:44 lx121e kernel: PM: Syncing filesystems ... done.
Jul 16 10:41:45 lx121e chronyd[611]: Source 107.155.72.138 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 193.225.118.163 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 198.206.133.14 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 2001:470:28:140::5 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 206.108.0.131 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 62.149.0.30 offline
Jul 16 10:41:45 lx121e chronyd[611]: Source 80.65.85.94 offline
...
Jul 16 10:43:28 lx121e kernel: Freezing user space processes ...
(elapsed 0.005 seconds) done.
Jul 16 10:43:28 lx121e kernel: OOM killer disabled.
Jul 16 10:43:28 lx121e kernel: Freezing remaining freezable tasks ...
(elapsed 0.079 seconds) done.
Jul 16 10:43:28 lx121e kernel: Suspending console(s) (use
no_console_suspend to debug)
Jul 16 10:43:28 lx121e kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 16 10:43:28 lx121e kernel: sd 0:0:0:0: [sda] Stopping disk
Jul 16 10:43:28 lx121e kernel: PM: suspend devices took 0.805 seconds
...
Jul 16 10:43:28 lx121e kernel: x86: Booting SMP configuration:
Jul 16 10:43:28 lx121e kernel: smpboot: Booting Node 0 Processor 1 APIC 0x1
Jul 16 10:43:28 lx121e kernel: cache: parent cpu1 should not be sleeping
Jul 16 10:43:28 lx121e kernel: microcode: CPU1: patch_level=0x05000029
Jul 16 10:43:28 lx121e kernel: CPU1 is up
Jul 16 10:43:28 lx121e kernel: ACPI: Waking up from system sleep state S3
Jul 16 10:43:28 lx121e kernel: ACPI: EC: interrupt unblocked
...
Jul 16 10:43:28 lx121e kernel: Freezing user space processes ...
(elapsed 0.005 seconds) done.
Jul 16 10:43:28 lx121e kernel: OOM killer disabled.
Jul 16 10:43:28 lx121e kernel: Freezing remaining freezable tasks ...
(elapsed 0.079 seconds) done.
Jul 16 10:43:28 lx121e kernel: Suspending console(s) (use
no_console_suspend to debug)
Jul 16 10:43:28 lx121e kernel: sd 0:0:0:0: [sda] Synchronizing SCSI cache
Jul 16 10:43:28 lx121e kernel: sd 0:0:0:0: [sda] Stopping disk
Jul 16 10:43:28 lx121e kernel: PM: suspend devices took 0.805 seconds
Jul 16 10:43:28 lx121e kernel: ACPI: EC: interrupt blocked
Jul 16 10:43:28 lx121e kernel: ACPI: Preparing to enter system sleep
state S3
Jul 16 10:43:28 lx121e kernel: ACPI: EC: event blocked
more messages available upon request.
5 years, 10 months
Timezone question
by Danny Horne
Hi all,
I recently changed my Fedora 28 servers from UTC to Europe/London
timezone, so now it's displaying times in BST (British Summer Time).
Come October this will change to GMT (Greenwich Mean Time).
1) Will the timezone change automatically (account for the hours
difference)?
2) Will rsyslog continue to post log times as BST or will it
automatically change to GMT without having to restart it?
I've also just discovered a weird problem. I have three servers all
configured for Europe/London timezone. Two show times in BST when using
the 'date' command, but one still shows as UTC (see below).
What have I missed?
[root@kepler ~]# date
Tue 17 Jul 11:42:53 BST 2018
[root@kepler ~]#
[root@kepler ~]# timedatectl
Local time: Tue 2018-07-17 11:42:56 BST
Universal time: Tue 2018-07-17 10:42:56 UTC
RTC time: Tue 2018-07-17 10:42:56
Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
[root@hawking log]# date
Tue 17 Jul 10:43:07 UTC 2018
[root@hawking log]#
[root@hawking log]# timedatectl
Local time: Tue 2018-07-17 11:43:10 BST
Universal time: Tue 2018-07-17 10:43:10 UTC
RTC time: Tue 2018-07-17 10:43:10
Time zone: Europe/London (BST, +0100)
System clock synchronized: yes
systemd-timesyncd.service active: yes
RTC in local TZ: no
Thanks for looking
5 years, 10 months
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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 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, 10 months