Hi all,

I've been running happily on CentOS 8.3 for a while but did an update recently to 8.4 and systemd-239-45.el8_4.1.x86_64 (old version but with a ton of backports as I'm sure you know/can imagine)

Since then my mount units for VirtualBox Shared Folders stopped working.

I traced this down to the fact that when "mount" is eventually called, the What= value specified in the mount unit has been mangled to add a preceding /

e.g. my mount unit is:

[Unit]

Before=local-fs.target



[Mount]

Where=/SharedFolderName
What=SharedFolderName
Type=vboxsf



[Install]

WantedBy=local-fs.target




The mount command that is eventually called is:

  mount /SharedFolderName /SharedFolderName -o rw

whereas it *should* be:

  mount SharedFolderName /SharedFolderName -o rw


Does anyone recall if this is a known bug that has occurred at some point and the RHEL systemd maintainers need to also backport it's fix? Or is it perhaps a bug in libmount? If anyone has any recollection that would be ace.

Also if it is a systemd bug and a backport is needed, can I make a friendly request to any RHEL systemd maintainers reading this to also include the fix for https://github.com/systemd/systemd/issues/10526 so I can use squashfs container images in my dev setup. Would be much appreciated :-)

Cheers

Col







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

Reply via email to