Package: apticron
Version: 1.1.27
Severity: minor

The patch included in 1.1.21 was wrong wrt config files
(/etc/cron.d/apticron, /etc/apticron/apticron.conf) permissions. Sorry
for that. Having config files (that don't contain sensitive data) not
readable by everyone is just a way to annoy people.
The simple patch proposed fix this for new installations, but doesn't
for upgrades. IMHO, the preferable (and simplest) way is to add a note
in NEWS.Debian explaining that the sysadmin could change the file
permissions by hand (including files in /var/lib/ucf/).


Thanks,
Gian Piero.

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.UTF8, LC_CTYPE=it_IT.UTF8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages apticron depends on:
ii  apt                0.7.20.2              Advanced front-end for dpkg
ii  bsd-mailx          8.1.2-0.20071201cvs-3 A simple mail user agent
ii  cdebconf [debconf- 0.138lenny2           Debian Configuration Management Sy
ii  debconf [debconf-2 1.5.24                Debian configuration management sy
ii  ucf                3.0016                Update Configuration File: preserv

Versions of packages apticron recommends:
ii  apt-listchanges               2.83       package change history notificatio
ii  iproute                       20080725-2 networking and traffic control too

apticron suggests no packages.

-- debconf information:
* apticron/notification: apticron
Tue Mar  3 18:58:22 CET 2009  "Gian Piero Carrubba" <gpi...@rm-rf.it>
  * Fix configuration files permissions for new installations.
  Ignore-this: 9519c232a52e8977ff7b858ed45309bf
diff -rN -u old-apticron-1.1.28+wip1/debian/postinst 
new-apticron-1.1.28+wip1/debian/postinst
--- old-apticron-1.1.28+wip1/debian/postinst    2009-03-03 22:04:01.000000000 
+0100
+++ new-apticron-1.1.28+wip1/debian/postinst    2009-03-03 22:04:02.000000000 
+0100
@@ -23,6 +23,7 @@
        fi
 
        tmpfile="$( mktemp -t apticron.conf.XXXXXXXXXX )"
+       chmod 0644 "$tmpfile"
 
        cat <<EOF > "$tmpfile"
 # apticron.conf
@@ -94,6 +95,7 @@
        fi
 
        tmpfile="$( mktemp -t apticron.crond.XXXXXXXXXX )"
+       chmod 0644 "$tmpfile"
 
        cat <<EOF >"$tmpfile"
 # cron entry for apticron

Reply via email to