NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d problem



On Fri, Jan 18, 2019 at 12:25:46PM +0000, Stephen Borrill wrote:

> > > > The rc scripts use "sleep 0.05" but not all versions of sleep
> > > > support non-integral values.
> > > 
> > > I never replaced original one. The only replacement was done -
> > > upgrading via build.sh distribution sets. Just checked cvsweb -
> > > I have recent version of sleep.c
> > 
> > Where is the rc.d script from? Pkgsrc? This is non-portable, so it
> > should be fixed in the pkg. No idea why the message did not show up
> > on earlier versions, maybe one of th sh(1) fixed just made it visible?
> 
> The sleep is coming form rc.subr, not the rc.d script itself:
> 
>                 # We want this to be a tight loop for a fast exit
>                 sleep 0.05
> 
> What does "which sleep" say? Perhaps you've another sleep in an unexpected
> location.

/bin/sleep only. I've checked /usr/src version which still do not
recognize numbers with floating point.

-- 
Sincerely yours,
Dima Veselov
Physics R&D Establishment of Saint-Petersburg University


Home | Main Index | Thread Index | Old Index