Re: Parellel boot and audit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Colin Walters wrote:
On Tue, Apr 1, 2008 at 3:05 PM, Harald Hoyer <harald@xxxxxxxxxx> 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.

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux