Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398257 - systemd migration to /usr prefix prevents rsyslog from starting
Summary: systemd migration to /usr prefix prevents rsyslog from starting
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-09 14:48 UTC by Philipp Reinkemeier
Modified: 2012-01-21 16:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Reinkemeier 2012-01-09 14:48:03 UTC
While upgrading systemd to =sys-apps/systemd-37-r2, /bin/systemd and /bin/systemctl are now under /usr/bin/systemd and /usr/bin/systemctl.
However, the rsyslog.service file assumes /bin/systemctl in order to stop systemd-kmsg-syslogd.service.
A possible fix is to also add a symlink /bin/systemctl -> /usr/bin/systemctl to the systemd ebuild for compatibility. The rsyslog.service file could also be fixed, but there might be other packages as well depending on /bin/systemctl file.

Reproducible: Always

Steps to Reproduce:
1. Upgrade systemd to =sys-apps/systemd-37-r2
2. Start your box
3. Watch rsyslog fail to start
Actual Results:  
rsyslog.service does not start

Expected Results:  
rsyslog.service starts successfully
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-10 18:17:52 UTC
Eh, ugly, very ugly. This 'ExecStartPre=' is like going back to random shell scripts and calling internal hacks to make them work. I will make the symlink but that's only a short-term solution. With current systemd git, that service no longer exists.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-01-21 16:20:51 UTC
(the symlink has been made)