autofs man page too old on my ubuntu LTS 10.04
Tom H
tomh0665 at gmail.com
Fri Jul 23 08:41:09 UTC 2010
On Thu, Jul 22, 2010 at 9:16 PM, NoOp <glgxg at sbcglobal.net> wrote:
> On 07/22/2010 02:34 PM, Tom H wrote:
>
>> The man pages are not outdated. autofs simply has not changed.
>>
>> Ubuntu simply needs to change"/etc/init.d/autofs
>> start|stop|restart|reload|status" because of upstart; the maintainer
>> must have forgotten to do so.
>
> Please file a bug at:
> https://bugs.launchpad.net/ubuntu/+source/autofs
> Sample:
> <https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/318495>
> Note: I'd just add a bug report stating that the man page (be sure to
> note which one - 5 or 8) and suggest that it be changed.
> Added note: /etc/init.d/autofs still gets install & does still work.
> However also let them know:
>
> $ sudo /etc/init.d/autofs --status
> Rather than invoking init scripts through /etc/init.d, use the service(8)
> utility, e.g. service autofs --status
>
> The script you are attempting to invoke has been converted to an Upstart
> job, but --status is not supported for Upstart jobs.
>
> And...
> $ sudo service autofs --status
> Rather than invoking init scripts through /etc/init.d, use the service(8)
> utility, e.g. service autofs --status
>
> The script you are attempting to invoke has been converted to an Upstart
> job, but --status is not supported for Upstart jobs.
>
> $ service autofs restart
> restart: Rejected send message, 1 matched rules; type="method_call",
> sender=":1.76" (uid=1001 pid=13252 comm="restart)
> interface="com.ubuntu.Upstart0_6.Job" member="Restart" error
> name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0
> pid=1 comm="/sbin/init"))
>
> Nor does, start, stop etc. autofs has larger issues, See:
> https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/573919
> [autofs doesn't work with lucid]
>
> Added note: /etc/init.d/autofs still gets install & still does not work.
I installed autofs in a new Lucid vbox and these commands work perfectly for me.
service autofs status
service autofs stop
service autofs restart
initctl status autofs
initctl stop autofs
initctl restart autofs
or the shorter versions of the above
status autofs
stop autofs
restart autofs
Furthermore, all upstart jobs have both an "/etc/init/job.conf" and an
"/etc/init.d/job" where the latter is a symlink to
"/lib/init/upstart-job" where "upstart-job" displays the text about
service.
More information about the ubuntu-users
mailing list