#253925 libnss-db: critique of libnss implementation - SE/Linux shows quite serious issues

Package:
libnss-db
Source:
libnss-db
Description:
NSS module for using Berkeley Databases as a naming service
Submitter:
Luke Kenneth Casson Leighton
Date:
2026-10-28 18:29:03 UTC
Severity:
wishlist
#253925#5
Date:
2004-06-11 22:58:33 UTC
From:
To:
please see http://www.coker.com.au/selinux/tweaks.html,
section of which, for libnss:

	libnss-db requires that all programs get access to the database
	directory (/var/lib/misc by default) and the files under it. The
	policy could be adjusted to assign etc_t to the directory
	containing those files, and the cron job used to rebuild the
	databases would need to be granted write access to etc_t.

	However I have not bothered doing this as nss-db on Linux still
	has issues due to having no mechanism for automatic updates
	and for the applications to determine whether the flat-file
	or the db has the most current data.

	If the Linux implementation was as good as the AIX
	implementation then I would sort this out. However I don't
	feel inclined to write policy for something that has so many
	problems (and which does not actually give a performance
	benefit in the vast majority of systems).

my wishlist item is please could the issues in libnss-db be
sorted out, such that a decent SE/Linux security policy can
be written for this program!

thank you,

l.

#253925#10
Date:
2005-05-17 15:35:20 UTC
From:
To:
I see some patch in Fedora distribution with SE Linux support.

http://cvs.fedora.redhat.com/viewcvs/rpms/nss_db/devel/nss_db-2.2-selinux.patch?rev=1.3&view=auto


How it resolves the problem with libnss-db?

#253925#15
Date:
2026-10-28 18:27:40 UTC
From:
To:
Dear submitter,

as the package libnss-db has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1151561

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)