On Thu, Jun 15, 2017 at 10:39 AM, Jérémy Rosen <[email protected]> wrote:
> > 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 ? > > Hi, 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 Andre
_______________________________________________ systemd-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/systemd-devel
