Mounting a Samba-share in fstab does not work

Bug #68913 reported by markba
6
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I've added the following line to /etc/fstab:
//1in01/public /mnt/lin01 auto fmask=0777,dmask=0777 0 0
(previously made /mnt/lin01)

After that, I enter "sudo mount -a" and the following error occurs:
mount: special device //lin01/public does not exist

Issuing "mount" shows that the mount indeed is not activated.

Manual mounting succeeds through the following command:
sudo mount -t smbfs -o fmask=0777,dmask=0777 //lin01/public /mnt/lin01

Detected on Edgy, this is working on Dapper.

markba (mark-baaijens)
description: updated
Revision history for this message
Ralph Janke (txwikinger) wrote :

I can confirm this behaviour. A line in fstab starting with // indicating a filesystem via network is not detected correctly with auto as filesystem. However, with cifs or smbfs it is.

I have tested this on feisty

Revision history for this message
LaMont Jones (lamont) wrote :

if the filesystem type in fstab is set to 'smbfs' instead of 'auto', does that fix the issue?

Revision history for this message
Michal Suchanek (hramrach) wrote :

When I change it to cifs and add the "guest" option and install the smbfs package it works for me.

Revision history for this message
markba (mark-baaijens) wrote :

I changed from the connection line from 'auto' to smbfs, now it is working.
This bug can be closed.

Phillip Susi (psusi)
Changed in util-linux (Ubuntu):
status: Confirmed → Invalid
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.