Bug 115848 - New sort of RequiredStart
Summary: New sort of RequiredStart
Status: VERIFIED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: RC 1
Hardware: All Linux
: P5 - None : Enhancement
Target Milestone: ---
Assignee: Dr. Werner Fink
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-08 12:44 UTC by Jan Engelhardt
Modified: 2008-07-16 17:33 UTC (History)
0 users

See Also:
Found By: Beta-Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Engelhardt 2005-09-08 12:44:55 UTC
the init.d infos should have a field to define the order,
e.g. something like RequiredStart, but without really needing it and only
serving as an order mark.

E.g. /etc/init.d/syslog: CURRENTLY
RequiredStart: $network
COULD BE:
MustComeAfter: $network

This is because syslog does not need 'network', only the lo interface, which is
already set up during boot.localnet.
Comment 1 Dr. Werner Fink 2005-09-08 12:53:07 UTC
No it must not.  Think twice you really do not need this.
and therefore the LSB specs do not define this.

Btw: The syslog _reqires_ networkl to be able to log
over network to a remote log server, compare with
the manual of syslogd.
Comment 2 Jan Engelhardt 2005-09-08 13:06:35 UTC
Well this wasnot related to syslog really. The feature request is basically to
have a field to define depencendies. If these dependencies are not started,
that's ok, but the boot order is important. Not for syslog, but for general apps.
Comment 3 Dr. Werner Fink 2005-09-08 13:14:12 UTC
Believe me: the kausal order is always correct, if you switch
between cause and impact you'll get the backward order.
Think about make and Makefiles.
Comment 4 Jan Engelhardt 2005-09-08 14:43:32 UTC
I do not know what you wanted to say by that, but to put it concretely:       

I've got my firewall which currently has

  RequiredStart: $network named

named, because it resolves hostnames. However, there are also linux clients
without a named and just libresolv (/etc/resolv.conf), therefore, the "named"  
in the RequiredStart would be a hindrance. Resolving would work anyway because
of the properly setup resolv.conf.
Comment 5 Dr. Werner Fink 2005-09-08 14:47:50 UTC
Use Should-Start