autofs should always start before at and cron

Bug #738219 reported by Mark Russell
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
autofs (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Binary package hint: autofs

Description: Ubuntu 10.04.2 LTS
Release: 10.04

Installed: 5.0.4-3.1ubuntu5.1

If autofs is installed and running, it needs to start before atd or cron. Example, you have an @reboot cronjob that reads or writes to an automounted directory, if the automount isn't ready before cron starts, the job will fail.

Revision history for this message
Mark Russell (marrusl) wrote :

This "wait job" produces the correct result. Just add it to /etc/init. It will block cron and atd until autofs is running.

Revision history for this message
Mark Russell (marrusl) wrote :

You may still encounter a race condition where autofs reports itself as "started" slightly before it is really ready (see bug #738209) and still end up with the same result but that is outside the scope of this bug.

Changed in autofs (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
assignee: nobody → Clint Byrum (clint-fewbar)
Mark Russell (marrusl)
Changed in autofs (Ubuntu):
assignee: Clint Byrum (clint-fewbar) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.