Public bug reported:

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.daily/apt:
Failed to open connection to system message bus: Failed to connect to socket 
/var/run/dbus/system_bus_socket: No such file or directory

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
            dbus-send --system / app.apt.dbus.updated boolean:true

Surely dbus-send errors are not something to bother the admin about,
right?

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
/etc/cron.daily/apt spurious error message when dbus stopped
https://bugs.launchpad.net/bugs/115397
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to