Parellel boot and audit

Harald Hoyer harald at redhat.com
Wed Apr 2 05:25:14 UTC 2008


Colin Walters wrote:
> On Tue, Apr 1, 2008 at 3:05 PM, Harald Hoyer <harald at redhat.com> wrote:
>>  Work with the Linux Foundation on a new/revised sane LSB spec?
> 
> There are two separate things here:
> 
> 1) Use LSB for OS-provided init scripts
> 2) Support third-party LSB init scripts
> 
> Now 2) makes sense, but I don't see a lot of value generally in 1) -
> particularly since most of these init scripts are just a big
> copy&paste mess of shell script that can be effectively replaced by a
> single Upstart line like:
> 
> exec /usr/libexec/mydaemon
> 
> To take a concrete example from
> https://bugzilla.redhat.com/show_bug.cgi?id=246884
> This would be the startup script:
> 
> pre-start script
>   if ! /sbin/lsmod | grep -q cachefiles; then modprobe cachefiles; fi
> end script
> exec /sbin/cachefilesd
> 
> 85 lines of shell goo down to 4.  And it'd just be 1 if the logic for
> the kernel module was in the daemon itself (as I would argue it should
> be).
> 

the initng guys did that already for initng.. have a look at initng-ifiles. All ready and set to go.




More information about the fedora-devel-list mailing list