NetBSD-Users archive

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

Re: rc.d problem



On Fri, 18 Jan 2019, Martin Husemann wrote:
On Fri, Jan 18, 2019 at 03:17:57PM +0300, Dima Veselov 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.

--
Stephen



Home | Main Index | Thread Index | Old Index