Re: Possible bug in multiple packages
On Fri, 3 Sep 1999, Alex Shnitman wrote:
> On Thu, Sep 02, 1999 at 04:59:17PM -0400, Johnie Ingram wrote:
>
> > David> of packages. sendmail, along with several other packages, sets
> >
> > Sendmail too has the problem of ambiguity, the executableness of
> > /usr/sbin/sendmail doesn't necessarily mean the init.d script should
> > run. Maybe it could check for someting in /usr/lib/sendmail instead of
> > docs.
>
> Perhaps /etc/sendmail.cf?
That really doesn't do it either, since you might want to have a
sendmail.cf even if you don't want the daemon to run. (e.g. if you use
the DH macro)
HP-UX uses the idea of having an /etc/config.d/<package> file for each of
the scripts in /etc/init.d/ (well, in their case, /sbin/init.d). Every
init.d file sources the config.d file, which is merely a set of shell
variables. The file has a well known syntax. One of these variables is
START_SERVICE or something like that. If it == 0, then nothing runs.
This is how the network interfaces are configured, etc. The sysadmin
knows to only modify the /etc/config.d files, and to leave the init.d
stuff alone. Administration tools do the same.
IMO, a system like this won't solve everything, but would go a long way
towards making Debian more comfortable.
tony@mancill.com | After all is said and done,
http://www.debian.org | a heck of a lot more is said than done.
| (fortune)
Reply to: