Control: tags -1 + moreinfo 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 ...
Would be great if you can share this script so we can see what exactly
it is doing.
> 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.
>
> For additional reference, /proc/<ntfs-3g-pid>/root has a target of "/",
> which probably causes this. /proc/<ntfs-3g-pid>/exe has a target of
> '/usr/bin/ntfs-3g (deleted)', which makes sense as it was deleted when
> cleaning up the initramfs before handing over to the actual root fs.
Please supply the information that was requested by upstream:
"
so, the targets of those pseudo-symlinks are misleading. These symlinks
are "magic" if you so will, only if you actually use them in paths they
have a magic effect, and point to something potentially different than
their literal value. Hence, can you do stat on those two magic symlinks
to see what they actually point to?
"
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
