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 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:

[root@almaz sleep]$ /etc/rc.d/syslogd restart
Stopping syslogd.
usage: sleep seconds
Starting syslogd.

Have no idea why it work that way. Also I am sure this never happened
on default installation of 8.0:

[root@ranir ~]$ /etc/rc.d/syslogd restart
Stopping syslogd.
Starting syslogd.

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


Home | Main Index | Thread Index | Old Index