Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 8911] Using sysvinit inittab and "single" user mode the rcS script still runs
Date: Thu, 26 May 2016 09:50:08 +0000	[thread overview]
Message-ID: <bug-8911-163-4qB9v391U7@https.bugs.busybox.net/> (raw)
In-Reply-To: <bug-8911-163@https.bugs.busybox.net/>

https://bugs.busybox.net/show_bug.cgi?id=8911

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed on the next branch, thanks:

commit eda809cd052dea73bca02385c7a10a4d7795c912
Author: Charles Hardin <ckhardin@exablox.com>
Date:   Sat May 21 13:11:10 2016 -0700

    sysvinit: update the inittab to support "single" from the kernel

    Closes #8911

    When the kernel passes single in the command line, this translates
    into an init -s option that is suppose to drop into a shell after
    the sysinit and before the runlevel.

    So, in busybox this is hardcoded - but, in sysvinit using the
    sysinit action for the rcS means that it will always be executed
    even when trying to get into single user mode for repair.

    This change should run rcS in all of the expected runlevels
    1-5 and should achieve the desired result compared to the busybox
    and still allow a single user shell to get started as expected
    before running rcS.

    Signed-off-by: Charles Hardin <ckhardin@exablox.com>
    Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

-- 
You are receiving this mail because:
You are on the CC list for the bug.

      reply	other threads:[~2016-05-26  9:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 17:26 [Buildroot] [Bug 8911] New: Using sysvinit inittab and "single" user mode the rcS script still runs bugzilla at busybox.net
2016-05-26  9:50 ` bugzilla at busybox.net [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=bug-8911-163-4qB9v391U7@https.bugs.busybox.net/ \
    --to=bugzilla@busybox.net \
    --cc=buildroot@busybox.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox