On Thu, May 26, 2016 at 9:52 AM, Rashmi Ranjan Mohanty < rashmiranjan.moha...@microfocus.com> wrote:
> > What I don't understand in your case though is why you use an explicit > > mount for /opt anyway... The nice thing about btrfs is that subvolumes > > behave pretty much like normal directories that just have a bit more > > features. And because of that there's no need to mount them > > explicitly. Just create a subvolume normally and everything should be > > good, it will then be available at the right place the instant the > > parent subvolume is mounted too. > > I can not really control the partitioning scheme. We just provide the > software installer. > Customer installs the OS and then installs our software. So its upto > customer discretion > how he wants to create the partitioning scheme. The system on which we > found the > issue was having the default partitioning scheme that SUSE (SLES 12) used > and /opt > was not a separate partition, but btrfs subvolume of / partition. > > Anyway we are changing the location of unit files to standard > /usr/lib/systemd/system to fix > the issue. Tested it and works fine after changing the location. > > Just out of curiosity... If /usr itself is there on a separate partition, > can this issue happen > then or systemd can handle that scenario ? > Some distros (e.g. Debian) configure systemd to use /lib instead of /usr/lib. In other distros (e.g. Arch or Gentoo), it's generally been agreed that it needs to be pre-mounted by the initramfs – since /usr often contains libraries and binaries required for mounting /usr. -- Mantas Mikulėnas <graw...@gmail.com>
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/systemd-devel