initctl: Unknown job: autodir

Bug #476426 reported by Jarod
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autodir (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: autodir

I got autodir 0.99.9-4 installed under Ubuntu 9.10 x86_64.
Under /etc/default/autodir I changed RUN_AUTOHOME to "yes"

Running "initctl start autodir" results in this error message "initctl: Unknown job: autodir".
Running "/etc/init.d/autodir start" also fails since the function load_autofs() is calling modprobe autofs4 with the option -k, which is not supported.
After removing "-k" from the modprobe call and starting the script "/etc/init.d/autodir start" the output looks like this " * Starting Autodir autodir [ OK ]" but the process is not started. This maybe due to the script "/sbin/start-stop-daemon", which only outputs an error message to standard error and then returns 0. But the script is not the the start-stop-daemon. There is however a file "/sbin/start-stop-daemon.REAL" which I am reluctant to move to "/sbin/start-stop-daemon", because karmic is supposed to using upstart and not SystemV anymore. Or am I wrong?

Revision history for this message
skettler (skettler) wrote :

The "modprobe -k" issue still persists in Ubuntu 10.04 LTS.

Not being able to use autodir without patching its initscript currently moves us away from upgrading to 10.04 LTS.

Revision history for this message
skettler (skettler) wrote :

The package autodir 0.99.9-4 is not compatible with module-init-tools 3.11.1-2ubuntu1 on lucid.

autodir initscript /etc/init.d/autodir uses the following snippet to load the autofs4 module but the current modprobe does no longer accept the -k (autoclean) parameter:

    # Make sure the autofs filesystem type is available.
    load_autofs() {
            (grep -q autofs /proc/filesystems || /sbin/modprobe -k autofs4 || /sbin/modprobe -k autofs) 2>/dev/null
    }

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.