From: Florian Kirstein <xenlist@custom.ray.net>
To: Xen development list <xen-devel@lists.xensource.com>
Cc: Keir Fraser <keir@xensource.com>
Subject: Re: xendomains init script
Date: Wed, 28 Feb 2007 18:26:00 +0100 [thread overview]
Message-ID: <20070228182600.E27835@web.ray.net> (raw)
In-Reply-To: <C20B477B.A54F%keir@xensource.com>; from keir@xensource.com on Wed, Feb 28, 2007 at 02:51:39PM +0000
Hi,
> Or does that not work?
Exactly. The LSB way does not work on Redhat-based distributions prior
to RHEL5. And that's not /really/ a RH bug, as LSB explicitly allows their
alias implementation, which unfortunately can't be used the way the script
tries to. Really a silly problem caused by the LSB spec allowing aliases.
> Why is the LSB case moved to after the RedHat case? LSB looks like a more
> specific check (it looks for a file with 'lsb' in the path for a start!)
No, LSB is the most generic check, as most distributions have LSB
compliance scripts today. As the script's first check is for SUSE's
/etc/rc.status, it's only logical to check for RedHat's /etc/init.d/functions
second, and only then go for the generic case, LSB. Especially as that
doesn't work on all current RedHat's and causes
/etc/rc.d/init.d/xendomains: line 67: log_success_msg: command not found
errors turning up in all (Fedora, Redhat) bugzillas :)
I don't see any non-redhat Distribution having an /etc/init.d/functions
(which does not implement the RH success and failure function), so it should
cause no problem to move this up, but it will make the problem disappear on
all RH and Fedora Versions out there. And as RHs old LSB implementation
isn't a bug (according to the spec), we have to fix our init script and can't
hope for fixes in older Fedora/RedHat's LSB. See my post last year...
(:ul8er, r@y
next prev parent reply other threads:[~2007-02-28 17:26 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-19 9:44 xendomains init script Kurt Garloff
2005-10-26 17:11 ` Ewan Mellor
2005-10-26 17:27 ` Kurt Garloff
2006-03-30 3:57 ` Florian Kirstein
2006-03-30 4:09 ` Florian Kirstein
2006-03-30 21:21 ` Daniel Veillard
2006-03-31 4:27 ` Florian Kirstein
2007-02-28 5:20 ` Florian Kirstein
2007-02-28 14:51 ` Keir Fraser
2007-02-28 17:26 ` Florian Kirstein [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-10-26 19:05 Ian Pratt
2005-10-26 23:35 ` Chris Bainbridge
2005-10-27 14:15 Ian Pratt
2005-10-27 15:16 ` Chris Bainbridge
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=20070228182600.E27835@web.ray.net \
--to=xenlist@custom.ray.net \
--cc=keir@xensource.com \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.