Config option to enable debug logging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unattended-upgrades (Ubuntu) |
Fix Released
|
Undecided
|
Michael Vogt |
Bug Description
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.
PATCH:
I propose a new config option "Unattended-
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/
See aditional info at the parallel bug report https:/ /bugs.launchpad .net/ubuntu/ +source/ apt/+bug/ 133552
I might be best if it was unattended-upgrade honouring a new config option to produce debug logging, but not debug output to console.