All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Bruce Ashfield" <bruce.ashfield@gmail.com>
To: Phil Coval <rzr@users.sf.net>
Cc: meta-virtualization@lists.yoctoproject.org,
	philippe.coval.pro+meta-virtualization-lists.yoctoproject.org@gmail.com
Subject: Re: [meta-virtualization] docker: fix init script for busybox
Date: Thu, 27 Feb 2020 16:57:44 -0500	[thread overview]
Message-ID: <20200227215743.GC36079@gmail.com> (raw)
In-Reply-To: <20200222085456.8144-1-rzr@users.sf.net>

merged

Bruce

In message: [meta-virtualization] docker: fix init script for busybox
on 22/02/2020 Phil Coval wrote:

> Observed issue using BusyBox v1.30.1 not supporting bashism
> 
> /etc/init.d/docker.init: line 43: syntax error: unexpected redirection
> 
> Change-Id: I9f73564cfb56352fbf7d80723ea938b66eceb5c7
> Forwarded: https://lists.yoctoproject.org/g/meta-virtualization
> Signed-off-by: Philippe Coval <rzr@users.sf.net>
> ---
>  recipes-containers/docker/files/docker.init | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init
> index b37ddc9..24f8fea 100644
> --- a/recipes-containers/docker/files/docker.init
> +++ b/recipes-containers/docker/files/docker.init
> @@ -40,7 +40,7 @@ start() {
>      if ! [ -f $pidfile ]; then
>          printf "Starting $prog:\t"
>          echo -e "\n$(date)\n" >> $logfile
> -        "$unshare" -m -- $exec $other_args &>> $logfile &
> +        "$unshare" -m -- $exec $other_args >> $logfile 2>&1 &
>          pid=$!
>          touch $lockfile
>          # wait up to 10 seconds for the pidfile to exist.  see
> -- 
> 2.20.1
> 

> 


      reply	other threads:[~2020-02-27 21:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-22  8:54 docker: fix init script for busybox Phil Coval
2020-02-27 21:57 ` Bruce Ashfield [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200227215743.GC36079@gmail.com \
    --to=bruce.ashfield@gmail.com \
    --cc=meta-virtualization@lists.yoctoproject.org \
    --cc=philippe.coval.pro+meta-virtualization-lists.yoctoproject.org@gmail.com \
    --cc=rzr@users.sf.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.