On Wed, 2013-09-11 at 19:11 +0200, Lennart Poettering wrote:

> Can you elaborate on this? Why wouldn't it suffice to drop in a .mount
> unit for the mount in question which excludes the mount point from being
> unmounted with this?

It doesn't appear possible to remove the default Conflicts= just by
creating /etc/systemd/system/var.mount.

I tried doing my plan of adding a boolean to mount units if we detect
them at coldplug time, and ensuring we pass that from the dracut systemd
to the deserialized main pid.  But what I hit doing that was from
dracut-systemd's perspective it is /sysroot/var, and not /var.  Would
need to do some sort of device/inode pairing to fix up paths after a
potential switch-root.



_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to