[Pkg-shadow-devel] Bug#598442: passwd backup script in cron.daily fails with files not found

Christoph Kling christoph at familiekling.de
Tue Sep 28 22:47:03 UTC 2010


Subject: passwd backup script in cron.daily fails with files not found
Package: passwd
Version: 1:4.1.4.2+svn3283-1
Severity: normal

The passwd backup script /etc/cron.daily/passwd fails with files not
found because
it tries to copy the original files from /var/backups.

Please see the attached file for a fix.


Regards,
Christoph Kling


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages passwd depends on:
ii  debianutils                   3.4        Miscellaneous utilities
specific t
ii  libc6                         2.11.2-5   Embedded GNU C Library:
Shared lib
ii  libpam-modules                1.1.1-6    Pluggable Authentication
Modules f
ii  libpam0g                      1.1.1-6    Pluggable Authentication
Modules l
ii  libselinux1                   2.0.96-1   SELinux runtime shared
libraries

passwd recommends no packages.

passwd suggests no packages.

-- Configuration Files:
/etc/cron.daily/passwd changed:
cd /var/backups || exit 0
for FILE in passwd group shadow gshadow; do
        test -f /etc/$FILE              || continue
        cmp -s $FILE.bak /etc/$FILE     && continue
        cp -p /etc/$FILE $FILE.bak && chmod 600 $FILE.bak
done


-- no debconf information





More information about the Pkg-shadow-devel mailing list