[Pkg-sssd-devel] Bug#749722: libsss-sudo: modified /etc/nsswitch.conf after purge

Holger Levsen holger at layer-acht.org
Thu May 29 12:59:41 UTC 2014


Package: libsss-sudo
Version: 1.11.3-1
User: debian-qa at lists.debian.org
Usertags: piuparts piuparts.d.o

Hi, 

during a test with piuparts I noticed your package leaves a modified 
/etc/nsswitch.conf after purge. 

From the attached log (scroll to the bottom...):

0m31.7s ERROR: FAIL: After purging files have been modified:
  /etc/nsswitch.conf	 not owned

I've seen #748671 but this has nothing to do with multiarch, so I decided to 
open a new bug report.

And then I executed this sed command from postinst/postrm manually on my 
machine and this didnt leave /etc/nsswitch.conf modified.

So I manually debootstrapped, kept a copy of nsswitch.conf, installed and 
purged libsss-sudo and voila:

# diff /etc/nsswitch.conf /etc/nsswitch.conf.bak
21d20
< sudoers:        files

(And indeed my machine has no sudoers line in nsswitch.conf, so thats why.)

postinst adds the sudoers line and postrm doesnt remove it.

I'm not sure how to deal with this best. I assume removing the sudoers line is 
safe+correct, if it only has a "files" entry, but I'm not 100% sure.


cheers,
	Holger
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libsss-sudo_1.11.3-1.log
Type: text/x-log
Size: 29181 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sssd-devel/attachments/20140529/c4160f82/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-sssd-devel/attachments/20140529/c4160f82/attachment-0001.sig>


More information about the Pkg-sssd-devel mailing list