Bug #744

rcstart broken with dhclient

Added by corecode about 7 years ago. Updated almost 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

hey,

rcstart doesn't work as desired anymore:

%rcstart dntpd
dntpd depends on dhclient, current state:
%

I guess that's because of the dhclient change. I can't use rcrestart dhclient either anymore.

cheers
simon

History

#1 Updated by bastyaelvtars about 7 years ago

On Fri, 27 Jul 2007 00:03:56 +0200
"Simon 'corecode' Schubert" <> wrote:

Confirming. rcrestart does not work at all here.

#2 Updated by swildner about 7 years ago

Hmm, I'm not sure about a solution. The new dhclient script expects the
interface as an argument (as in "/etc/rc.d/dhclient start rl0") but
rc{run,start,...} doesn't support that.

Sascha

#3 Updated by tuxillo almost 5 years ago

I've tried inside an vkernel:
vkernel-leaf# rcstop dntpd
Stopping dntpd.
vkernel-leaf# rcstart dntpd
Running /etc/rc.d/dntpd start
Starting dntpd.
vkernel-leaf# rcrestart dntpd
Stopping dntpd.
Starting dntpd.
vkernel-leaf#

It worked fine for me.

#4 Updated by corecode almost 5 years ago

seems to work now.

#5 Updated by qhwt+dfly almost 5 years ago

> I've tried inside an vkernel:
> vkernel-leaf# rcstop dntpd
> Stopping dntpd.
> vkernel-leaf# rcstart dntpd

But I'm afraid this is about dhclient script, not about dntpd... :)

#6 Updated by ahuete.devel almost 5 years ago

But corecode reproduced it doing a rcrestart on dntpd, and now it
doesn't seem to happen.
Can you rerpoduce it?

2009/8/26 YONETANI Tomokazu <>:
>> I've tried inside an vkernel:
>> vkernel-leaf# rcstop dntpd
>> Stopping dntpd.
>> vkernel-leaf# rcstart dntpd
>
> But I'm afraid this is about dhclient script, not about dntpd... :)
>

#7 Updated by qhwt+dfly almost 5 years ago

A-ha, OK, it *was* about dntpd, and was apparently fixed by 6af26f98 because
dntpd requires NETWORKING, which used to require dhclient back then.
And dhclient won't start because it's marked as `nostart'...

On Wed, Aug 26, 2009 at 02:41:45PM +0200, Antonio Huete Jimenez wrote:
> But corecode reproduced it doing a rcrestart on dntpd, and now it
> doesn't seem to happen.
> Can you rerpoduce it?
>
> 2009/8/26 YONETANI Tomokazu <>:
> >> I've tried inside an vkernel:
> >> vkernel-leaf# rcstop dntpd
> >> Stopping dntpd.
> >> vkernel-leaf# rcstart dntpd
> >
> > But I'm afraid this is about dhclient script, not about dntpd... :)
> >

Also available in: Atom PDF