Skip to contentSkip to conversation

Autofs Error Messages

DISCUSSION Thanh Tran 3 participants 3 messages Jun 18, 2009 Kernel automounter

lore
Share & tools
lore

Thanh Tran

author
#0 lore raw

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.

#1 lore raw
Quoted 11 lines · Thanh Tran

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:

Quoted 8 lines

/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

maintainer
#2 lore raw
In reply to Thanh Tran
Quoted 11 lines · Thanh Tran

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:

Quoted 8 lines

/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