[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#280706: autofs: Fails to mount specified mountpoints. No logging output.

On Wed, Nov 10, 2004 at 11:57:33PM -0800, Karsten M. Self wrote:
> misc	/etc/auto.misc
> net	/etc/auto.net

This is indeed what is causing the problems. /etc/init.d/autofs reads

 getmounts | while read cmd rest
      mnt=`echo $rest | sed 's/^.* \(\/[^ ]*\) [A-Za-z].*$/\1/'`

Naturally, sed fails do to its magic when the mount point does not start with
a slash here. As I'm a bit unsure whether this is a bug or a user
misconfiguration (what are slash-less entries supposed to do, really?), I'm
leaving it open, waiting for user response. :-)

/* Steinar */
Homepage: http://www.sesse.net/

Reply to: