Public bug reported:

Binary package hint: unattended-upgrades

DISCLAIMER: I don't code python, and don't usually post patches. So
please bear with me if I stick my foot in my mouth.

BACKGROUND: I have unattended-upgrades running on edgy with a well-
working setup. apache2-common didn't get upgraded automatically. Only
when I turned on debug logging I discovered this was because it had
"conffile prompt". To run unattended-upgrade with debug logging, I had
to edit the appropriate line in /etc/cron.daily/apt.

PATCH:
I propose a new config option "Unattended-Upgrade::Debug" which I set to "1" in 
my /etc/apt/apt.conf.d/50unattended-upgrades.

Now, I modified the /etc/cron.daily/apt script to respect this option
and launch unattended-upgrade with the --debug option. I have files a
parallell "bug" report including simple patch to the apt package, as the
cron script belongs to that package. I am posting here also in case you
think it should rather be fixed in /usr/bin/unattended-upgrade.

** Affects: unattended-upgrades (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Config option to enable debug logging
https://bugs.launchpad.net/bugs/133551
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to