Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1024690: libnss-unknown: should install NSS service via dh_installnss

19 views
Skip to first unread message

Gioele Barabucci

unread,
Nov 23, 2022, 5:00:04 AM11/23/22
to
Package: libnss-unknown
Version: 0.0.2-2
Tags: patch

The maintscripts of `libnss-unknown` install and remove the `unknown`
NSS service into `/etc/nsswitch.conf` using fragile Perl scripts.

It would be better if `libnss-unknown` used the declarative NSS
installation service provided by `dh_installnss`.

A patch that converts `libnss-unknown` to `dh_installnss` is available at

https://salsa.debian.org/debian/libnss-unknown/-/merge_requests/4

Regards,

--
Gioele Barabucci

Gioele Barabucci

unread,
Mar 7, 2023, 10:00:04 AM3/7/23
to
Dear Ritesh,

a friendly reminder about this bug and the associated patch.

libnss-unknown is the last package in Debian that does not use the
dh_installnss and modifies /etc/nsswitch.conf via maintscripts.

The patch at
https://salsa.debian.org/debian/libnss-unknown/-/merge_requests/4
(refreshed for 0.0.2-3) fixes this issue.

Could you please merge this and upload a new package, so that the
transition to dh_installnss will be completed in time for Bookworm?

Regards,

--
Gioele Barabucci

Ritesh Raj Sarraf

unread,
Apr 12, 2023, 4:12:28 AM4/12/23
to
Hello Gioele,
THank you for the patch. I'll merge it now. Not sure if it'll make the
cut to Bookworm but that can be dealt with separately.


--
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System
signature.asc

Ritesh Raj Sarraf

unread,
Apr 12, 2023, 4:32:20 AM4/12/23
to
This is now done.

I had some problems getting it uploaded via ftp.

$ dput libnss-unknown_0.0.2-4_source.changes
Trying to upload package to ftp-master (ftp.upload.debian.org)
Checking signature on .changes
gpg: /home/rrs/NoBackup/Community/Packaging/libnss-unknown_0.0.2-4_source.changes: Valid signature from A63A58A3F2E17569
Checking signature on .dsc
gpg: /home/rrs/NoBackup/Community/Packaging/libnss-unknown_0.0.2-4.dsc: Valid signature from A63A58A3F2E17569
Uploading to ftp-master (via ftp to ftp.upload.debian.org):
Uploading libnss-unknown_0.0.2-4.dsc: 229 Extended Passive Mode Entered (|||10968|).


But luckily ssh upload worked proper.

$ dput ssh-upload libnss-unknown_0.0.2-4_source.changes
Checking signature on .changes
gpg: /home/rrs/NoBackup/Community/Packaging/libnss-unknown_0.0.2-4_source.changes: Valid signature from A63A58A3F2E17569
Checking signature on .dsc
gpg: /home/rrs/NoBackup/Community/Packaging/libnss-unknown_0.0.2-4.dsc: Valid signature from A63A58A3F2E17569
Uploading to ssh-upload (via scp to ssh.upload.debian.org):
ms: Failure (2) searching keyserver pool.sks-keyservers.net for user id 'ssh://ssh.upload.debian.org'
The authenticity of host 'ssh.upload.debian.org (<no hostip for proxy command>)' can't be established.
ED25519 key fingerprint is SHA256:/2BewgKzUVkFOkgYWwf4g6PAwWA6F6xBGHk1Nu5+k00.
This key is not known by any other names.
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'ssh.upload.debian.org' (ED25519) to the list of known hosts.
libnss-unknown_0.0.2-4.dsc 100% 1956 5.0KB/s 00:00
libnss-unknown_0.0.2-4.debian.tar.xz 100% 2220 4.4KB/s 00:00
libnss-unknown_0.0.2-4_source.buildinfo 100% 6401 13.6KB/s 00:00
libnss-unknown_0.0.2-4_source.changes 100% 2417 6.3KB/s 00:00
Successfully uploaded packages.
signature.asc
0 new messages