Legacy directory /var/run in /lib/systemd/system/dbus.socket

Bug #1854314 reported by zika
76
This bug affects 16 people
Affects Status Importance Assigned to Milestone
D-Bus
Fix Released
Unknown
dbus (Debian)
Fix Released
Unknown
dbus (Ubuntu)
Fix Committed
Low
Unassigned

Bug Description

dbus/focal-proposed,now 1.12.16-2ubuntu1 amd64

Re(o)curring after each new upgrade of dbus, for quite some time and still...

$ dmesg|grep accordingly
systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.

Originally:
$cat /lib/systemd/system/dbus.socket
[Unit]
Description=D-Bus System Message Bus Socket

[Socket]
ListenStream=/var/run/dbus/system_bus_socket

After change:
$cat /lib/systemd/system/dbus.socket
[Unit]
Description=D-Bus System Message Bus Socket

[Socket]
ListenStream=/run/dbus/system_bus_socket

Changed in dbus:
status: Unknown → New
Changed in dbus (Debian):
status: Unknown → New
Changed in dbus (Debian):
status: New → Fix Committed
Changed in dbus (Ubuntu):
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
mm (mtl-0) wrote :

Bug still present in current Ubuntu 20.04 beta:
 dmesg|grep accordingly
[ 63.817919] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.

Changed in dbus (Debian):
status: Fix Committed → Fix Released
Revision history for this message
mrvst (maravento) wrote :

Ubuntu 20.04 LTS x64

Apr 26 09:19:11 mrv systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Apr 26 09:19:11 mrv systemd[1]: /lib/systemd/system/squid.service:15: PIDFile= references a path below legacy directory /var/run/, updating /var/run/squid.pid → /run/squid.pid; please update the unit file accordingly.
Apr 26 09:19:11 mrv systemd[1]: /etc/systemd/system/anydesk.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/anydesk.pid → /run/anydesk.pid; please update the unit file accordingly.

Revision history for this message
Michael-250 (michael-250) wrote :

I did change the status by accident. Don't know how to correct it. Sorry.

Changed in dbus (Ubuntu):
status: Fix Committed → Fix Released
Changed in dbus (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Steph B (64bitguy) wrote :

Unresolved as of this date in Ubuntu 20.04/Mint 20.

Regression:

/lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.

Manual fix still necessary to remove /var in:

/lib/systemd/system/dbus.socket:

[Unit]
Description=D-Bus System Message Bus Socket

[Socket]
ListenStream=/run/dbus/system_bus_socket

Revision history for this message
Dan (aninstanceofi) wrote :

I'm experiencing this issue. Awoke this morning to find the docker services down on both my Ubuntu 20.04 servers. I'm running:

Ubuntu 20.04.1 LTS
5.4.0-54-generic kernel

Revision history for this message
Éric Hoffman (ehoffman-videotron) wrote :

Same thing here

...
Dec 1 06:42:11 lx-dev3 containerd[845]: time="2020-12-01T06:42:11.225821304-05:00" level=info msg="Stop CRI service"
Dec 1 06:42:11 lx-dev3 containerd[845]: time="2020-12-01T06:42:11.242385111-05:00" level=info msg="Stop CRI service"
Dec 1 06:42:11 lx-dev3 containerd[845]: time="2020-12-01T06:42:11.253040416-05:00" level=info msg="Event monitor stopped"
Dec 1 06:42:11 lx-dev3 containerd[845]: time="2020-12-01T06:42:11.253082773-05:00" level=info msg="Stream server stopped"
Dec 1 06:42:11 lx-dev3 systemd[1]: containerd.service: Succeeded.
Dec 1 06:42:11 lx-dev3 systemd[1]: Stopped containerd container runtime.
Dec 1 06:42:14 lx-dev3 systemd[1]: Reloading.
Dec 1 06:42:14 lx-dev3 systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Dec 1 06:42:14 lx-dev3 systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
Dec 1 06:42:14 lx-dev3 systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Dec 1 06:42:15 lx-dev3 systemd[1]: Reloading.
Dec 1 06:42:15 lx-dev3 systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
Dec 1 06:42:15 lx-dev3 systemd[1]: /etc/systemd/system/rc-local.service:11: Support for option SysVStartPriority= has been removed and it is ignored
Dec 1 06:42:15 lx-dev3 systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
Dec 1 06:42:15 lx-dev3 systemd[1]: Starting containerd container runtime...
Dec 1 06:42:15 lx-dev3 systemd[1]: Started containerd container runtime.
...

And, after that, instead of having a file
/var/run/docker
I had a file
/var/run/docker=

Changed in dbus:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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