Re: rc.d problem

2019-01-20 Thread Dima Veselov
On Fri, Jan 18, 2019 at 02:45:57PM +0100, Martin Husemann wrote: > > > > I have completely no idea why 8.0-STABLE can't take non-integer value. > > > Is there a locale issu involved? > > [root@ranir ~]$ sleep 0.05 > > [root@ranir ~]$ export LC_ALL=ru_RU.UTF-8 > > [root@ranir ~]$ sleep 0.05 > >

Re: rc.d problem

2019-01-19 Thread Robert Elz
Date:Fri, 18 Jan 2019 14:45:57 +0100 From:Martin Husemann Message-ID: <20190118134557.gf13...@mail.duskware.de> | I think we should set LC_NUMERIC=C in rc.subr or something like that. I am fixing sleep to be more rational in the way it works. As it was, if the

Re: rc.d problem

2019-01-18 Thread Valery Ushakov
Dima Veselov wrote: > On Fri, Jan 18, 2019 at 02:16:31PM +0100, Martin Husemann wrote: >> On Fri, Jan 18, 2019 at 04:07:06PM +0300, Dima Veselov wrote: >> > I have completely no idea why 8.0-STABLE can't take non-integer value. >> Is there a locale issu involved? > > Ahh, magician, how did you

Re: rc.d problem

2019-01-18 Thread Robert Elz
Date:Fri, 18 Jan 2019 14:45:57 +0100 From:Martin Husemann Message-ID: <20190118134557.gf13...@mail.duskware.de> | I think we should set LC_NUMERIC=C in rc.subr or something like that. LC_ALL not LC_NUMERIC, the latter won't override an external setting of LC_ALL.

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 04:42:32PM +0300, Dima Veselov wrote: > On Fri, Jan 18, 2019 at 02:16:31PM +0100, Martin Husemann wrote: > > On Fri, Jan 18, 2019 at 04:07:06PM +0300, Dima Veselov wrote: > > > I have completely no idea why 8.0-STABLE can't take non-integer value. > > Is there a locale issu

Re: rc.d problem

2019-01-18 Thread Dima Veselov
On Fri, Jan 18, 2019 at 02:16:31PM +0100, Martin Husemann wrote: > On Fri, Jan 18, 2019 at 04:07:06PM +0300, Dima Veselov wrote: > > I have completely no idea why 8.0-STABLE can't take non-integer value. > Is there a locale issu involved? Ahh, magician, how did you got this??? Unbelievable.

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 04:07:06PM +0300, Dima Veselov wrote: > I have completely no idea why 8.0-STABLE can't take non-integer value. Is there a locale issu involved? Martin

Re: rc.d problem

2019-01-18 Thread Dima Veselov
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

Re: rc.d problem

2019-01-18 Thread Dima Veselov
On Fri, Jan 18, 2019 at 12:25:46PM +, 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.

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 12:25:46PM +, Stephen Borrill wrote: > 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 Ooops - overlooked that our sleep does handle it. Martin

Re: rc.d problem

2019-01-18 Thread Stephen Borrill
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

Re: rc.d problem

2019-01-18 Thread Martin Husemann
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 - >

Re: rc.d problem

2019-01-18 Thread Dima Veselov
On Fri, Jan 18, 2019 at 06:52:51PM +0700, Robert Elz wrote: > | Looks like kind a silly problem, but I can't find where it > | happen. > > Do you happen to have some non-standard (ie: not netbsd) > sleep command installed? > > The rc scripts use "sleep 0.05" but not all versions of sleep >

Re: rc.d problem

2019-01-18 Thread Robert Elz
Date:Fri, 18 Jan 2019 14:00:54 +0300 From:Dima Veselov Message-ID: <20190118110054.GA6665@laura> | Looks like kind a silly problem, but I can't find where it | happen. Do you happen to have some non-standard (ie: not netbsd) sleep command installed? The rc

Re: rc.d problem

2019-01-18 Thread Dima Veselov
On Fri, Jan 18, 2019 at 11:30:18AM +, Stephen Borrill wrote: > > > > After some 8.0-STABLE upgrades all my NetBSD boxes have problem > > > > with rc.d scripts. They are definitely working, but when script > > > > have to wait for a process it contantly prints that: > > > > > > > >

Re: rc.d problem

2019-01-18 Thread Stephen Borrill
On Fri, 18 Jan 2019, Dima Veselov wrote: On Fri, Jan 18, 2019 at 12:13:52PM +0100, Martin Husemann wrote: On Fri, Jan 18, 2019 at 02:00:54PM +0300, Dima Veselov wrote: Greetings! After some 8.0-STABLE upgrades all my NetBSD boxes have problem with rc.d scripts. They are definitely working,

Re: rc.d problem

2019-01-18 Thread Dima Veselov
On Fri, Jan 18, 2019 at 12:13:52PM +0100, Martin Husemann wrote: > On Fri, Jan 18, 2019 at 02:00:54PM +0300, Dima Veselov wrote: > > Greetings! > > > > After some 8.0-STABLE upgrades all my NetBSD boxes have problem > > with rc.d scripts. They are definitely working, but when script > > have to

Re: rc.d problem

2019-01-18 Thread Martin Husemann
On Fri, Jan 18, 2019 at 02:00:54PM +0300, Dima Veselov wrote: > Greetings! > > After some 8.0-STABLE upgrades all my NetBSD boxes have problem > with rc.d scripts. They are definitely working, but when script > have to wait for a process it contantly prints that: > > [root@almaz src]$

rc.d problem

2019-01-18 Thread Dima Veselov
Greetings! After some 8.0-STABLE upgrades all my NetBSD boxes have problem with rc.d scripts. They are definitely working, but when script have to wait for a process it contantly prints that: [root@almaz src]$ /etc/rc.d/php_fpm restart Stopping php_fpm. usage: sleep seconds usage: sleep seconds