FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 07-03-2008, 09:02 PM
Iñaki Baz Castillo
 
Default Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)

El Jueves, 3 de Julio de 2008, Raphael Hertzog escribió:

> I'm reluctant to change the default behaviour of start-stop-daemon at this
> point. What do other people think of making --oknodo the default behaviour
> and adding a new option to force the current default behaviour (exit with
> failure if nothing had to be done)?
>
> The alternative is to change policy and/or lintian to ensure that packages
> are using --oknodo unless they have a good reason not to.
>
> > [1] LSB specifications about init script actions:
> > http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/
> >LSB-Core-generic/iniscrptact.html

I think being LSB compliant is good for Debian.

Also, sincerely I think nobody gives importance to the return code of init
scripts ("1" in case of starting an already started service) because most of
people start services manually or they are started when the system swithes
on, so return code is not so important.

But in case of service daemon (as HeartBeat that handles when to start or stop
a service) these return code becomes important and being LSB compliant is,
IMHO, the best way.

Just my opinion. Regards.


--
Iñaki Baz Castillo


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-05-2008, 09:41 AM
Marc Haber
 
Default Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)

On Sat, Jul 05, 2008 at 10:58:35AM +0200, Raphael Hertzog wrote:
> THanks, I could come up with a transition plan myself if needed. But
> compare your suggestions with: "someone goes over all init scripts, file
> bugs and in lenny+1 we're done".

That'll cause tremendous pain for backporters. I'm opposed.

Greetings
Marc

--
-----------------------------------------------------------------------------
Marc Haber | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-05-2008, 10:58 AM
Roger Leigh
 
Default Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)

Raphael Hertzog <hertzog@debian.org> writes:

> On Sat, 05 Jul 2008, Marc Haber wrote:
>> On Sat, Jul 05, 2008 at 10:58:35AM +0200, Raphael Hertzog wrote:
>> > THanks, I could come up with a transition plan myself if needed. But
>> > compare your suggestions with: "someone goes over all init scripts, file
>> > bugs and in lenny+1 we're done".
>>
>> That'll cause tremendous pain for backporters. I'm opposed.
>
> You're opposed to what? Fixing non-policy compliant init script?
>
> I think you misunderstood. I don't want to change the default behaviour
> of start-stop-daemon and as such, there's no need for any transition.

Couldn't the default be changed once all init scripts have been fixed
up?


--
.'`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
 
Old 07-06-2008, 10:39 AM
Marc Haber
 
Default Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)

On Sat, 5 Jul 2008 12:13:27 +0200, Raphael Hertzog
<hertzog@debian.org> wrote:
>On Sat, 05 Jul 2008, Marc Haber wrote:
>> On Sat, Jul 05, 2008 at 10:58:35AM +0200, Raphael Hertzog wrote:
>> > THanks, I could come up with a transition plan myself if needed. But
>> > compare your suggestions with: "someone goes over all init scripts, file
>> > bugs and in lenny+1 we're done".
>>
>> That'll cause tremendous pain for backporters. I'm opposed.
>
>You're opposed to what?

Reversing s-s-d's behavior from lenny to lenny+1.

>I think you misunderstood. I don't want to change the default behaviour
>of start-stop-daemon and as such, there's no need for any transition.

I see...

Greetings
Marc

--
-------------------------------------- !! No courtesy copies, please !! -----
Marc Haber | " Questions are the | Mailadresse im Header
Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/
Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 07-07-2008, 03:17 PM
Vincent Danjean
 
Default Bug#426877: dpkg: Option "--oknodo" should be the default behaviour for "start-stop-daemon" (LSB specs)

Marc Haber wrote:
> On Sat, Jul 05, 2008 at 10:58:35AM +0200, Raphael Hertzog wrote:
>> THanks, I could come up with a transition plan myself if needed. But
>> compare your suggestions with: "someone goes over all init scripts, file
>> bugs and in lenny+1 we're done".
>
> That'll cause tremendous pain for backporters. I'm opposed.

My main idea (with or without trasition plan) is to have an option (for
example --no-oknodo) in lenny allowing maintainer to tell he wants the
current behavior of start-stop-deamon.

Whether warning are generated or not, bugs filled or not, lintian complains
or not, default behavior changed or not, ... is not really important for my
point of view (and can be decided after lenny) *iff* the option already
exists in lenny (else, we will have to wait for lenny+1)

Regards,
Vincent
--
Vincent Danjean GPG key ID 0x9D025E87 vdanjean@debian.org
GPG key fingerprint: FC95 08A6 854D DB48 4B9A 8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo: deb http://perso.debian.org/~vdanjean/debian unstable main


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:16 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org