Bug 78412

Summary: Remove the redundant out-of-date dbus.socket symlink
Product: dbus Reporter: Geunsik Lim <geunsik.lim>
Component: coreAssignee: D-Bus Maintainers <dbus>
Status: RESOLVED FIXED QA Contact: Lennart Poettering <lennart>
Severity: trivial    
Priority: low CC: geunsik.lim, j-zero.hwang, lennart, msniko14
Version: 1.5Keywords: patch
Hardware: All   
OS: All   
Whiteboard: review?
i915 platform: i915 features:
Attachments: Remove the redundant out-of-date dbus.socket symlink

Description Geunsik Lim 2014-05-07 23:59:44 UTC
Created attachment 98648 [details]
Remove the redundant out-of-date dbus.socket symlink

Previously, Lennart Poettering submitted two dbus.socket files
for Systemd on Jul-09-2010 as follows.
* title: systemd: install systemd socket and service file by default
* patches: http://cgit.freedesktop.org/dbus/dbus/commit/?
		id=bffc52a38536dfe400a6b5219ee44465c9b817b9 )

Recently, i checked two dbus.socket symlinks at /usr/lib/systemd/system/
from fedora 20.
fedora20#> find  /usr/lib/systemd/system -name dbus.socket
/usr/lib/systemd/system/dbus.socket
/usr/lib/systemd/system/dbus.target.wants/dbus.socket (*)
 --> We don't need this directory including the dbus.socket (symlink file)
/usr/lib/systemd/system/sockets.target.wants/dbus.socket

There same two symbolic files redundantly in /lib/systemd/system/ folder.
Systemd supports /usr/lib/systemd/system/sockets.target.wants/ to manage
socket files is called *.socket. Actually, we don't need
"/lib/systemd/system/dbus.target.wants/" directory including
the dbus.socket (symlink file). Above all, there are not "dbus.target" file
in "/lib/systemd/system/" directory
for /usr/lib/systemd/system/dbus.target.wants/ rule.

Let's remove unnecessary ./dbus.target.wants/ folder including dbus.socket
Comment 1 Simon McVittie 2014-06-11 10:27:15 UTC
Lennart, is it your intention that dbus.target is obsolete and should go away?
Comment 2 Simon McVittie 2015-11-07 12:05:04 UTC
(In reply to Simon McVittie from comment #1)
> Lennart, is it your intention that dbus.target is obsolete and should go
> away?

Answered in person: yes.
Comment 3 Simon McVittie 2015-11-07 12:13:33 UTC
Fixed in git for 1.11.0.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.