From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] busybox/syslogs: use update-alternatives for syslog selection
Date: Mon, 10 May 2010 10:30:31 +0200 [thread overview]
Message-ID: <20100510083031.GB3188@jama> (raw)
In-Reply-To: <4BE42BFB.2020806@dresearch.de>
On Fri, May 07, 2010 at 05:04:27PM +0200, Steffen Sledz wrote:
> > Configuring busybox-syslog.
> > update-rc.d: /etc/init.d/syslog: file does not exist
> > update-alternatives: Linking //etc/init.d/syslog to syslog.busybox
>
> Are you sure that you run the patched version? It looks like
> running a version without touch in pkg_preinst.
Yes I'm sure.
Both reported problems are the same with PATCHv2.
Not sure why now I see also Permission denied (but maybe it was the same with PATCHv1).
SHR root@gojama ~ $ opkg remove busybox-syslog
Removing package busybox-syslog from root...
update-alternatives: removing //etc/init.d/syslog as no more alternatives exist for it
//usr/lib/opkg/info/busybox-syslog.prerm: line 6: /etc/init.d/syslog: Permission denied
Collected errors:
* pkg_run_script: prerm script returned status 126.
SHR root@gojama ~ $ opkg install busybox-syslog
Installing busybox-syslog (1.15.3-r28.1.4) to root...
Downloading http://jama.homelinux.org/org.openembedded.shr/armv4t/busybox-syslog_1.15.3-r28.1.4_armv4t.ipk.
Configuring busybox-syslog.
System startup links for /etc/init.d/syslog already exist.
/usr/sbin/update-rc.d: line 237: /etc/rc5.d/S20syslog: Permission denied
update-alternatives: Error: not linking //etc/init.d/syslog to syslog.busybox since //etc/init.d/syslog exists and is not a link
Collected errors:
* pkg_run_script: postinst script returned status 1.
* opkg_configure: busybox-syslog.postinst returned 1.
>
> > ...
> >> -INITSCRIPT_NAME = "sysklogd"
> >> -INITSCRIPT_PARAMS = "start 39 S 1 2 3 . stop 99 0 6 ."
> >
> > params not needed anymore?
>
> Fall back to the defaults like in all the other syslog recipes.
OK.
--
uin:136542059 jid:Martin.Jansa@gmail.com
Jansa Martin sip:jamasip@voip.wengo.fr
JaMa
next prev parent reply other threads:[~2010-05-10 8:34 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-06 6:04 All the syslogs Steffen Sledz
2010-05-06 6:13 ` Koen Kooi
2010-05-07 7:46 ` Steffen Sledz
2010-05-07 10:59 ` Steffen Sledz
2010-05-07 11:09 ` Martin Jansa
2010-05-07 13:02 ` Steffen Sledz
2010-05-07 13:08 ` Martin Jansa
2010-05-07 14:04 ` Steffen Sledz
2010-05-07 14:20 ` [PATCH] busybox/syslogs: use update-alternatives for syslog selection Steffen Sledz
2010-05-07 14:49 ` Martin Jansa
2010-05-07 15:04 ` Steffen Sledz
2010-05-10 8:30 ` Martin Jansa [this message]
2010-05-07 14:58 ` Martin Jansa
2010-05-07 15:08 ` Steffen Sledz
2010-05-07 15:34 ` [PATCH v2] " Steffen Sledz
2010-05-07 14:52 ` All the syslogs Martin Jansa
2010-05-12 12:10 ` [PATCH v3] busybox/syslogs: use update-alternatives for syslog selection Steffen Sledz
2010-05-12 12:21 ` Martin Jansa
2010-05-12 12:50 ` [PATCH v4] " Steffen Sledz
2010-05-13 18:55 ` Sledz, Steffen
2010-05-17 11:11 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100510083031.GB3188@jama \
--to=martin.jansa@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox