Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Patrick O'Callaghan
On Mon, 2022-08-15 at 16:00 +0200, francis.montag...@inria.fr wrote: > > $ systemctl --user show --property=DefaultTimeoutStopUSec > > DefaultTimeoutStopUSec=1min 30s > > > Aha! Now where do I change that? > > Either in: > >   /usr/lib/systemd/user.conf.d/99-stop-fast.conf >   /etc/systemd/user.

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Francis . Montagnac
On Mon, 15 Aug 2022 14:44:43 +0100 Patrick O'Callaghan wrote: >> Have you checked also for systemctl --user ? > $ systemctl --user show --property=DefaultTimeoutStopUSec > DefaultTimeoutStopUSec=1min 30s > Aha! Now where do I change that? Either in: /usr/lib/systemd/user.conf.d/99-stop-fast.

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Tom Horsley
On Mon, 15 Aug 2022 14:44:43 +0100 Patrick O'Callaghan wrote: > Aha! Now where do I change that? There is a user.conf file right next to the system.conf file in the /etc/systemd directory. It has almost all the same parameters, and I always change both files when changing something to make sure I

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Patrick O'Callaghan
On Mon, 2022-08-15 at 15:21 +0200, francis.montag...@inria.fr wrote: > > On Mon, 15 Aug 2022 12:19:20 +0100 Patrick O'Callaghan wrote: > > > This solution has simply stopped working. The default timeout is > > indeed > > set as described: > > > $ systemctl show --property=DefaultTimeoutStopUSec

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Francis . Montagnac
On Mon, 15 Aug 2022 12:19:20 +0100 Patrick O'Callaghan wrote: > This solution has simply stopped working. The default timeout is indeed > set as described: > $ systemctl show --property=DefaultTimeoutStopUSec > DefaultTimeoutStopUSec=5s Have you checked also for systemctl --user ? > (note the

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Tom Horsley
Probably not helpful info, but I had dhcpd simply refuse to pay attention to the signal that was intended to make it cleanly shut down on a system at work several months ago. I even did enough debugging to verify the signal was in fact being delivered to the signal handler in the dhcpd process, but

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Francis . Montagnac
On Mon, 15 Aug 2022 12:19:20 +0100 Patrick O'Callaghan wrote: > On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote: >> On Sun, 17 Jul 2022 15:17:56 +0100 >> I made this chage: "DefaultTimeoutStopSec=5s" in both >> /etc/systemd/system.conf and /etc/systemd/user.conf > This solution has simply s

Re: Long timeouts on logging out/shutting down

2022-08-15 Thread Patrick O'Callaghan
On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote: > On Sun, 17 Jul 2022 15:17:56 +0100 > Patrick O'Callaghan wrote: > > > OK. Where is that configured (too lazy to look it up :-)? > > I made this chage: "DefaultTimeoutStopSec=5s" in both > /etc/systemd/system.conf and /etc/systemd/user.conf

Re: Long timeouts on logging out/shutting down

2022-07-18 Thread stan via users
On Mon, 18 Jul 2022 14:34:13 +0100 Patrick O'Callaghan wrote: > I just created a new file in the system.conf.d directory. Didn't have > to touch the SElinux context. I guess that makes sense, since the file doesn't exist on the system, so there isn't any selinux rule for it. I was just being th

Re: Long timeouts on logging out/shutting down

2022-07-18 Thread Patrick O'Callaghan
On Mon, 2022-07-18 at 06:08 -0700, stan via users wrote: > On Sun, 17 Jul 2022 19:14:09 +0200 > francis.montag...@inria.fr wrote: > > > Did you specified the [Manager] tag in the drop-in file ? > > > > Example: > > > > ## Weird: systemd seems to uses internally a ...USec name for that > > system

Re: Long timeouts on logging out/shutting down

2022-07-18 Thread stan via users
On Sun, 17 Jul 2022 19:14:09 +0200 francis.montag...@inria.fr wrote: > Did you specified the [Manager] tag in the drop-in file ? > > Example: > > ## Weird: systemd seems to uses internally a ...USec name for that > systemctl show --property=DefaultTimeoutStopUSec > DefaultTimeoutStopUSec=1min 30

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Stephen Morris
On 18/7/22 10:18, Mike Wright wrote: On 7/17/22 16:26, Stephen Morris wrote: On 18/7/22 04:41, Patrick O'Callaghan wrote: On Sun, 2022-07-17 at 19:14 +0200, francis.montag...@inria.fr wrote: Hi. On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: Actually, according to systemd-syst

Re: Re Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Tom Horsley
On Sun, 17 Jul 2022 20:48:59 -0400 R. G. Newbury wrote: > And also reminds me why Linux can be considered a cult, as there are > arcane and unknown rules controlling how things work. I always say "Without google, linux itself would be impossible." ___

Re Re: Long timeouts on logging out/shutting down

2022-07-17 Thread R. G. Newbury
On 2022-07-17 15:17, francis.montag...@inria.fr wrote On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: Actually, according to systemd-system.conf(5), it looks like the proper place to do this is with a file under /usr/lib/systemd/system.conf.d, similar to the old rc.d init files. Pr

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Mike Wright
On 7/17/22 16:26, Stephen Morris wrote: On 18/7/22 04:41, Patrick O'Callaghan wrote: On Sun, 2022-07-17 at 19:14 +0200, francis.montag...@inria.fr wrote: Hi. On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: Actually, according to systemd-system.conf(5), it looks like the proper p

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Stephen Morris
On 18/7/22 04:41, Patrick O'Callaghan wrote: On Sun, 2022-07-17 at 19:14 +0200, francis.montag...@inria.fr wrote: Hi. On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: Actually, according to systemd-system.conf(5), it looks like the proper place to do this is with a file under /usr

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Patrick O'Callaghan
On Sun, 2022-07-17 at 19:14 +0200, francis.montag...@inria.fr wrote: > > Hi. > > On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: > > > Actually, according to systemd-system.conf(5), it looks like the > > > proper place to do this is with a file under > > > /usr/lib/systemd/system.co

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Francis . Montagnac
Hi. On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: >> Actually, according to systemd-system.conf(5), it looks like the >> proper place to do this is with a file under >> /usr/lib/systemd/system.conf.d, similar to the old rc.d init files. >> Presumably that will avoid the setting be

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Tom Horsley
On Sun, 17 Jul 2022 17:39:35 +0100 Patrick O'Callaghan wrote: > Turns out that you do have to edit the standard > file(s) to have any effect. That has been true for so many things, I don't even bother to try out the "correct" way any longer. I just use my big hammer to fix things after every dnf

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Patrick O'Callaghan
On Sun, 2022-07-17 at 17:13 +0100, Patrick O'Callaghan wrote: > On Sun, 2022-07-17 at 17:03 +0100, Patrick O'Callaghan wrote: > > On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote: > > > On Sun, 17 Jul 2022 15:17:56 +0100 > > > Patrick O'Callaghan wrote: > > > > > > > OK. Where is that configur

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Patrick O'Callaghan
On Sun, 2022-07-17 at 17:03 +0100, Patrick O'Callaghan wrote: > On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote: > > On Sun, 17 Jul 2022 15:17:56 +0100 > > Patrick O'Callaghan wrote: > > > > > OK. Where is that configured (too lazy to look it up :-)? > > > > I made this chage: "DefaultTimeou

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Patrick O'Callaghan
On Sun, 2022-07-17 at 10:27 -0400, Tom Horsley wrote: > On Sun, 17 Jul 2022 15:17:56 +0100 > Patrick O'Callaghan wrote: > > > OK. Where is that configured (too lazy to look it up :-)? > > I made this chage: "DefaultTimeoutStopSec=5s" in both > /etc/systemd/system.conf and /etc/systemd/user.conf

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread stan via users
On Sun, 17 Jul 2022 10:27:52 -0400 Tom Horsley wrote: > I made this chage: "DefaultTimeoutStopSec=5s" in both > /etc/systemd/system.conf and /etc/systemd/user.conf Thank you. I tried to make this change, but I must not have found the right variable or location because it didn't take. Long stan

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Tom Horsley
On Sun, 17 Jul 2022 15:17:56 +0100 Patrick O'Callaghan wrote: > OK. Where is that configured (too lazy to look it up :-)? I made this chage: "DefaultTimeoutStopSec=5s" in both /etc/systemd/system.conf and /etc/systemd/user.conf ___ users mailing list --

Re: Long timeouts on logging out/shutting down

2022-07-17 Thread Patrick O'Callaghan
On Sat, 2022-07-16 at 18:55 -0400, Tom Horsley wrote: > On Sat, 16 Jul 2022 23:27:21 +0100 > Patrick O'Callaghan wrote: > > > Is anyone else seeing this? > > Possibly not precisely the same, but I found that systemd "user > demons" > were continuing to run forever even when the user logged out, a

Re: Long timeouts on logging out/shutting down

2022-07-16 Thread Tom Horsley
On Sat, 16 Jul 2022 23:27:21 +0100 Patrick O'Callaghan wrote: > Is anyone else seeing this? Possibly not precisely the same, but I found that systemd "user demons" were continuing to run forever even when the user logged out, and on shutdown it would wait a long time on them before being willing

Long timeouts on logging out/shutting down

2022-07-16 Thread Patrick O'Callaghan
I reported this on the Fedora KDE list a while back. Briefly, the kded daemon should die when the user session terminates, but actually waits around for up to 90 seconds before timing out. This blocks the system from shutting down, or from logging in the same user while the process is still running