Skip to contentSkip to conversation

rsyslog: fix name of syslogd ua group

PATCH New Steffen Sledz 2 participants 4 messages Feb 27, 2015 – Mar 3, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rsyslog: fix name of syslogd ua group

(backport from master)

All the other syslogd implementations use 'syslogd' as update alternatives group name. So rsyslogd should use this too.

---
 meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb +3 -3
index aeca09a..7593dfb 100644
@@ -125,10 +125,10 @@ INITSCRIPT_PARAMS = "defaults"
 # higher than sysklogd's 100
 ALTERNATIVE_PRIORITY = "110"
 
-ALTERNATIVE_${PN} = "rsyslogd syslog-conf syslog-logrotate"
+ALTERNATIVE_${PN} = "syslogd syslog-conf syslog-logrotate"
 
-ALTERNATIVE_LINK_NAME[rsyslogd] = "${base_sbindir}/syslogd"
-ALTERNATIVE_TARGET[rsyslogd] = "${sbindir}/rsyslogd"
+ALTERNATIVE_LINK_NAME[syslogd] = "${base_sbindir}/syslogd"
+ALTERNATIVE_TARGET[syslogd] = "${sbindir}/rsyslogd"
 ALTERNATIVE_LINK_NAME[syslog-conf] = "${sysconfdir}/syslog.conf"
 ALTERNATIVE_TARGET[syslog-conf] = "${sysconfdir}/rsyslog.conf"
 ALTERNATIVE_LINK_NAME[syslog-logrotate] = "${sysconfdir}/logrotate.d/syslog"
Signature · 1 line
2.3.0
#1 lore raw

PATCH 1/1 rsyslog: fix name of syslogd ua group

(backport from master)

All the other syslogd implementations use 'syslogd' as update alternatives group name. So rsyslogd should use this too.

---
 meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb +3 -3
index aeca09a..7593dfb 100644
@@ -125,10 +125,10 @@ INITSCRIPT_PARAMS = "defaults"
 # higher than sysklogd's 100
 ALTERNATIVE_PRIORITY = "110"
 
-ALTERNATIVE_${PN} = "rsyslogd syslog-conf syslog-logrotate"
+ALTERNATIVE_${PN} = "syslogd syslog-conf syslog-logrotate"
 
-ALTERNATIVE_LINK_NAME[rsyslogd] = "${base_sbindir}/syslogd"
-ALTERNATIVE_TARGET[rsyslogd] = "${sbindir}/rsyslogd"
+ALTERNATIVE_LINK_NAME[syslogd] = "${base_sbindir}/syslogd"
+ALTERNATIVE_TARGET[syslogd] = "${sbindir}/rsyslogd"
 ALTERNATIVE_LINK_NAME[syslog-conf] = "${sysconfdir}/syslog.conf"
 ALTERNATIVE_TARGET[syslog-conf] = "${sysconfdir}/rsyslog.conf"
 ALTERNATIVE_LINK_NAME[syslog-logrotate] = "${sysconfdir}/logrotate.d/syslog"
Signature · 1 line
2.3.0
#2 lore raw
Quoted 19 lines · Steffen Sledz

(backport from master)

All the other syslogd implementations use 'syslogd' as update alternatives group name. So rsyslogd should use this too.

---
 meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb +0 -0
index aeca09a..7593dfb 100644
@@ -125,10 +125,10 @@ INITSCRIPT_PARAMS = "defaults"
 # higher than sysklogd's 100
 ALTERNATIVE_PRIORITY = "110"
 

meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb INITSCRIPT_PARAMS = "defaults" · line 134

Quoted 10 lines
meta-oe/recipes-extended/rsyslog/rsyslog_7.4.4.bb +3 -3
-ALTERNATIVE_${PN} = "rsyslogd syslog-conf syslog-logrotate"
+ALTERNATIVE_${PN} = "syslogd syslog-conf syslog-logrotate"
 
-ALTERNATIVE_LINK_NAME[rsyslogd] = "${base_sbindir}/syslogd"
-ALTERNATIVE_TARGET[rsyslogd] = "${sbindir}/rsyslogd"
+ALTERNATIVE_LINK_NAME[syslogd] = "${base_sbindir}/syslogd"
+ALTERNATIVE_TARGET[syslogd] = "${sbindir}/rsyslogd"
 ALTERNATIVE_LINK_NAME[syslog-conf] = "${sysconfdir}/syslog.conf"
 ALTERNATIVE_TARGET[syslog-conf] = "${sysconfdir}/rsyslog.conf"
 ALTERNATIVE_LINK_NAME[syslog-logrotate] = "${sysconfdir}/logrotate.d/syslog"

Would be great if this patch could make it expeditiously to dizzy

Without this patch it is not possible to use rsyslog without problems because the wrong ua group name leads to running rsyslog and busybox-syslogd in parallel fighting on sockets and other ressources.

Thx,
Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#3 lore raw
Quoted 8 lines · Steffen Sledz
Quoted 7 lines · Steffen Sledz

(backport from master)

All the other syslogd implementations use 'syslogd' as update alternatives group name. So rsyslogd should use this too.

OE: 4151e38933865d9306d027aca0c045d788ca52f3

Signature · 3 lines
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750