Bug#783321: systemd opens file in /var/run and not in /run
Michael Biebl
biebl at debian.org
Sat Apr 25 23:36:09 BST 2015
Control: reassign -1 dbus
Am 26.04.2015 um 00:05 schrieb Dmitry Katsubo:
> Package: systemd
> Version: 215-16
>
> Hello,
>
> I run Debian jessie in single mode (recovery mode). In this mode I would
> like to start gpm service:
>
> # /etc/init.d/gpm start
>
> Afterwards the process systemd opens a file in /var/run, thus not
> allowing me to unmount /var:
>
> # lsof | grep /var
> systemd 1 root 25u unix 0xf4760300 0t0 24111
> /var/run/dbus/system_bus_socket
>
> Expected:
>
> systemd opens a file in /run, thus allowing the administrator to umount
> and e.g. repair /var volume.
This socket is opened by systemd on behalf of dbus via
$ cat /lib/systemd/system/dbus.socket
[Unit]
Description=D-Bus System Message Bus Socket
[Socket]
ListenStream=/var/run/dbus/system_bus_socket
Re-assigning to dbus.
Dmitry, can you also post the dbus version you are using?
Simon, do you expect any breakage if we move the socket file to /run?
/var/run should typically be a symlink to /var/run, so it should still
be accessible under the old name. There might be setups's though, where
/var/run is not a symlink to /run, but I don't know if we support such
non-symlink configurations.
According to codesearch [1], we have quite a few locations where
"/var/run/dbus/system_bus_socket" is hard-coded.
[1] http://codesearch.debian.net
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150426/db839372/attachment-0005.sig>
More information about the Pkg-systemd-maintainers
mailing list