[systemd-devel] magically disappearing filesystems
amaasikas at gmail.com
Thu Jun 15 08:30:27 UTC 2017
On Thu, Jun 15, 2017 at 10:39 AM, Jérémy Rosen <jeremy.rosen at smile.fr>
> I'm pretty it should only be necessary to call daemon-reload before using
> systemctl. It warns if any source files (unit files, dropins and anything
> mentioned by SourcePath= in a unit) have been updated since the last
> reload. The fstab generator should be using SourcePath=.
> Would it be theoretically possible to do a .path that looked at /etc/fstab
> and triggered a daemon-reload, or would that be a bad idea for reasons I
> don't imagine ?
That wont help too much as I see it.
Currently if i manually unmount a filesystem some configuration remains and
later when i remove the md device it tries to
do automatic actions based on that invalid configuration.
To break this link either
1. removing the md device should not umount the filesystem or at least
check that it is still the right one
or more correct
2. umounting should break the link, update configuration so removing the
device doesn't do funny things
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the systemd-devel