add verbosity to autofs init script

Bug #210462 reported by tgelter
2
Affects Status Importance Assigned to Milestone
autofs (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: autofs

root@guapuraT61:~# /etc/init.d/autofs stop
Stopping automounter: done.
root@guapuraT61:~# /etc/init.d/autofs stop
Stopping automounter: done.
root@guapuraT61:~# /etc/init.d/autofs start
Starting automounter: done.
root@guapuraT61:~# /etc/init.d/autofs start
Starting automounter:
 failed to start automount point /net
 done.

As you can see in the output above, if the autofs daemon is already running and you try to start the service, the output "failed to start automount point /net" tells you nothing about why the service was unable to start. I propose that a check be in place in the start script to see if the autofs daemon is currently running; if it is, inform the user of this.

Additional information:
root@guapuraT61:~# lsb_release -rd
Description: Ubuntu hardy (development branch)
Release: 8.04

root@guapuraT61:~# apt-cache policy autofs
autofs:
  Installed: 4.1.4+debian-2.1
  Candidate: 4.1.4+debian-2.1
  Version table:
 *** 4.1.4+debian-2.1 0
        500 http://us.archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Daniel T Chen (crimsun)
Changed in autofs:
importance: Undecided → Wishlist
Chuck Short (zulcss)
Changed in autofs (Ubuntu):
status: New → Triaged
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.