For an example of how automount of home is done:

Two parts, to get automount to manage directories in /home:

grep home /etc/auto.master
===
/home /etc/auto.home
===

To tell autofs what directories to attach to /home:

cat /etc/auto.home
===
* :/media/sdd1/home/& :/media/sdc1/home/& /some/other/place/&
===

Directories in those three source places will be mounted in /home
automatically.

Since cron is running the @reboot rules for each user before the home
directory is mounted any cron job which relies on the home directory being
mounted will fail.

In the example the date.log should be written into the home directory,
in my real use cases I have daemon like scripts which are supposed to
be running all the time, live in my home directory and should get restarted
by cron after reboots.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/696098

Title:
  cron @reboot rules fail for users wuth autofs homes, due to missing upstart 
dependancy

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to