:: Re: [DNG] request: please evaluate/…
Inizio della pagina
Delete this message
Reply to this message
Autore: Andreas Messer
Data:  
To: dng
Oggetto: Re: [DNG] request: please evaluate/provide elogind-or-other ASAP
On Fri, Jan 05, 2018 at 08:32:10AM +0100, Irrwahn wrote:
> [...]
> Having that out of the way: First off, I appreciate any effort
> made in that direction! However, I have one question I deem
> important, namely: Will elogind display the same behavior as
> systemd-logind regarding killing long running processes upon
> user logout? IMNSHO it should not, i.e. it should follow the
> principle of least surprise by not killing background user
> processes on logout.
>
> From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394
> I gather that it is possible to configure this in sd-logind,
> so I simply assume the same holds for elogind as well.


elogind has same behavior and configuration options as systemd's
logind. So it has an option where this behavior can be enabled
or disabled.

BUT: I had a short look into the source. It seems that the killing
is implemented by sending a dbus request to systemd to stop a unit.

I dont know if systemd-shim implement the StopUnit interface at
all?

cheers,
Andreas
--
gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51