[systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)

Andrei Borzenkov arvidjaar at gmail.com
Mon Jan 12 10:04:35 PST 2015


В Mon, 12 Jan 2015 10:34:07 +0000
Colin Guthrie <colin at mageia.org> пишет:

> 
> Anyway, assuming the process is in the .mount unit cgroup, should
> systemd detect the umount and kill the processes accordingly, and if

It does not do it currently. It only starts killing if (u)mount times
out. Otherwise if umount is successful it goes to stopped state
immediately. Although it probably should, even for the sake of user
space helpers.

> not, should calling "systemctl status" on .mount units show processes
> even if it's in an inactive state?
> 

I believe something very similar (not only for mount units) was
reported recently, but I do not have reference handy. I mean, processes
belonging to stopped unit (e.g. with KillMode=none) are not displayed.

> This is with 217 with a few cherry picks on top so might have been
> addressed by now.
> 
> 
> Cheers
> 
> Col
> 



More information about the systemd-devel mailing list