tags 838360 upstream fixed-upstream
thanks

Hi Georg,

"ge...@riseup.net" <ge...@riseup.net> writes:

> Hi Patrick,
>
> On 16-09-20 12:12:50, ge...@riseup.net wrote:
>> needrestart wants to restart {ganeti,ssh}.service, even if these were
>> restarted already:

the repeating restart of ssh.service might be triggered by one or more
running user session. Do you have libpam-systemd installed and enabled?
There is an issue in needrestart assuming that libpam-systemd (if systemd is 
used at
all) is used to assign user sessions processes into according
cgroups. If libpam-systemd is not running all session process are part
of sshd's cgroup, so needrestart suggests to restart ssh.service (which
won't affect any session processes). A new config option has been
added[1] to address this option.

[1]
https://github.com/liske/needrestart/commit/6a29143e1c6439e1f851b172e468aeef17b261b2


The repeating restart of ganeti.service might be triggered by some
ganeti child processes managing virtual machines. It might not be
possible to fix this problem without stopping the VMs.


HTH,
Thomas

-- 

    ::  WWW:                        https://fiasko-nw.net/~thomas/  ::
   :::  Jabber:                   xmpp:tho...@jabber.fiasko-nw.net  :::
    ::  flickr:             https://www.flickr.com/photos/laugufe/  ::

Reply via email to