Public bug reported:

If I try to start a system without /var or with volatile one,the service
"Create Volatile Files and Directories" fails with

systemd-tmpfiles[23]: symlink(/etc/machine-id, /var/lib/dbus/machine-id)
failed: No such file or directory

If I add the line:

d /var/lib/dbus 0755 - - -

to /lib/tmpfiles.d/dbus.conf everything works.

-----------------------
lsb_release -rd
Description:    Ubuntu 16.04.1 LTS
Release:        16.04

apt-cache policy dbus
dbus:
  Installed: 1.10.6-1ubuntu3
  Candidate: 1.10.6-1ubuntu3
  Version table:
 *** 1.10.6-1ubuntu3 500
        500 http://es.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: dbus (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  If I try to start a system without /var or with volatile one,the service
  "Create Volatile Files and Directories" fails with
  
  systemd-tmpfiles[23]: symlink(/etc/machine-id, /var/lib/dbus/machine-id)
  failed: No such file or directory
  
  If I add the line:
  
  d /var/lib/dbus 0755 - - -
  
  to /lib/tmpfiles.d/dbus.conf everything works.
+ 
+ lsb_release -rd
+ Description:    Ubuntu 16.04.1 LTS
+ Release:        16.04
+ 
+ apt-cache policy dbus
+ dbus:
+   Installed: 1.10.6-1ubuntu3
+   Candidate: 1.10.6-1ubuntu3
+   Version table:
+  *** 1.10.6-1ubuntu3 500
+         500 http://es.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
+         100 /var/lib/dpkg/status

** Description changed:

  If I try to start a system without /var or with volatile one,the service
  "Create Volatile Files and Directories" fails with
  
  systemd-tmpfiles[23]: symlink(/etc/machine-id, /var/lib/dbus/machine-id)
  failed: No such file or directory
  
  If I add the line:
  
  d /var/lib/dbus 0755 - - -
  
  to /lib/tmpfiles.d/dbus.conf everything works.
  
+ -----------------------
  lsb_release -rd
  Description:    Ubuntu 16.04.1 LTS
  Release:        16.04
  
  apt-cache policy dbus
  dbus:
-   Installed: 1.10.6-1ubuntu3
-   Candidate: 1.10.6-1ubuntu3
-   Version table:
-  *** 1.10.6-1ubuntu3 500
-         500 http://es.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: 1.10.6-1ubuntu3
+   Candidate: 1.10.6-1ubuntu3
+   Version table:
+  *** 1.10.6-1ubuntu3 500
+         500 http://es.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
+         100 /var/lib/dpkg/status

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

Title:
  dbus.conf tmpfiles.d file dont populate /var/lib/dbus

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dbus/+bug/1616939/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to