[Bug 1623398] Re: Missing dependancy for dbus

Manfred Hampl 1623398 at bugs.launchpad.net
Fri Sep 16 17:40:15 UTC 2016


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.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1623398

Title:
  Missing dependancy for dbus

Status in update-manager package in Ubuntu:
  Confirmed

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
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=14.04
  DISTRIB_CODENAME=trusty
  DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1623398/+subscriptions



More information about the foundations-bugs mailing list