[systemd-devel] systemctl status not showing still running processes in inactive .mount unit cgroups (NFS specifically)
Ross Lagerwall
rosslagerwall at gmail.com
Wed Jan 14 14:41:35 PST 2015
On Mon, Jan 12, 2015 at 09:04:35PM +0300, Andrei Borzenkov wrote:
> В 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 commit is probably needed:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=dab5bf859900c0abdbf78c584e4aed42a19768cd
Regards
--
Ross Lagerwall
More information about the systemd-devel
mailing list