[Libguestfs] [PATCH] sysprep: handle distro specific sysv scripts

Olaf Hering olaf at aepfle.de
Thu Dec 12 14:01:07 UTC 2013


On Thu, Dec 12, Pino Toscano wrote:

> On Thursday 12 December 2013 14:49:36 Olaf Hering wrote:
> > On Thu, Dec 12, Pino Toscano wrote:
> > > What do you think?
> > 
> > I think that your Should-Start handling is broken. Required means the
> > given file can not properly work without the listed servers, insserv
> > will error out. Should means it can very well work without them if
> > they are not present or enabled. Otherwise the given file has to be
> > scheduled after the listed services.
> 
> Sure, and I said there's no guarantee that the firstboot command can 
> work without any of the other system services.
> What if my command requires the system time to be set, but it is 
> scheduled by insserv before $time is available?

$all should imply $time. But looking at the patch again, there is
appearently no insserv involved. Its just a hardcoded ln command.
So why is the script not exectued at the very end in your setup?


Olaf




More information about the Libguestfs mailing list