Skip to contentSkip to conversation

syslog-ng: increase u-a priority to 200

PATCH In review Steffen Sledz 2 participants 3 messages Oct 8, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 syslog-ng: increase u-a priority to 200

Priority for update-alternatives was 50 before which was the same like the one for busybox-syslog. Resulting order now is:

* 300 rsyslogd
* 200 syslog-ng
* 100 sysklogd
* 50 busybox-syslog

---
 recipes/syslog-ng/syslog-ng.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/syslog-ng/syslog-ng.inc +1 -1
index fbe9adf..e58f1ea 100644
@@ -22,7 +22,7 @@ do_install_append() {
 CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"
 
 pkg_postinst_${PN} () {
-        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 50
+        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200
 
         if test "x$D" != "x"; then
                 OPT="-r $D"
Signature · 1 line
1.7.1
Acked-by on v1 1/1
#1 lore raw
Quoted 9 lines · Steffen Sledz

Priority for update-alternatives was 50 before which was the same like the one for busybox-syslog. Resulting order now is:

* 300 rsyslogd
* 200 syslog-ng
* 100 sysklogd
* 50 busybox-syslog

please bump INC_PR with it

Quoted 20 lines
---
 recipes/syslog-ng/syslog-ng.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
recipes/syslog-ng/syslog-ng.inc +1 -1
index fbe9adf..e58f1ea 100644
@@ -22,7 +22,7 @@ do_install_append() {
 CONFFILES_${PN} = "${sysconfdir}/${PN}.conf"
 
 pkg_postinst_${PN} () {
-        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 50
+        update-alternatives --install ${sysconfdir}/init.d/syslog syslog-init syslog.${PN} 200
 
         if test "x$D" != "x"; then
                 OPT="-r $D"
Signature · 1 line
1.7.1
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

Am 08.10.2010 14:21, schrieb Martin Jansa:

Quoted 9 lines · Steffen Sledz
Quoted 8 lines

Priority for update-alternatives was 50 before which was the same like the one for busybox-syslog. Resulting order now is:

* 300 rsyslogd
* 200 syslog-ng
* 100 sysklogd
* 50 busybox-syslog

Quoted 5 lines
Quoted 1 line

please bump INC_PR with it

Bumped and pushed. ;-)

Signature · 8 lines
Steffen Sledz
DResearch Digital Media Systems GmbH
Otto-Schmirgal-Str.3, D-10319 Berlin, Germany
Tel: +49 (30) 515932237 mailto:[email protected]
Fax: +49 (30) 515932299 http://www.DResearch.DE
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 54412;
Ust.-IDNr. DE169013825; WEEE Reg.-Nr. DE 85995642