oscar-cluster / oscar

OSCAR main source repository.
GNU General Public License v2.0
14 stars 3 forks source link

opkg-nfs: api-post-image: problem: Can create duplicate entries in /etc/fstab. #676

Closed dikim33 closed 7 years ago

dikim33 commented 7 years ago

Reported by olahaye74 on 29 Jul 2014 15:27 UTC opkg-nfs: api-post-image: problem: Can create duplicate entries in /etc/fstab and this upsets systemd.

For example, /etc/fstab.nfs is appended to /etc/fstab if opkg-nfs is enabled. Problem: /home nfs share is already set in fstab, thus this ends up with duplicate /home entries.

2 Solutions:

dikim33 commented 7 years ago

Comment by olahaye74 on 25 Feb 2015 09:16 UTC Fixed. nfs-oscar:/home is mounted in /home in default fstab for compatibility reasons. if opkg-nfs is enabled, this default share is removed from fstab and the configured shares are appended to fstab.