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 03:42:39PM +0300, Dima Veselov wrote:
> On Fri, Jan 18, 2019 at 01:23:12PM +0100, 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?
> 
> Yes, but rc.d scripts behave the same way:

Additionally I can say default installation of 8.0 have *right* sleep:
[root@ranir ~]$ /bin/sleep 0.05
[root@ranir ~]$ 

So there is something wrong with src. I have downloaded sleep.c from
cvsweb and it is compliant to what I have in /usr/src.

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


Home | Main Index | Thread Index | Old Index