Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread George Avrunin
On Fri, 13 Aug 2021 18:43:40 +0300, Andrei Borzenkov wrote: > > I don't think any actual person was logged in, but gdm was running. > > And apparently gdm starts gsd-power, the gnome-settings power demon. I > > haven't yet been able to find where gsd-power gets its settings, but > > maybe it's th

Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread Andrei Borzenkov
On 13.08.2021 15:13, George Avrunin wrote: > On Fri, 13 Aug 2021 08:05:29 +0200, Ulrich Windl wrote: > >>> I suppose that's possible, though I haven't been able to find anywhere >>> that's configured. (I'll ask again on the Fedora list to be sure.) In >>> the places where I know I've manually co

Re: [systemd-devel] [EXT] [systemd‑devel] no log information about why machine is sleeping

2021-08-13 Thread George Avrunin
On Fri, 13 Aug 2021 08:05:29 +0200, Ulrich Windl wrote: > > I suppose that's possible, though I haven't been able to find anywhere > > that's configured. (I'll ask again on the Fedora list to be sure.) In > > the places where I know I've manually configured it (e.g., in the KDE > > power setting

Re: [systemd-devel] no log information about why machine is sleeping

2021-08-13 Thread Simon McVittie
On Fri, 13 Aug 2021 at 08:05:29 +0200, Ulrich Windl wrote: > Amazingly in my Leap 15 system it's GNOME that triggers it: If I'm not logged > in, no suspend happens, but when I have a GNOME session suspend happens. If this is not what you want, change the logged-in user's GNOME settings (via gnome-

[systemd-devel] Unreliable shutdown/reboot service on CentOS 8

2021-08-13 Thread Harryo
Hi, This service sometimes works and sometimes it doesn't. Does the service die if one of the commands throws an error? Or does the system shutdown before the script is done? I don't know what's going on and I have tried so many things. [Unit] Description = move the files on reboot or shutdown Req