/etc/cron.daily/apt spurious error message when dbus stopped
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apt
I like to run my system with dbus stopped (but I still have dbus installed). I get a daily e-mail warning:
/etc/cron.
Failed to open connection to system message bus: Failed to connect to socket /var/run/
This deluge of useless warnings has made me ignore all cron-originated mail, ultimately leading to loss of data (the daily backup system wasn't working, and I didn't realize it).
The following snippet in /etc/cron.daily/apt should redirect output to /dev/null, so that dbus-send errors are ignored:
if which dbus-send >/dev/null; then
Surely dbus-send errors are not something to bother the admin about, right?
Related branches
Changed in apt: | |
status: | New → Confirmed |
1592. By Paul Sladen <email address hidden> 10 hours ago
* Have 'cron.daily/apt' send D-Bus doesn't exist error messages
to the bit bucket. Thanks to 'dasdda'. (LP: #115397)