On Debian 9.8 restarting the systemd user services as root with
"systemctl restart user@<UID>.service" works for me:

# needrestart
[...]
User sessions running outdated binaries:
 root @ user manager service: systemd[6372]
 admin @ user manager service: systemd[2398]

# systemctl | grep user@
[email protected]    loaded active running   User Manager for UID 0

[email protected] loaded active running   User Manager for UID 1000

# systemctl restart [email protected]
# systemctl restart [email protected]

# needrestart
[...]
No user sessions are running outdated binaries.


I hope this helps,
Marco

-- 
OpenPGP Key ID: 0x62937F7F

Reply via email to