Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 3829  / 2 Years ago, mon, february 7, 2022, 7:37:45

I've added the following line to my /etc/fstab:



server:/srv/homes /home nfs rsize=8192,wsize=8192,timeo=14,intr,hard,auto 0 0


As you can see, /home needs to be mounted during the boot or users won't have an access to their home directory.



Unfortuately, Ubuntu seems to push mounting to the background and therefore /home is mounted approximately one minute after login screen appears. How can I make it wait for successful mount?



PS. I'm running Ubuntu 12.04


More From » boot

 Answers
0

In lightdm's upstart job (/etc/init/lightdm.conf), add a mounted event so it looks a bit like this:



start on ((filesystem
and runlevel [!06]
and started dbus
and (drm-device-added card0 PRIMARY_DEVICE_FOR_DISPLAY=1
or stopped udev-fallback-graphics))
and mounted MOUNTPOINT=/home
or runlevel PREVLEVEL=S)

[#39080] Monday, February 7, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iriousutur

Total Points: 321
Total Questions: 112
Total Answers: 106

Location: Sweden
Member since Mon, Dec 7, 2020
3 Years ago
iriousutur questions
Sun, Apr 9, 23, 02:48, 1 Year ago
Tue, May 23, 23, 00:41, 1 Year ago
Fri, Oct 21, 22, 02:47, 2 Years ago
Mon, May 9, 22, 00:01, 2 Years ago
;