[PATCH] xvfork: override die_func to _exit on child processes

2023-11-07 Thread Dominique Martinet
From: Dominique Martinet On alpine linux, calling busybox time with a nonexisting command would hang forever: ``` time: can't execute 'fdsa': No such file or directory Command exited with non-zero status 127 real0m 0.00s user0m 0.00s sys 0m 0.00s ``` This is because time uses vfork

Re: -o option for start-stop-daemon

2023-11-07 Thread Peter Korsgaard
> "Denys" == Denys Vlasenko writes: > Applied with some edits, please test current git. Looks sensible from a quick look. Notice that you added a s/PILE/FILE/ typo: +//usage: "\n-O PILE Append stdout and stderr to FILE" -- Bye, Peter Korsgaard

Re: -o option for start-stop-daemon

2023-11-07 Thread Denys Vlasenko
Applied with some edits, please test current git. On Tue, Nov 7, 2023 at 8:37 PM Louai Al-Khanji wrote: > > Apologies for the spam, the previous patch had bad whitespace. Fixed here. > > On Tue, Nov 7, 2023 at 11:34 AM Louai Al-Khanji wrote: > > > > Hi all, > > > > V3 attached. > > > > Rebased

Re: -o option for start-stop-daemon

2023-11-07 Thread Louai Al-Khanji
Apologies for the spam, the previous patch had bad whitespace. Fixed here. On Tue, Nov 7, 2023 at 11:34 AM Louai Al-Khanji wrote: > > Hi all, > > V3 attached. > > Rebased against master to account for the -d option. Moves the output > variable from the globals struct to be local to main. > >

Re: -o option for start-stop-daemon

2023-11-07 Thread Louai Al-Khanji
Hi all, V3 attached. Rebased against master to account for the -d option. Moves the output variable from the globals struct to be local to main. Thanks, Louai On Tue, Nov 7, 2023 at 10:27 AM Louai Al-Khanji wrote: > > On Tue, Nov 7, 2023 at 8:03 AM Denys Vlasenko > wrote: > > > > On Fri,

Re: -o option for start-stop-daemon

2023-11-07 Thread Louai Al-Khanji
On Tue, Nov 7, 2023 at 8:03 AM Denys Vlasenko wrote: > > On Fri, Nov 3, 2023 at 11:31 PM Louai Al-Khanji wrote: > > > > On Wed, Nov 1, 2023 at 11:53 PM Louai Al-Khanji wrote: > > > > > > Hi, > > > > > > I am interested in implementing the -o|--output option that the Debian > > >

Re: [PATCH 1/1] sleep: Update doc

2023-11-07 Thread Denys Vlasenko
Applied, thank you. On Fri, Nov 3, 2023 at 9:14 PM Petr Vorel wrote: > > 4c20d9f2b removed FEATURE_FLOAT_SLEEP option, thus since then there are > only two variants. > > Fixes: 4c20d9f2b ("extend fractional duration support to "top -d N.N" and > "timeout"") > Signed-off-by: Petr Vorel > --- >

Re: -o option for start-stop-daemon

2023-11-07 Thread Denys Vlasenko
On Fri, Nov 3, 2023 at 11:31 PM Louai Al-Khanji wrote: > > On Wed, Nov 1, 2023 at 11:53 PM Louai Al-Khanji wrote: > > > > Hi, > > > > I am interested in implementing the -o|--output option that the Debian > > start-stop-daemon supports. Might such a patch be considered for > > upstreaming? > >