Re: Long timeouts on logging out/shutting down

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2022-07-18 at 06:08 -0700, stan via users wrote:
> On Sun, 17 Jul 2022 19:14:09 +0200
> Francis.Montagnac@xxxxxxxx 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 30s
> > 
> > mkdir /usr/lib/systemd/system.conf.d
> > echo -e '[Manager]\nDefaultTimeoutStopSec=5s' >
> > /usr/lib/systemd/system.conf.d/99-stop-fast.conf
> > 
> > systemctl daemon-reload
> > 
> > systemctl show --property=DefaultTimeoutStopUSec
> > DefaultTimeoutStopUSec=5s
> > 
> I can confirm that this also works.  I copied
> /etc/systemd/system.conf
> to the newly created directory, /usr/lib/systemd/system.conf.d with a
> new name starting with 99, fixed the permissions and selinux context,
> uncommented the appropriate entry, changed its value, and it is
> working
> as if I changed it in /etc/systemd/system.conf and
> /etc/systemd/user.conf.

I just created a new file in the system.conf.d directory. Didn't have
to touch the SElinux context.

poc
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux