Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14560 - [autofs] 5.0.4-4 doesn't work with current kernel

Attached to Project: Arch Linux
Opened by Petr Mrázek (Peterix) - Saturday, 02 May 2009, 13:07 GMT
Last edited by Roman Kyrylych (Romashka) - Wednesday, 14 October 2009, 17:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
autofs 5.0.4-4 doesn't work with current kernel (or maybe any kernel).

Additional info:
autofs 5.0.4-4
kernel26 2.6.29.1-4

excerpt from daemon.log:
Apr 30 21:10:59 edita automount[7149]: cannot find mount method for filesystem cifs
Apr 30 21:10:59 edita automount[7149]: failed to mount /media/cifs/puclik
Apr 30 21:10:59 edita automount[7150]: cannot find mount method for filesystem cifs
Apr 30 21:10:59 edita automount[7150]: failed to mount /media/cifs/puclik
Apr 30 21:11:00 edita automount[7152]: cannot find mount method for filesystem cifs
Apr 30 21:11:00 edita automount[7152]: failed to mount /media/cifs/puclik
Apr 30 21:11:00 edita automount[7153]: cannot find mount method for filesystem cifs
Apr 30 21:11:00 edita automount[7153]: failed to mount /media/cifs/puclik
Apr 30 21:11:01 edita automount[7154]: cannot find mount method for filesystem cifs
Apr 30 21:11:01 edita automount[7154]: failed to mount /media/cifs/puclik
Apr 30 21:11:01 edita automount[7155]: cannot find mount method for filesystem cifs
Apr 30 21:11:01 edita automount[7155]: failed to mount /media/cifs/puclik
Apr 30 21:11:01 edita automount[7156]: cannot find mount method for filesystem cifs
Apr 30 21:11:01 edita automount[7156]: failed to mount /media/cifs/puclik
Apr 30 21:11:01 edita automount[7157]: cannot find mount method for filesystem cifs
Apr 30 21:11:01 edita automount[7157]: failed to mount /media/cifs/puclik
Apr 30 22:06:07 edita automount[15749]: cannot find mount method for filesystem cifs
Apr 30 22:06:07 edita automount[15749]: failed to mount /media/cifs/puclik
Apr 30 22:06:07 edita automount[15750]: cannot find mount method for filesystem cifs
Apr 30 22:06:07 edita automount[15750]: failed to mount /media/cifs/puclik
Apr 30 23:50:58 edita init: Switching to runlevel: 0
May 1 19:31:22 edita automount[2568]: mount_autofs_indirect: failed to read map for /var/autofs/net
May 1 19:31:22 edita automount[2568]: handle_mounts: mount of /var/autofs/net failed!
May 1 19:31:22 edita automount[2568]: master_do_mount: failed to startup mount
May 1 19:31:15 edita init: Entering runlevel: 5
May 1 19:31:21 edita automount[2568]: syntax error in nsswitch config near [ syntax error ]
May 2 00:06:06 edita init: Switching to runlevel: 0
May 2 06:55:39 edita automount[2559]: mount_autofs_indirect: failed to read map for /var/autofs/net
May 2 06:55:39 edita automount[2559]: handle_mounts: mount of /var/autofs/net failed!
May 2 06:55:39 edita automount[2559]: master_do_mount: failed to startup mount
May 2 06:55:28 edita init: Entering runlevel: 5
May 2 06:55:31 edita automount[2559]: syntax error in nsswitch config near [ syntax error ]
May 2 14:45:57 edita automount[12490]: syntax error in nsswitch config near [ syntax error ]
May 2 14:45:57 edita automount[12490]: mount_autofs_indirect: failed to read map for /var/autofs/net
May 2 14:45:57 edita automount[12490]: handle_mounts: mount of /var/autofs/net failed!

Steps to reproduce:
Use an autofs config like this, it won't mount:
puclik -fstype=cifs,guest,iocharset=utf8,file_mode=0666,dir_mode=0777,uid=peterix,gid=users //192.168.1.5/public

With autofs 4.1.4-7 it will.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Wednesday, 14 October 2009, 17:21 GMT
Reason for closing:  Not a bug
Comment by Dieter Plaetinck (Dieter_be) - Saturday, 13 June 2009, 13:26 GMT
I doubt this has much to do with the kernel used. Did you check it's not just a config syntax change?
autofs 5.0.4-4 works fine on my 2.6.29-ARCH
Comment by Ulf Winkelvos (uwinkelvos) - Thursday, 23 July 2009, 20:40 GMT
although there still is the nsswitch error message, i can mount samba shares by adding a colon right before the share name.

://192.168.1.5/public
Comment by Petr Mrázek (Peterix) - Wednesday, 14 October 2009, 14:31 GMT
Oh. sorry. didn't check this for a while and just continued using the old version.
Everything seems to be fine after changing the config files.

Loading...