Le Thu, Jul 24, 2014 at 01:43:32PM +0200, Bill Allombert a écrit : > On Thu, Jul 24, 2014 at 10:30:29AM +0000, Debian Bug Tracking System wrote: > > > > > > This is the directory and files wo package dependency: > > > /etc/.java > > > /etc/environment > > > /etc/.pwd.lock > > > /etc/subgid > > > /etc/subuid > > > Comamnd is dpkg -S files_on_siscussion > > > > this is expected: packages can create configuration files through their > > maintainer scripts. > > I do not think this is the case for any of the files in the above list, > except maybe /etc/environment.
Hi Bill, Codesesarch to the rescue: * http://codesearch.debian.net/search?q=%2Fetc%2F.java java-common_0.52/debian/java-common.postinst:7 case "$1" in configure) [ -d /etc/.java ] || mkdir -m 755 /etc/.java [ -d /etc/.java/.systemPrefs ] || mkdir -m 755 /etc/.java/.systemPrefs if [ ! -f /etc/.java/.systemPrefs/.system.lock ]; then * http://codesearch.debian.net/search?q=%2Fetc%2Fsubgid shadow_1:4.2-2/debian/changelog:76 * Update documentation of UMASK: Explain that USERGROUPS_ENAB will modify this default for UPGs. (Closes: #583971) * login.postinst: install a default /etc/subuid and /etc/subgid * fix installation of setuid/setgid/newuidmap/newgid/map man pages shadow_1:4.2-2/debian/login.postinst:36 fi if [ ! -e /etc/subgid ]; then touch /etc/subgid chown root:root /etc/subgid For /etc/.pwd.lock, it does not seem to be created at installation time, but the file is not unknown to glibc and pam, and the Policy does not mandate that /etc shall be read-only. * http://codesearch.debian.net/search?q=%2Fetc%2F.pwd.lock glibc_2.19-7/shadow/lckpwdf.c:32 /* Name of the lock file. */ #define PWD_LOCKFILE "/etc/.pwd.lock" /* How long to wait for getting the lock before returning with an pam_1.1.8-3/modules/pam_unix/lckpwdf.-c:33 #endif #define LOCKFILE "/etc/.pwd.lock" #define TIMEOUT 15 Cheers, -- Charles -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: https://lists.debian.org/[email protected]

