On a RHEL8-based systemvirtual machine running systemd 239, I have the following bind-mount setup:
- The
journalctloutput doesn't contain error messages trying to mount the "failed" bind-mounts, they are simply never mentioned. Only the successfully mounted bind-mounts are mentioned in the usual way:<Date> <Hostname> systemd[1]: Mounting /path/to/sourcemnt... ... <Date> <Hostname> systemd[1]: Mounted /path/to/sourcemnt. <Date> <Hostname> systemd[1]: Mounting /path/to/targetmnt/dirB... ... <Date> <Hostname> systemd[1]: Mounted /path/to/targetmnt/dirB. - Manually mounting them (as
root) works. - The number of "failing" bind-mounts is not consistent on re-boot. Sometimes only one is missing, sometimes two, but at least one is always successfully mounted.
- Changing the order in which the bind-mounts are specified in the
fstabdoesn't change which of them are mounted and which are not. - It seems that the one lexicographically in the middle of the sort-order (
dirB) is always there,dirAsometimes anddirConly after a hard restart (if at all) - but I didn't try often enough to say for sure. - The same setup still worked as of RHEL7