[systemd-bugs] [Bug 85899] New: Duplicate file after creating presets
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Nov 4 23:51:27 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=85899
Bug ID: 85899
Summary: Duplicate file after creating presets
Product: systemd
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: systemd-bugs at lists.freedesktop.org
Reporter: umut at tezduyar.com
QA Contact: systemd-bugs at lists.freedesktop.org
systemd 216:
I have noticed that unit_file_preset_all() in src/core/main.c creates a
duplicate symb link for a rsyslog service. rsyslog.service looks like this:
# cat /usr/lib/systemd/system/rsyslog.service
[Unit]
Description=System Logging Service
[Service]
ExecStartPre=-/bin/systemctl stop systemd-kmsg-syslogd.service
ExecStart=/usr/sbin/rsyslogd -n -c5
Sockets=syslog.socket
StandardOutput=null
[Install]
WantedBy=multi-user.target
Alias=syslog.service
systemd-delta shows that we have extra link popping up in /etc
# systemd-delta
[EQUIVALENT] /etc/systemd/system/syslog.service ->
/usr/lib/systemd/system/syslog.service
1 overridden configuration files found.
And both of the are pointing to the same file:
# readlink /etc/systemd/system/syslog.service
/usr/lib/systemd/system/rsyslog.service
# readlink /usr/lib/systemd/system/syslog.service
rsyslog.service
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20141105/445874ad/attachment.html>
More information about the systemd-bugs
mailing list