[Debian] Re: Bug#576227: insserv: warning: script is corrupt or invalid: /etc/init.d/../rc6.d/S00vzreboot

Ola Lundqvist opal at debian.org
Sat Apr 3 08:04:28 EDT 2010


Hi Christian

On Sat, Apr 03, 2010 at 11:13:38AM +0200, Christian Hofstaedtler wrote:
> Hi Ola,
> 
> * Ola Lundqvist <opal at debian.org> [100402 00:49]:
> > I have never used insserv myself. Can you send me your
> > S00vzreboot file? I need to determine why it considers it to be
> > corrupt.
> 
> Squeeze seems to install insserv by default, so this was not my choice ;-)
> 
> > From the source in squeeze it looks like it generates the following file:
> > #!/bin/bash
> > > /reboot

Ok. Creates a /reboot file. It must have some function in openvz to reboot it.

> Lenny version generates this:
> 
>    # cat /etc/init.d/../rc6.d/S00vzreboot
>    #!/bin/bash
>    >//reboot

Ok. Both has same function.

> > And that is about it. It is understandable if insserv considers it to be
> > corrupt. On the other hand, it is really just an empty file so maybe
> > insserv should be changed here.
> > 
> > It would be possible to generate more in that script so that insserv determines
> > that this is something empty and ignores it.
> 
> This is probably the right thing to do, even if it exposes something which looks 
> like a hack even more.

Yes. I'm checking with upstream now.

// Ola

> Thanks,
> Christian
> 
> -- 
> christian hofstaedtler
> 
> 
> 

-- 
 --------------------- Ola Lundqvist ---------------------------
/  opal at debian.org                     Annebergsslingan 37      \
|  ola at inguza.com                      654 65 KARLSTAD          |
|  http://inguza.com/                  +46 (0)70-332 1551       |
\  gpg/f.p.: 7090 A92B 18FE 7994 0C36  4FE4 18A1 B1CF 0FE5 3DD9 /
 ---------------------------------------------------------------


More information about the Debian mailing list