[systemd-devel] umount NFS problem

Harald Dunkel harald.dunkel at aixigo.de
Fri Apr 5 09:45:36 UTC 2019


On 4/5/19 8:45 AM, Mantas MikulÄ—nas wrote:
> 
> Normally I'd expect user sessions (user-*.slice, session-*.scope, user@*.service) to be killed before mount units are stopped; I wonder how random gpg-agent processes have managed to escape that. (Actually, doesn't Debian now manage gpg-agent via user at .service? That *really* should be cleaning up everything properly...)
> 

Probably a remote login.

@Michael, libpam-systemd is installed. UsePAM is enabled, too.

> You might also try to enable [Mount] LazyUnmount= for home.mount so that umounts appear to succeed immediately and the kernel cleans them up when it can. It mostly just hides the problem though.
> 

Looking at the log file I have the impression that rpcbind has
been stopped even before the first umount attempt of /home. Can
you confirm this?


Regards
Harri


More information about the systemd-devel mailing list