hard to find info about init
jim
jim at well.com
Wed Nov 12 05:41:24 UTC 2008
thank you, mike,
that helps. i've looked at the /etc/event.d/
files and found that none of them contain the
string dhcp or dhclient
# grep -i dhcp /etc/event.d/*
# grep -i dhclient /etc/event.d/*
essentially, it seems to me, the files in
/etc/event.d/ kick off init with respect to
one of the rc?.d/ directories, depending on
the runlevel the user has specified.
my system is runlevel 2 and none of the
scripts in /etc/rc2.d/ contain the string
dhclient (or dhcp in either case).
the wiki that's accessible via a tab on
the top-level upstart page has a link to
stanza's, which looks like an API reference:
"This is a list of stanzas that can be used
in a job file...", but it doesn't give the
absolute pathname for the job file.
i'm interpreting "upstart" to be the
name of a set of components, something
like "apache" refers to the httpd server
and its config file and libs and so on.
my test for satisfaction is that i find
a file that init uses (or at least is a
member of the upstart community of software)
and that shows dhclient3 starting up. if
i search and search without finding such,
i'll be guessing that starting up dhclient3
is a matter that it's hard-coded somewhere
(possibly in init binary code) as a
convenience to the developers who forgot
to comment that call out.
On Tue, 2008-11-11 at 19:27 -0800, MJang wrote:
> On Tue, 2008-11-11 at 19:14 -0800, jim wrote:
> > thank you, john.
> > i looked at the upstart page. my ubuntu
> > server (8.04) system doesn't have upstart
> > on it; the ps command shows init as
> > process number 1.
> > so i'm still looking for information
> > about the init process: what files does it
> > reference as it comes up and as it runs?
> > how to configure init?
>
> Dear Jim,
>
> I think John pointed you to that page, here:
> > > http://upstart.ubuntu.com/ is the main page and most of the details can
> > > be found on the wiki - http://upstart.ubuntu.com/wiki/
> > >
>
> While the "init" process still exists, it is part of the Upstart system.
>
> In essence, the files "referenced" by init are in the /etc/event.d/
> directory. Most of these are scripts - groups of commands executed under
> conditions implied in each file - or by the name of the file, such as
> control-alt-delete.
>
> Under the Upstart system, configuring "init" means configuring these
> files.
>
> Thanks,
> Mike
>
>
More information about the ubuntu-server
mailing list