Heyho!

[early init script for qcontrol]

On Friday 15 January 2010 15.39:06 Frans Pop wrote:
> On Wednesday 02 December 2009, Adrian von Bidder wrote:
> > I tried the patch below and adding qcontrol as rcS.d/S00qcontrol, but
> > apparently I made some mistake (or is /var/run not accessible yet?)
> 
> A solution would have to allow for /var or /var/run to be on a separate
> file system, so with the current version of qcontrol that would mean the
> earliest possible point is after local filesystems have been mounted.

Ah.

> However, a new upstream version of qcontrol is being worked on [1]
> introduces a "--direct" mode which does not use the socket file. With
>  that option qcontrol can be run at any time that the command itself and
>  the config file is available.

Cool.  I understand that it's not clear where qcontrol should be called (or 
that, at all, or it could be multiple times....)  If my S00qcontrol early 
script would have worked, I wouldn't have written the bug report ... :-)

For now, I'm happy to wait (can you close this bug when --direct is 
available, so I'll notice?); scripting something after local fs are mounted 
is probably not interesting since this is not a fundamental event in the 
boot process.
 
> There's a few things missing in the new upstream version and work on it
>  is currently stalled, so I'm unsure when it could be uploaded.

Don't hurry on my account.  I'd been happy to have the feature during 
debugging, but the QNAP is now running (all that's missing is upstream 
kernel support.  But tbm was nice enough...)

cheers
-- vbi



> I'm also not sure that I want to add an additional early init script by
> default as different users might have different wishes as to when extra
> signalling should be done, e.g:
> - when initrd is loaded (i.e: include qcontrol in the initrd);
> - when root FS is mounted in initrd;
> - immediately after init is started (your suggestion);
> - after local file systems are mounted;
> - after sshd is started;
> - ...
> 
> My feeling is that it should just be documented how it can be done and
>  then left to the user.
> 
> [1] It also has a proper daemon mode. Experimental version is available
>  in "svn" branches in http://git.debian.org/?p=collab-maint/qcontrol.git.
> 

-- 
Today is Setting Orange, the 15th day of Chaos in the YOLD 3176

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to