Package: libnss-unknown
Version: 0.0.2-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Maintainer,

I tried installing libnss-unknown in a docker container running
debian buster-slim. This had no effect, and the unknown service was not
added to /etc/nsswitch.conf.

Here is my /etc/nsswitch.conf file after installing libnss-unknown:

 # /etc/nsswitch.conf
 #
 # Example configuration of GNU Name Service Switch functionality.
 # If you have the `glibc-doc-reference' and `info' packages installed, try:
 # `info libc "Name Service Switch"' for information about this file.

 passwd:         files
 group:          files
 shadow:         files
 gshadow:        files

 hosts:          files dns
 networks:       files

 protocols:      db files
 services:       db files
 ethers:         db files
 rpc:            db files

 netgroup:       nis

After looking at the packaging files, I noticed that the postinst script
depends on the presence of the keyword 'compat' in the list of services
(2nd column), for the database names 'group' and 'passwd' (1st column).

In my case, no 'compat' service, but 'files' instead. Hence the postrm
script did nothing when I installed libnss-unknown.

I think the postinst script should be reworked to not depend on the
specific 'compat' value, and should instead just add the 'unknown'
value.

Regards,

  Arnaud

-----BEGIN PGP SIGNATURE-----

iQJTBAEBCgA9FiEE0Kl7ndbut+9n4bYs5yXoeRRgAhYFAlw++5ofHGFybmF1ZC5y
ZWJpbGxvdXRAY29sbGFib3JhLmNvbQAKCRDnJeh5FGACFvrOD/49mhx56i4hKKfk
lJPGB0DLGIU/IZQu6cO0m++R8VwJr0IsW61CLYCUelFZhLkKcLFn5uVmKXKdj2vL
CgLrLu4uU2xtV7LQc6aYiz/kpUrh3KIeVRzOnUHZpd1ubGIxZUM45gCO7TlOugA3
Na5TKq3OD+aWXZjx3xEyw6rrd9bGcTR5Xdw6xJLbhY9paM0XGsYefyRETfHmETrW
J/yAzWtL4mQlcal7Yi8HIvQKUSLfc+U/U4eYkH+VzulD69Da5PnR3Uyr/yCpciuZ
1D4n3FKT7r1Ra9mo3jxL74krwYA0tfmFfS7/2JXtPq4XgrqoB4B9ZZFekocnxBVf
u0+qPasgsX7BbA62ZNgY+vmOtpzdbtzXdPSm8hWzH4VbjH4pogbcIz3MloCTrcMg
yVfc6fEepiIeQV9bLA/oeMDJ7kJr8LaXDZRrREc+Lnd2B6vYF0qOWcT4I2Bx5wpq
6HDNpY8Mwrq1t23XPGwRsGf+V8FYqUHh4q/BnO/OjgropUSFqPCHCk9J+kDDVph7
eOlKOQn+a/Vq+8ndrsPoPi10+1wT7zTyk6fr5vPPr3mPyiL4gLcQb0AJ7oU92Im9
lY0oZ20dyNMdlachEUZO5KdVVyh92m7V5ix00cp+lsQWcOYT1ZRKZPIPSwJwdepW
E5dvyvhsrBQcSsvVIok5cQMx+6kIBA==
=SydO
-----END PGP SIGNATURE-----

Reply via email to