Missing dependancy for dbus

Bug #1623398 reported by Robert Hooper
This bug affects 4 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)

Bug Description

The UpdateManager.Core.UpdateList function loads in "/var/lib/dbus/machine-id" to generate a unique seed.

This file should be provided by dbus, simply installing dbus fixes the issue (or touching the missing file). However there is no dependency for dbus.

I found this issue when running the apt-check script on a server with outstanding packages to install and without dbus installed.

My Server:
Linux 3.13.0-79-generic #123-Ubuntu SMP Fri Feb 19 14:27:58 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Tags: trusty
tags: added: trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Manfred Hampl (m-hampl) wrote :

Newer versions of UpdateManager.Core.UpdateList (in python3-update-manager) try reading /etc/machine-id first and only fall back to /var/lib/dbus/machine-id, but the trusty version unconditionally opens /var/lib/dbus/machine-id (and fails if dbus is not installed and consequently that file does not exist).
I do not think that backporting this change will be sufficient, because you cannot guarantee that /etc/machine-id exists on a trusty system.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.