systemd in 15.04 not mounting bind entries in fstab

Asked by Rich Jones

Since upgrading from 14.10 to 15.05, boots have been inconsistent. Without changing any files, usually on the 2nd or 3rd reboot, the system mounts like normal. At first I thought it was the fstab formatting. Replacing any spaces with tabs, and disabling swap and tmp, seemed to work. After about 20 boots, it failed today. It dropped me to a text login, where I logged in as root. Checking what was mounted, showed the same issue - all the binds did not mount. When I tried to do "mount -a" all of sudden X started, and login prompt, however, network did not init.

Since then I have changed back to upstart and system booted fine, bind worked as normal.

Below is the fstab:

LABEL=swap1 swap swap defaults 0 0 # /dev/sdf3
LABEL=root_ssd / ext4 noatime,discard,errors=remount-ro 0 1 #/dev/sda1: SSD
LABEL=root_hdd /mnt/hdd ext4 defaults 1 2 #/dev/sdf1
LABEL=photos /mnt/hd1 ext4 defaults 1 2 #/dev/sdf2
LABEL=music /mnt/hd2 ext4 defaults 1 2 #/dev/sda1
LABEL=work /mnt/hd3 ext4 defaults 1 2 #/dev/sda1

# Bind dirs olddir newdir
/mnt/hdd/var /var auto rw,bind 0 0
/mnt/hdd/tmp /tmp auto rw,bind 0 0
/mnt/hdd/root /root auto rw,bind 0 0
/mnt/hd1/home /home auto rw,bind 0 0
/mnt/hd1/src /src auto rw,bind 0 0
/mnt/hd1/photos /photos auto rw,bind 0 0
/mnt/hd1/depot /depot auto rw,bind 0 0
/mnt/hd1/local /usr/local auto rw,bind 0 0
/mnt/hd2/mp3/music /mp3 auto rw,bind 0 0
/mnt/hd3/work /work auto rw,bind 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
none /dev/shm tmpfs defaults,nosuid,noexec,rw,mode=1777 0 0

Any info on bind working with systemd?

Thanks
Rich

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Are there any open bug reports?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.