Comment 20 for bug 488696

Revision history for this message
Paul Smith (psmith-gnu) wrote :

Steve's comment #18 is not correct. Automount was first created in the late 1980's, and when Sun released the first version of name service switch in the early 1990's, it was already being used to manage automount maps. Automount maps have been considered a standard, basic name service ever since, on every version of UNIX that has ever implemented nsswitch.conf.

I think that it's a great idea that autofs be enhanced so that if there's no entry in nsswitch.conf, autofs will not fail but will instead assume "files". However, the bug against base-files is NOT invalid. Automount entries DO belong in nsswitch.conf and the standard value is "automount: files nis" and this should be preserved in Ubuntu.

I agree that _ideally_ someone would modify libc to support "/etc/nsswitch.d" and individual packages (like autofs) could add their own files there containing name service switch configuration. However, until that day comes please add back the automount entry to nsswitch.conf in base-files. The fact that it's not there is a legitimate bug.