Ok, sorry to bring this up again -- while the dhcpcd daemon starts correctly up, on system shutdown, it is killed too early, making the rpc.portmapd spitting out alot of error messages.
This time you'll find the output of "ngc -L" attached.
Thanks alot for reviewing.
Eric
------ Original Message ------
Sender: Eric MSP Veith <[EMAIL PROTECTED]>
Recipient: [email protected]
Date: Monday 24 July 2006 03:19
Subject: Re: [Initng] Network/DHCP and InitNG
>Hello,
>
>oh well, I am ashamed! Adding "provide = virtual/net/${NAME} virtual/net;"
> to dhcpcd.i of course solved the problem. Thank's for your answer! :-) I
> think the output of ngc -L is superfluous, then?
>
>Another question: I want to use InitNG on a server, which has three nics.
> Two of them are statically configured (these are the ones he "serves"), but
> the third connects him to another subnet where he acts like a client and
> gets its IP via DHCP. The problem is, that it mounts a NFS share from
>the "client-subnet". I know that this isn't a good architecture, but I want
>to keep this as an example for my consideration.
>
>I would, to meet my needs, add net/eth0 and net/eth1 as
> statically-configured devices, and daemon/dhcpcd/eth2 for the third
> mentioned interface.
>system/netmount depends on virtual/net, which is provided by net/eth0,
>net/eth1 and daemon/dhcpcd.i. What would satisfy its dependency:
>
>(a) Either one of net/eth0, net/eth1 and daemon/dhcpcd, or
>(b) All three, which means that all have to start up before system/netmount?
>
>The problem with (a) is that system/netmount.i could start right after
>net/eth0, but before daemon/dhcpcd.
>
>Generally spoken, are service providers connected via OR or via AND?
>
>Regards,
> EMSPV
>
>------ Original Message ------
>Sender: Ismael Luceno <[EMAIL PROTECTED]>
>Recipient: [email protected]
>Date: Monday 24 July 2006 02:49
>Subject: Re: [Initng] Network/DHCP and InitNG
>
>>Eric MSP Veith escribió:
>>> The DHCP link is the only one I use with this particular machine. If I
>>> add daemon/dhcpcd/eth0 (and net/eth0, which just quits with returncode 0,
>>> since the interface is configured via DHCP), system/netmount (which
>>> mounts my /home directories) happens to be started *before*
>>> daemon/dhcpcd/eth0 runs. That's why I began editing the dhcpcd.i and
>>> net.i scripts adding these "virtual/dhcp/${NAME}" entries.
>>>
>>> Perhaps I misunderstood something? Should I stop adding net/eth0 if I use
>>> daemon/dhcpcd? But net.i is the only script providing virtual/net to, for
>>> example, daemon/portmap?
>>
>>If you modify the dhcpcd script to put the interface up, then you should
>>add "provide = virtual/net" to dhcpcd.i too.
>>
>>> Honestly spoken, I am confused, too. I thought I understood how use
>>> and "provide = virtual/blah" works. :-/
>>
>>It's very simple:
>>
>>When a service that provides some other is started, that provided service
>>is put in the DB, then when the service provider is up, the provided
>>service gets the PROVIDED status.
hh:mm:ss T service : status ---------------------------------------------------------------- 14:04:37 R default : START_MARKED 14:04:36 D daemon/acpid : DAEMON_START_MARKED 14:04:36 S system/bootmisc : SERVICE_START_MARKED 14:04:36 V system/initial : START_MARKED 14:04:36 S system/initial/loglevel : SERVICE_START_MARKED 14:04:36 S system/initial/mountvirtfs : SERVICE_START_MARKED 14:04:36 S system/initial/filldev : SERVICE_START_MARKED 14:04:36 S system/mountfs : SERVICE_START_MARKED 14:04:36 S system/mountroot : SERVICE_START_MARKED 14:04:36 S system/mountroot/rootrw : SERVICE_START_MARKED 14:04:36 S system/mountroot/check : SERVICE_START_MARKED 14:04:36 S system/checkfs : SERVICE_START_MARKED 14:04:36 S daemon/acpid/modules : SERVICE_START_MARKED 14:04:36 D daemon/syslogd : DAEMON_START_MARKED 14:04:36 V system : START_MARKED 14:04:36 V daemon/agetty : START_MARKED 14:04:36 D daemon/agetty/2 : DAEMON_START_MARKED 14:04:36 D daemon/agetty/3 : DAEMON_START_MARKED 14:04:36 D daemon/agetty/4 : DAEMON_START_MARKED 14:04:36 D daemon/agetty/5 : DAEMON_START_MARKED 14:04:36 D daemon/agetty/6 : DAEMON_START_MARKED 14:04:36 S net/lo : SERVICE_START_MARKED 14:04:36 S system/clock : SERVICE_START_MARKED 14:04:36 S system/consolefont : SERVICE_START_MARKED 14:04:36 S system/keymaps : SERVICE_START_MARKED 14:04:36 S system/sysctl : SERVICE_START_MARKED 14:04:36 S system/hostname : SERVICE_START_MARKED 14:04:36 S system/modules : SERVICE_START_MARKED 14:04:36 S system/swap : SERVICE_START_MARKED 14:04:36 V system/udev : START_MARKED 14:04:36 S system/udev/filldev : SERVICE_START_MARKED 14:04:36 D system/udev/udevd : DAEMON_START_MARKED 14:04:36 S system/udev/mountdev : SERVICE_START_MARKED 14:04:36 S system/udev/set_hotplug : SERVICE_START_MARKED 14:04:36 S system/urandom : SERVICE_START_MARKED 14:04:36 S system/modules/nvram : SERVICE_START_MARKED 14:04:36 S system/usb : SERVICE_START_MARKED 14:04:36 S system/modules/usbcore : SERVICE_START_MARKED 14:04:36 S system/alsasound : SERVICE_START_MARKED 14:04:36 S system/alsasound/cards : SERVICE_START_MARKED 14:04:36 S system/alsasound/mixerstate : SERVICE_START_MARKED 14:04:36 S system/issue : SERVICE_START_MARKED 14:04:36 D daemon/hald : DAEMON_START_MARKED 14:04:36 D daemon/dbus : DAEMON_START_MARKED 14:04:36 D daemon/cupsd : DAEMON_START_MARKED 14:04:36 D daemon/gpm : DAEMON_START_MARKED 14:04:37 S system/netmount : SERVICE_START_MARKED 14:04:37 D daemon/portmap : DAEMON_START_MARKED 14:04:37 D daemon/ntpd : DAEMON_START_MARKED 14:04:37 D daemon/statd : DAEMON_START_MARKED 14:04:37 D daemon/kdm : DAEMON_START_MARKED 14:04:37 D daemon/dhcpcd/eth0 : DAEMON_START_MARKED 14:04:37 R default : WAITING_FOR_START_DEP 14:04:37 D daemon/acpid : DAEMON_WAITING_FOR_START_DEP 14:04:37 S system/bootmisc : SERVICE_WAITING_FOR_START_DEP 14:04:37 V system/initial : WAITING_FOR_START_DEP 14:04:37 S system/initial/loglevel : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/initial/mountvirtfs : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/initial/filldev : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/mountfs : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/mountroot : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/mountroot/rootrw : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/mountroot/check : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/checkfs : SERVICE_WAITING_FOR_START_DEP 14:04:37 S daemon/acpid/modules : SERVICE_WAITING_FOR_START_DEP 14:04:37 P virtual/syslog : SOON_PROVIDED 14:04:37 D daemon/syslogd : DAEMON_WAITING_FOR_START_DEP 14:04:37 V system : WAITING_FOR_START_DEP 14:04:37 V daemon/agetty : WAITING_FOR_START_DEP 14:04:37 P virtual/getty/2 : SOON_PROVIDED 14:04:37 D daemon/agetty/2 : DAEMON_WAITING_FOR_START_DEP 14:04:37 P virtual/getty/3 : SOON_PROVIDED 14:04:37 D daemon/agetty/3 : DAEMON_WAITING_FOR_START_DEP 14:04:37 P virtual/getty/4 : SOON_PROVIDED 14:04:37 D daemon/agetty/4 : DAEMON_WAITING_FOR_START_DEP 14:04:37 P virtual/getty/5 : SOON_PROVIDED 14:04:37 D daemon/agetty/5 : DAEMON_WAITING_FOR_START_DEP 14:04:37 P virtual/getty/6 : SOON_PROVIDED 14:04:37 D daemon/agetty/6 : DAEMON_WAITING_FOR_START_DEP 14:04:37 P virtual/net/lo : SOON_PROVIDED 14:04:37 S net/lo : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/clock : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/consolefont : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/keymaps : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/sysctl : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/hostname : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/modules : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/swap : SERVICE_WAITING_FOR_START_DEP 14:04:37 V system/udev : WAITING_FOR_START_DEP 14:04:37 S system/udev/filldev : SERVICE_WAITING_FOR_START_DEP 14:04:37 D system/udev/udevd : DAEMON_WAITING_FOR_START_DEP 14:04:37 S system/udev/mountdev : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/udev/set_hotplug : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/urandom : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/modules/nvram : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/usb : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/modules/usbcore : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/alsasound : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/alsasound/cards : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/alsasound/mixerstate : SERVICE_WAITING_FOR_START_DEP 14:04:37 S system/issue : SERVICE_WAITING_FOR_START_DEP 14:04:37 D daemon/hald : DAEMON_WAITING_FOR_START_DEP 14:04:37 D daemon/dbus : DAEMON_WAITING_FOR_START_DEP 14:04:37 D daemon/cupsd : DAEMON_WAITING_FOR_START_DEP 14:04:37 D daemon/gpm : DAEMON_WAITING_FOR_START_DEP 14:04:37 S system/netmount : SERVICE_WAITING_FOR_START_DEP 14:04:37 D daemon/portmap : DAEMON_WAITING_FOR_START_DEP 14:04:38 D daemon/ntpd : DAEMON_WAITING_FOR_START_DEP 14:04:38 D daemon/statd : DAEMON_WAITING_FOR_START_DEP 14:04:38 P virtaul/dm : SOON_PROVIDED 14:04:38 D daemon/kdm : DAEMON_WAITING_FOR_START_DEP 14:04:38 P virtual/net/eth0 : SOON_PROVIDED 14:04:38 P virtual/net : SOON_PROVIDED 14:04:38 D daemon/dhcpcd/eth0 : DAEMON_WAITING_FOR_START_DEP 14:04:38 S system/initial/loglevel : SERVICE_START_DEPS_MET 14:04:38 S system/initial/mountvirtfs : SERVICE_START_DEPS_MET 14:04:38 S daemon/acpid/modules : SERVICE_START_DEPS_MET 14:04:38 S system/initial/loglevel : SERVICE_START_RUN 14:04:38 S system/initial/mountvirtfs : SERVICE_START_RUN 14:04:38 S daemon/acpid/modules : SERVICE_START_RUN 14:04:38 S system/initial/loglevel : SERVICE_DONE 14:04:38 S daemon/acpid/modules : SERVICE_DONE 14:04:38 S system/initial/mountvirtfs : SERVICE_DONE 14:04:38 S system/udev/mountdev : SERVICE_START_DEPS_MET 14:04:38 S system/udev/mountdev : SERVICE_START_RUN 14:04:38 S system/udev/mountdev : SERVICE_DONE 14:04:38 S system/initial/filldev : SERVICE_START_DEPS_MET 14:04:38 D system/udev/udevd : DAEMON_START_DEPS_MET 14:04:38 S system/initial/filldev : SERVICE_START_RUN 14:04:38 D system/udev/udevd : DAEMON_WAIT_FOR_PID_FILE 14:04:38 S system/initial/filldev : SERVICE_DONE 14:04:38 D system/udev/udevd : DAEMON_RUNNING 14:04:38 S system/udev/filldev : SERVICE_START_DEPS_MET 14:04:38 S system/udev/set_hotplug : SERVICE_START_DEPS_MET 14:04:38 S system/udev/filldev : SERVICE_START_RUN 14:04:38 S system/udev/set_hotplug : SERVICE_START_RUN 14:04:38 S system/udev/set_hotplug : SERVICE_DONE 14:04:39 S system/udev/filldev : SERVICE_DONE 14:04:39 V system/udev : UP 14:04:39 V system/initial : UP 14:04:39 S system/mountroot/check : SERVICE_START_DEPS_MET 14:04:39 S system/sysctl : SERVICE_START_DEPS_MET 14:04:39 S system/hostname : SERVICE_START_DEPS_MET 14:04:39 S system/modules : SERVICE_START_DEPS_MET 14:04:39 S system/mountroot/check : SERVICE_START_RUN 14:04:39 S system/sysctl : SERVICE_START_RUN 14:04:39 S system/hostname : SERVICE_START_RUN 14:04:39 S system/modules : SERVICE_START_RUN 14:04:39 S system/modules : SERVICE_DONE 14:04:40 S system/clock : SERVICE_START_DEPS_MET 14:04:40 S system/sysctl : SERVICE_DONE 14:04:40 S system/clock : SERVICE_START_RUN 14:04:40 S system/hostname : SERVICE_DONE 14:04:40 S system/mountroot/check : SERVICE_DONE 14:04:40 S system/mountroot/rootrw : SERVICE_START_DEPS_MET 14:04:40 S system/mountroot/rootrw : SERVICE_START_RUN 14:04:40 S system/mountroot/rootrw : SERVICE_DONE 14:04:40 S system/mountroot : SERVICE_START_DEPS_MET 14:04:40 S system/mountroot : SERVICE_START_RUN 14:04:40 S system/mountroot : SERVICE_DONE 14:04:40 S system/checkfs : SERVICE_START_DEPS_MET 14:04:40 S system/modules/nvram : SERVICE_START_DEPS_MET 14:04:40 S system/modules/usbcore : SERVICE_START_DEPS_MET 14:04:40 S system/issue : SERVICE_START_DEPS_MET 14:04:40 S system/checkfs : SERVICE_START_RUN 14:04:40 S system/modules/nvram : SERVICE_START_RUN 14:04:40 S system/modules/usbcore : SERVICE_START_RUN 14:04:40 S system/issue : SERVICE_START_RUN 14:04:41 S system/modules/nvram : SERVICE_DONE 14:04:41 S system/modules/usbcore : SERVICE_DONE 14:04:41 S system/issue : SERVICE_DONE 14:04:41 S system/checkfs : SERVICE_DONE 14:04:41 S system/mountfs : SERVICE_START_DEPS_MET 14:04:41 S system/mountfs : SERVICE_START_RUN 14:04:41 S system/mountfs : SERVICE_DONE 14:04:41 S system/swap : SERVICE_START_DEPS_MET 14:04:41 S system/swap : SERVICE_START_RUN 14:04:41 S system/swap : SERVICE_DONE 14:04:41 S system/clock : SERVICE_DONE 14:04:41 S system/bootmisc : SERVICE_START_DEPS_MET 14:04:41 S system/bootmisc : SERVICE_START_RUN 14:04:41 S system/bootmisc : SERVICE_DONE 14:04:41 D daemon/acpid : DAEMON_START_DEPS_MET 14:04:41 D daemon/syslogd : DAEMON_START_DEPS_MET 14:04:41 D daemon/agetty/2 : DAEMON_START_DEPS_MET 14:04:41 D daemon/agetty/3 : DAEMON_START_DEPS_MET 14:04:41 D daemon/agetty/4 : DAEMON_START_DEPS_MET 14:04:41 D daemon/agetty/5 : DAEMON_START_DEPS_MET 14:04:41 D daemon/agetty/6 : DAEMON_START_DEPS_MET 14:04:41 S net/lo : SERVICE_START_DEPS_MET 14:04:41 S system/keymaps : SERVICE_START_DEPS_MET 14:04:41 S system/urandom : SERVICE_START_DEPS_MET 14:04:41 S system/usb : SERVICE_START_DEPS_MET 14:04:41 S system/alsasound/cards : SERVICE_START_DEPS_MET 14:04:41 D daemon/dbus : DAEMON_START_DEPS_MET 14:04:41 D daemon/gpm : DAEMON_START_DEPS_MET 14:04:41 D daemon/kdm : DAEMON_START_DEPS_MET 14:04:41 D daemon/dhcpcd/eth0 : DAEMON_START_DEPS_MET 14:04:41 D daemon/acpid : DAEMON_RUNNING 14:04:41 D daemon/syslogd : DAEMON_RUNNING 14:04:41 D daemon/agetty/2 : DAEMON_RUNNING 14:04:41 D daemon/agetty/3 : DAEMON_RUNNING 14:04:41 D daemon/agetty/4 : DAEMON_RUNNING 14:04:41 D daemon/agetty/5 : DAEMON_RUNNING 14:04:41 D daemon/agetty/6 : DAEMON_RUNNING 14:04:41 S net/lo : SERVICE_START_RUN 14:04:41 S system/keymaps : SERVICE_START_RUN 14:04:41 S system/urandom : SERVICE_START_RUN 14:04:41 S system/usb : SERVICE_START_RUN 14:04:41 S system/alsasound/cards : SERVICE_START_RUN 14:04:41 D daemon/dbus : DAEMON_WAIT_FOR_PID_FILE 14:04:41 D daemon/gpm : DAEMON_WAIT_FOR_PID_FILE 14:04:41 D daemon/kdm : DAEMON_RUNNING 14:04:41 D daemon/dhcpcd/eth0 : DAEMON_WAIT_FOR_PID_FILE 14:04:41 P virtual/syslog : PROVIDED 14:04:41 P virtual/getty/2 : PROVIDED 14:04:41 P virtual/getty/3 : PROVIDED 14:04:41 P virtual/getty/4 : PROVIDED 14:04:41 P virtual/getty/5 : PROVIDED 14:04:41 P virtual/getty/6 : PROVIDED 14:04:41 P virtaul/dm : PROVIDED 14:04:41 S net/lo : SERVICE_DONE 14:04:41 S system/usb : SERVICE_DONE 14:04:41 S system/alsasound/cards : SERVICE_DONE 14:04:41 N device/lo : NIC_UP 14:04:41 P virtual/net/lo : PROVIDED 14:04:41 S system/alsasound : SERVICE_START_DEPS_MET 14:04:41 D daemon/cupsd : DAEMON_START_DEPS_MET 14:04:41 S system/alsasound : SERVICE_START_RUN 14:04:41 D daemon/cupsd : DAEMON_RUNNING 14:04:41 S system/urandom : SERVICE_DONE 14:04:41 S system/alsasound : SERVICE_DONE 14:04:41 S system/alsasound/mixerstate : SERVICE_START_DEPS_MET 14:04:41 S system/alsasound/mixerstate : SERVICE_START_RUN 14:04:41 D daemon/gpm : DAEMON_RUNNING 14:04:43 D daemon/dbus : DAEMON_RUNNING 14:04:43 D daemon/hald : DAEMON_START_DEPS_MET 14:04:43 S system/alsasound/mixerstate : SERVICE_DONE 14:04:43 D daemon/hald : DAEMON_RUNNING 14:04:44 S system/keymaps : SERVICE_DONE 14:04:44 S system/consolefont : SERVICE_START_DEPS_MET 14:04:44 S system/consolefont : SERVICE_START_RUN 14:04:44 S system/consolefont : SERVICE_DONE 14:04:46 D daemon/dhcpcd/eth0 : DAEMON_RUNNING 14:04:46 N device/eth0 : NIC_UP 14:04:46 P virtual/net/eth0 : PROVIDED 14:04:46 P virtual/net : PROVIDED 14:04:46 D daemon/portmap : DAEMON_START_DEPS_MET 14:04:46 D daemon/ntpd : DAEMON_START_DEPS_MET 14:04:46 D daemon/portmap : DAEMON_RUNNING 14:04:46 D daemon/ntpd : DAEMON_RUNNING 14:04:46 D daemon/statd : DAEMON_START_DEPS_MET 14:04:46 D daemon/statd : DAEMON_RUNNING 14:04:46 S system/netmount : SERVICE_START_DEPS_MET 14:04:46 S system/netmount : SERVICE_START_RUN 14:04:47 S system/netmount : SERVICE_DONE 14:04:47 V daemon/agetty : UP 14:04:47 V system : UP 14:04:47 R default : UP
pgp6ezulUcxOI.pgp
Description: PGP signature
-- _______________________________________________ Initng mailing list [email protected] http://jw.dyndns.org/mailman/listinfo/initng
