id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,fix_version,see_also 730,debathena-nsswitch-config should divert initctl to unset NSS_NONLOCAL_IGNORE,andersk,,"debathena-nsswitch-config should divert /sbin/initctl with a wrapper that unsets NSS_NONLOCAL_IGNORE, so that Upstart jobs started by a dpkg postinst don’t wind up inside NSS_NONLOCAL_IGNORE-land. The same wrapper that’s used for /usr/sbin/invoke-rc.d won’t quite work because it doesn’t preserve argv[0], and {{{ -rwxr-xr-x 1 root root 113992 2010-08-12 16:53 /sbin/initctl lrwxrwxrwx 1 root root 7 2010-08-13 13:40 /sbin/reload -> initctl lrwxrwxrwx 1 root root 7 2010-08-13 13:40 /sbin/restart -> initctl lrwxrwxrwx 1 root root 7 2010-08-13 13:40 /sbin/start -> initctl lrwxrwxrwx 1 root root 7 2010-08-13 13:40 /sbin/status -> initctl lrwxrwxrwx 1 root root 7 2010-08-13 13:40 /sbin/stop -> initctl }}} but this should work: {{{ #!/bin/bash unset NSS_NONLOCAL_IGNORE exec -a ""$0"" /sbin/initctl ""$@"" }}} ",defect,closed,normal,The Distant Future,--,invalid,,,,