[Bug 488696] Re: syntax error in nsswitch config near [ syntax error ]

Brian Murray brian at ubuntu.com
Fri Oct 5 19:51:10 UTC 2012


Hello karaluh, or anyone else affected,

Accepted autofs5 into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/autofs5/5.0.6-0ubuntu5.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: autofs5 (Ubuntu Precise)
       Status: Triaged => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/488696

Title:
  syntax error in nsswitch config near [ syntax error ]

Status in “autofs” package in Ubuntu:
  Fix Released
Status in “autofs5” package in Ubuntu:
  Invalid
Status in “base-files” package in Ubuntu:
  Invalid
Status in “autofs5” source package in Precise:
  Fix Committed
Status in “base-files” source package in Precise:
  Invalid
Status in “autofs” source package in Quantal:
  Fix Released
Status in “base-files” source package in Quantal:
  Invalid
Status in “autofs5” package in Debian:
  Fix Released

Bug description:
  [IMPACT]

  By default installed autofs, fails to parse the default/unmodified
  nsswitch.conf and hence does not fall back to files stanza. The parser
  fails if it doesn't find automount stanza in the nsswitch.conf, and by
  default there isn't one on Debian/Ubuntu systems. The fix is to change
  the flex parser to accept nsswitch.conf without an automount stanza as
  a valid configuration file (empty from the autofs point of view) which
  then makes is gracefully fallback to the files stanza as expected.

  [TESTCASE]

   * Install autofs package
   * Notice "syntax erro in nsswitch config new near [ syntax error ]" in syslog
   * Update package
   * Notice that autofs starts, and mounts (if any) configured in /etc/auto.master are mounted.   
   * There is no syntax error from autofs in the syslog
   
  [Regression Potential] 

   * If system administrator configured automoun in the nsswitch.conf, that behaviour is preserved and still supported.
   * Previously expected default fallback behaviour did not work, i.e. mounts defined in auto.master with no changes to nsswitch.conf, but now do. 

  [Other Info]
   
   * A similar patch has been applied in Debian

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs/+bug/488696/+subscriptions




More information about the foundations-bugs mailing list