Re: F25 System Wide Change: KillUserProcesses=yes by default

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

 



On Fri, Jul 29, 2016 at 11:31 AM, Chris Murphy <lists@xxxxxxxxxxxxxxxxx> wrote:
> Can anyone explain why the feature works for Logout, but doesn't work
> for Restart or Shutdown when initiated in the logged in shell session?
>
> KillUserProcesses true does not kill user gdm session on restart,
> restart hangs 1m30s
> https://bugzilla.redhat.com/show_bug.cgi?id=1341837

The ticket is closed but I've supplied my opinion anyway.
https://fedorahosted.org/fesco/ticket/1600#comment:19

Maybe someone can beat me to a test involving pvmove from one disk to
another, initiated in GNOME Terminal, and logging out before it
completes. I'd love to know what state it puts the system in...

There must be dozens of examples, not yet discovered or provided,
where the task is expected to take hours or days, and the admin
properly logs out of the shell before that task is finished.

What about remote tasks? root is exempt from KillUserProcesses, and I
typically disable root on all systems, especially servers with ssh
enabled all the time. So I login as chris, and use sudo to run those
tasks. Are they going to get clobbered when I exit from that remote
session? I suspect they would, so maybe this is not an appropriate
default for server and cloud products?


-- 
Chris Murphy
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux