Bug#935471: systemd: bogus "Process .. as been marked to be excluded from killing" warning from systemd-shutdown

Michael Biebl biebl at debian.org
Fri Aug 23 07:46:12 BST 2019


Hi

Am 23.08.19 um 01:06 schrieb Marc Lehmann:
> Package: systemd
> Version: 241-5
> Severity: minor
> 
> Dear Maintainer,
> 
> on one of my systems, debian runs from a filesystem image loop-mounted
> from an ntfs volume using ntfs-3g, and thus, the ntfs-3g process must be
> running at all times, before mounting the root fs and during shutdown.
> 
> To accomplish this I have an initramfs-tools script that runs it something
> like this:
> 
>   exec -a @ntfs-3g-root ntfs-3g ...
> 
> The @ prevents systemd-shutdown from killing it, which works. However, it
> outputs the following warning (lifted from the code, can't copy&paste from
> the real system):
> 
>                 log_notice("Process " PID_FMT " (%s) has been marked to be excluded from killing. It is "
>                            "running from the root file system, and thus likely to block re-mounting of the "
>                            "root file system to read-only. Please consider moving it into an initrd file "
>                            "system instead.", pid, strna(comm));
> 
> Since it is running from the initramfs, this warning is bogus (and indeed,
> the root fs can be mounted ro with no problem), suggesting that the check
> systemd-shutdown uses to detect this case is broken.

If you have ideas how to improve the code, a patch would be great.
Ideally, you should submit this upstream at
https://github.com/systemd/systemd/

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190823/1ccc380c/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list