FS#14474 - [autofs] syntax error in nsswitch config near [ syntax error ]
Attached to Project:
Community Packages
Opened by Michael Schmarck (mschmarck) - Monday, 27 April 2009, 07:03 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 13 January 2012, 15:59 GMT
Opened by Michael Schmarck (mschmarck) - Monday, 27 April 2009, 07:03 GMT
Last edited by Alexander F. Rødseth (xyproto) - Friday, 13 January 2012, 15:59 GMT
|
Details
Description:
When I start autofs, the following is shown in syslog: Apr 27 08:56:50 winnb000488 automount[7624]: syntax error in nsswitch config near [ syntax error ] Searching the net, I foundautofs@linux.kernel.org/msg06181.html"> http://www.mail-archive.com/autofs@linux.kernel.org/msg06181.html which refers to http://git.kernel.org/?p=linux/storage/autofs/autofs.git;a=commitdiff;h=b8e06337764df00b30901c7787e0d1861c2f9901 If I don't misunderstand things, then there's a patch which makes this error go away. Until it is applied, the workaround to add to /etc/nsswitch.conf automount:files works for me. Additional info: * package version(s) Name : autofs Version : 5.0.4-4 --($ /)-- pacman -Qo /etc/nsswitch.conf /etc/nsswitch.conf ist in filesystem 2009.01-1 enthalten * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Alexander F. Rødseth (xyproto)
Friday, 13 January 2012, 15:59 GMT
Reason for closing: No response
Additional comments about closing: No response for 56 days. Please re-open this bug if this is still an issue.
Friday, 13 January 2012, 15:59 GMT
Reason for closing: No response
Additional comments about closing: No response for 56 days. Please re-open this bug if this is still an issue.
i'm using 5.0.4-4, I don't have the automount entry in nsswitch, but i get no such errors in my syslog when stop/starting autofs.
(the line in question is supposed to replace auto.net, see https://bugzilla.redhat.com/show_bug.cgi?id=197824 and http://bbs.archlinux.org/viewtopic.php?id=71219 Too bad it's so hard to find documentation about this)
=> problem still exists. with latest autofs (5.0.5-3) :((
[1] http://git.kernel.org/?p=linux/storage/autofs/autofs.git
[2] git://git.kernel.org/pub/scm/linux/storage/autofs/autofs.git
I used the pkgbuild from abs, but modified it to use git. (so the sed command and the same configure flags are in there)
using stock configuration.. same error as before..
here's the autofs-git pkgbuild:
http://sprunge.us/eMgJ
but http://www.autofs.org/autofs-man.html mentions autofs(at)linux.kernel.org . is that the one?
removed all old configs, installed it again, started daemon, and guess what...
/var/log/everything.log:8896:Aug 13 21:29:49 dieter-ws automount[26442]: syntax error in nsswitch config near [ syntax error ]
> There were major changes to the kernel automount code in the 2.6.38 and
> there have been a number of corrections along the way, with this patch
>being the last one for known problems.
> I recommend staying with 2.6.37 until 3.1 is available.
I guess we'll soon find out..