* Autofs Error Messages
@ 2009-06-18 15:02 Thanh Tran
2009-06-18 16:49 ` Jeff Moyer
2009-06-18 16:53 ` Ian Kent
0 siblings, 2 replies; 4+ messages in thread
From: Thanh Tran @ 2009-06-18 15:02 UTC (permalink / raw)
To: autofs
I've been having problems w/ automount. It does not detect my usb drive. Looking at the system logs, my kernel seems to see the usb stick insertion just fine. The automount log indicates it's running. I get the following message.
automount[900]: attempting to mount entry /mnt/usbdrive/usbdrive
automount[900]: lookup(program): lookup for usbdrive failed
automount[900]: failed to mount /mnt/usbdrive/usbdrive
The auto.master:
/mnt/usbdrive /etc/auto.usbdrive
The auto.usbdrive:
usbdrive -fstype=vfat,uid=500,gid=500,umask=002 :/dev/sdb1
I've done a quick internet search on the issue and the advice I got was to check the auto.usbdrive file. It seems OK to me. Any other suggestions? Thanks in advance.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Autofs Error Messages
2009-06-18 15:02 Autofs Error Messages Thanh Tran
@ 2009-06-18 16:49 ` Jeff Moyer
2009-06-18 16:53 ` Ian Kent
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Moyer @ 2009-06-18 16:49 UTC (permalink / raw)
To: Thanh Tran; +Cc: autofs
Thanh Tran <ttran7700@yahoo.com> writes:
> I've been having problems w/ automount. It does not detect my usb
> drive. Looking at the system logs, my kernel seems to see the usb
> stick insertion just fine. The automount log indicates it's running.
> I get the following message.
>
> automount[900]: attempting to mount entry /mnt/usbdrive/usbdrive
> automount[900]: lookup(program): lookup for usbdrive failed
> automount[900]: failed to mount /mnt/usbdrive/usbdrive
>
> The auto.master:
>
> /mnt/usbdrive /etc/auto.usbdrive
>
> The auto.usbdrive:
> usbdrive -fstype=vfat,uid=500,gid=500,umask=002 :/dev/sdb1
>
> I've done a quick internet search on the issue and the advice I got
> was to check the auto.usbdrive file. It seems OK to me. Any other
> suggestions? Thanks in advance.
Hmm, second report of this sort of thing. Does a chmod -x of
/etc/auto.usbdrive make things work?
Cheers,
Jeff
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Autofs Error Messages
2009-06-18 15:02 Autofs Error Messages Thanh Tran
2009-06-18 16:49 ` Jeff Moyer
@ 2009-06-18 16:53 ` Ian Kent
1 sibling, 0 replies; 4+ messages in thread
From: Ian Kent @ 2009-06-18 16:53 UTC (permalink / raw)
To: Thanh Tran; +Cc: autofs
Thanh Tran wrote:
> I've been having problems w/ automount. It does not detect my usb
> drive. Looking at the system logs, my kernel seems to see the usb
> stick insertion just fine. The automount log indicates it's running.
> I get the following message.
>
> automount[900]: attempting to mount entry /mnt/usbdrive/usbdrive
> automount[900]: lookup(program): lookup for usbdrive failed
> automount[900]: failed to mount /mnt/usbdrive/usbdrive
>
> The auto.master:
>
> /mnt/usbdrive /etc/auto.usbdrive
>
> The auto.usbdrive: usbdrive -fstype=vfat,uid=500,gid=500,umask=002
> :/dev/sdb1
>
> I've done a quick internet search on the issue and the advice I got
> was to check the auto.usbdrive file. It seems OK to me. Any other
> suggestions? Thanks in advance.
Looks like /etc/auto.usbdrive is executable and autofs is trying to
execute it instead of reading it.
Ian
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Autofs Error Messages
@ 2009-06-18 17:15 Thanh Tran
0 siblings, 0 replies; 4+ messages in thread
From: Thanh Tran @ 2009-06-18 17:15 UTC (permalink / raw)
To: autofs
The execute bit was set on the file. I chmod -x and it works now. Thanks.
--- On Thu, 6/18/09, Ian Kent <raven@themaw.net> wrote:
> From: Ian Kent <raven@themaw.net>
> Subject: Re: [autofs] Autofs Error Messages
> To: "Thanh Tran" <ttran7700@yahoo.com>
> Cc: autofs@linux.kernel.org
> Date: Thursday, June 18, 2009, 12:53 PM
> Thanh Tran wrote:
> > I've been having problems w/ automount. It does
> not detect my usb
> > drive. Looking at the system logs, my kernel
> seems to see the usb
> > stick insertion just fine. The automount log
> indicates it's running.
> > I get the following message.
> >
> > automount[900]: attempting to mount entry
> /mnt/usbdrive/usbdrive
> > automount[900]: lookup(program): lookup for usbdrive
> failed
> > automount[900]: failed to mount
> /mnt/usbdrive/usbdrive
> >
> > The auto.master:
> >
> > /mnt/usbdrive /etc/auto.usbdrive
> >
> > The auto.usbdrive: usbdrive
> -fstype=vfat,uid=500,gid=500,umask=002
> > :/dev/sdb1
> >
> > I've done a quick internet search on the issue and the
> advice I got
> > was to check the auto.usbdrive file. It seems OK
> to me. Any other
> > suggestions? Thanks in advance.
>
> Looks like /etc/auto.usbdrive is executable and autofs is
> trying to
> execute it instead of reading it.
>
> Ian
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-18 17:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-18 15:02 Autofs Error Messages Thanh Tran
2009-06-18 16:49 ` Jeff Moyer
2009-06-18 16:53 ` Ian Kent
-- strict thread matches above, loose matches on Subject: below --
2009-06-18 17:15 Thanh Tran
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.