package/rsyslog: fix wrong symlink for systemd service
PATCH 1/1 package/rsyslog: fix wrong symlink for systemd service
The symlink to /etc/systemd/system/syslog.service was pointing 4 levels up to /usr/lib instead of 3 levels up.
This wasn't an issue on the actual system (/../ equals to / ) but was causing a deadlink in the TARGET directory.
--- package/rsyslog/rsyslog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/rsyslog/rsyslog.mk +1 -1
@@ -91,7 +91,7 @@ define RSYSLOG_INSTALL_INIT_SYSTEMD mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rsyslog.service - ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \ + ln -sf ../../../usr/lib/systemd/system/rsyslog.service \ $(TARGET_DIR)/etc/systemd/system/syslog.service endef
Signature · 1 line
2.7.4
Arnout Vandecappelle
AppliedPATCH 1/1 package/rsyslog: fix wrong symlink for systemd service
Quoted 7 lines · Petr Kulhavy
The symlink to
/etc/systemd/system/syslog.servicewas pointing 4 levels up to/usr/libinstead of 3 levels up.This wasn't an issue on the actual system (/../ equals to / ) but was causing a deadlink in the TARGET directory.
Signed-off-by Petr Kulhavy <[email protected]>
Applied to master, thanks.
Regards,
Arnout
Quoted 18 lines
--- package/rsyslog/rsyslog.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/rsyslog/rsyslog.mk +1
-1@@ -91,7 +91,7 @@ define RSYSLOG_INSTALL_INIT_SYSTEMD mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/rsyslog.service - ln -sf ../../../../usr/lib/systemd/system/rsyslog.service \ + ln -sf ../../../usr/lib/systemd/system/rsyslog.service \ $(TARGET_DIR)/etc/systemd/system/syslog.service endef
Signature · 6 lines
Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
PATCH 1/1 package/rsyslog: fix wrong symlink for systemd service
In reply to Petr KulhavyQuoted 9 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Petr" == Petr Kulhavy <[email protected]> writes:
The symlink to
/etc/systemd/system/syslog.servicewas pointing 4 levels up to/usr/libinstead of 3 levels up.This wasn't an issue on the actual system (/../ equals to / ) but was causing a deadlink in the TARGET directory.
Signed-off-by Petr Kulhavy <[email protected]>
Committed to 2017.08.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard