Bug#645971: unattended-upgrades: dpkg-reconfigure fails to remove or modify 20auto-upgrades

2011-10-24 Thread Michael Vogt
On Wed, Oct 19, 2011 at 09:38:50PM -0400, Mike Eldridge wrote:
 Package: unattended-upgrades
 Version: 0.62.2
 Severity: important

Thanks for your bugreport. 
 
 I'm building a number of preseeds for a large deployment I'll soon be
 undertaking.  As part of the deployment, I'm looking at employing this
 package for automated security updates.  When using dpkg-reconfigure to
 enable the upgrades, I see output indicating that 20auto-upgrades has
 been created in /etc/apt.conf/d.  The contents of that file are:
 
   APT::Periodic::Update-Package-Lists 1;
   APT::Periodic::Unattended-Upgrade 1;
 
 If I execute dpkg-reconfigure and select to NOT automatically install
 updates, this file is unmodified.  If I remove the package, the file
 remains as well.  Only a purge removes the file.  I'm not sure if that
 is a problem or not; I suspect that the missing unattended-upgrade
 script would prevent the update.
[..]

The debconf question was originally designed to have a starting point
configuration. But I agree that its not really intuitive so I added
support for disabling into bzr now. This will be part of the next
update and enable/disable should work.

Cheers,
 Michael



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#645971: unattended-upgrades: dpkg-reconfigure fails to remove or modify 20auto-upgrades

2011-10-19 Thread Mike Eldridge
Package: unattended-upgrades
Version: 0.62.2
Severity: important


I'm building a number of preseeds for a large deployment I'll soon be
undertaking.  As part of the deployment, I'm looking at employing this
package for automated security updates.  When using dpkg-reconfigure to
enable the upgrades, I see output indicating that 20auto-upgrades has
been created in /etc/apt.conf/d.  The contents of that file are:

APT::Periodic::Update-Package-Lists 1;
APT::Periodic::Unattended-Upgrade 1;

If I execute dpkg-reconfigure and select to NOT automatically install
updates, this file is unmodified.  If I remove the package, the file
remains as well.  Only a purge removes the file.  I'm not sure if that
is a problem or not; I suspect that the missing unattended-upgrade
script would prevent the update.

At best, this behavior is counterintuitive.  I'm unable to find any
reference to the debconf entry enable_auto_updates in any of the files
distributed with the package, so I am assuming that 20auto-upgrades is
the only switch that this functionality has.  If so, this appears to be
a rather glaring bug preventing users from disabling automatic updates.

Note that the affected system was a system deployed via preseed.

-- System Information:
Debian Release: 6.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages unattended-upgrades depends on:
ii  apt   0.8.10.3+squeeze1  Advanced front-end for dpkg
ii  apt-utils 0.8.10.3+squeeze1  APT utility programs
ii  debconf [debconf-2.0] 1.5.36.1   Debian configuration management sy
ii  lsb-release   3.2-23.2squeeze1   Linux Standard Base version report
ii  python2.6.6-3+squeeze6   interactive high-level object-orie
ii  python-apt0.7.100.1+squeeze1 Python interface to libapt-pkg
ii  ucf   3.0025+nmu1Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
ii  bsd-mailx  8.1.2-0.20100314cvs-1 simple mail user agent

-- debconf information:
* unattended-upgrades/enable_auto_updates: false



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org