dhcpcd-discuss

Re: preserving l2tp

Roy Marples

Mon Jan 03 11:51:37 2011

On 02/01/2011 16:55, Niv Wiser wrote:
 dhcpcd[9643]: version 5.2.9 starting
dhcpcd[9643]: eth0: rebinding lease of<IP address>
dhcpcd[9643]: eth0: acknowledged<IP address>  from<ISP server>
dhcpcd[9643]: eth0: checking for<IP address>
dhcpcd[9643]: eth0: leased<IP address>  for 85962 seconds
dhcpcd: eth0: MTU set to 576
/sbin/rc-service: invalid option -- 'D'
Usage: rc-service [options]

Options: [e:ilr:Chqv]
   -e, --exists<arg>                 tests if the service exists or not
   -i, --ifexists                    if the service exsits then run the
   command
   -l, --list                        list all available services
   -r, --resolve<arg>                resolve the service name to an init
   script
   -h, --help                        Display this help output
   -C, --nocolor                     Disable color output
   -v, --verbose                     Run verbosely
   -q, --quiet                       Run quietly
/sbin/rc-service: invalid option -- 'D'
Usage: rc-service [options]

Options: [e:ilr:Chqv]
   -e, --exists<arg>                 tests if the service exists or not
   -i, --ifexists                    if the service exsits then run the
   command
   -l, --list                        list all available services
   -r, --resolve<arg>                resolve the service name to an init
   script
   -h, --help                        Display this help output
   -C, --nocolor                     Disable color output
   -v, --verbose                     Run verbosely
   -q, --quiet                       Run quietly
dhcpcd[9643]: forked to background, child pid 9735


hmm, why is it adding -D :
in /lib/dhcpcd/dhcpcd-run-hooks line 156:

# Send a command to a system service
service_cmd()
{
	/sbin/rc-service $1 -- -D $2
}

I just tested this on a Gentoo box I have handy with the latest released OpenRC.
Worked fine.

Thanks

Roy

Follow-Ups:
Re: preserving l2tpNiv Wiser
References:
preserving l2tpNiv
Re: preserving l2tpRoy Marples
Re: preserving l2tpNiv
Re: preserving l2tpRoy Marples
Re: preserving l2tpNiv
Re: preserving l2tpRoy Marples
Re: preserving l2tpNiv Wiser
Archive administrator: postmaster@marples.name