Re: Antwort: Re: [Cooker] rpmlint: incoherent subsys ?

2000-09-20 Thread Guillaume Cottenceau

[EMAIL PROTECTED] writes:

> Sure, but since $SQUID is only going to be set to "squid", this is no problem.

No.. ;-)

Since $SQUID is only going to be set to squid, you have to replace $SQUID
by squid in the var/lock/subsys filename.

 


-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Antwort: Re: [Cooker] rpmlint: incoherent subsys ?

2000-09-20 Thread alexander . skwar



Sure, but since $SQUID is only going to be set to "squid", this is no problem.




Guillaume Cottenceau <[EMAIL PROTECTED]> on 20.09.2000 12:10:35

Bitte antworten an [EMAIL PROTECTED]

An:   [EMAIL PROTECTED]
Kopie: (Blindkopie: Alexander Skwar/de/delphiauto)
Thema:    Re: [Cooker] rpmlint: incoherent subsys ?



Alexander Skwar <[EMAIL PROTECTED]> writes:

> On Tue, Sep 19, 2000 at 09:37:09PM +0200, Guillaume Cottenceau wrote:
> > The subsys file for each service is tested to be the same name as the
> > service name.
>
> Ah, okay, so it can be ignored as well.  Thanks.

No of course not!!

It's very important to have the same name for subsys as the name for
initscript, since this is the way to know when change of runlevel if a
service has to be started or if it's already started.

Before, when you were in runlevel 5 and you were issueing "init 3", 5-10
services were starting but they were already running.

Now that we have fixed most of them when you do so, no services shall be
re-started anymore.



--
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/











Re: [Cooker] rpmlint: incoherent subsys ?

2000-09-20 Thread Guillaume Cottenceau

Alexander Skwar <[EMAIL PROTECTED]> writes:

> On Tue, Sep 19, 2000 at 09:37:09PM +0200, Guillaume Cottenceau wrote:
> > The subsys file for each service is tested to be the same name as the
> > service name.
> 
> Ah, okay, so it can be ignored as well.  Thanks.

No of course not!!

It's very important to have the same name for subsys as the name for
initscript, since this is the way to know when change of runlevel if a
service has to be started or if it's already started.

Before, when you were in runlevel 5 and you were issueing "init 3", 5-10
services were starting but they were already running.

Now that we have fixed most of them when you do so, no services shall be
re-started anymore.



-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Re: [Cooker] rpmlint: incoherent subsys ?

2000-09-19 Thread Alexander Skwar

On Tue, Sep 19, 2000 at 09:37:09PM +0200, Guillaume Cottenceau wrote:
> The subsys file for each service is tested to be the same name as the
> service name.

Ah, okay, so it can be ignored as well.  Thanks.

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191




Re: [Cooker] rpmlint: incoherent subsys ?

2000-09-19 Thread Guillaume Cottenceau

Alexander Skwar <[EMAIL PROTECTED]> writes:

> Hi!
> 
> I wanted to make a new squid package, and rpmlint tells me:
> 
> E: squid incoherent-subsys /etc/init.d/squid $SQUID
> 
> What's that?

The subsys file for each service is tested to be the same name as the
service name.

For ex. /etc/rc.d/init.d/squid  -->  /var/lock/subsys/squid


Obviously here rpmlint complains because the value is not statically set
to "squid", but is set to $SQUID which can take virtually many values.




-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




[Cooker] rpmlint: incoherent subsys ?

2000-09-19 Thread Alexander Skwar

Hi!

I wanted to make a new squid package, and rpmlint tells me:

E: squid incoherent-subsys /etc/init.d/squid $SQUID

What's that?

Alexander Skwar
-- 
Homepage:   http://www.digitalprojects.com | http://www.dp.ath.cx
Sichere Mail?   Mail an [EMAIL PROTECTED] fuer GnuPG Keys
ICQ:7328191