Ubuntu

Provide static-sh alias name and ship busybox-static by default

Reported by Michael Vogt on 2010-01-11
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Undecided
Unassigned
sysvinit (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: busybox

Hi,

for the boot recovery spec [1] we want to add a static shell for disaster recovery. If
e.g. libc is broken a stock ubuntu system can currently not be booted. I would like
to add busybox-static to the default install [2] and make it provide a "/bin/static-sh"
that can then be used to boot with "init=/bin/static-sh" to be able do recovery.

Please let me know what you think and if static-sh is good or too generic as a name.

Thanks,
 Michael

[1] https://blueprints.launchpad.net/ubuntu/+spec/foundations-lucid-boot-recovery
[2] https://code.launchpad.net/~mvo/ubuntu-seeds/platform.lucid

Michael Vogt (mvo) wrote :
Michael Vogt (mvo) on 2010-01-11
summary: - Provide static-sh alias name
+ Provide static-sh alias name and ship busybox-static by default
Colin Watson (cjwatson) wrote :

I've opened a sysvinit task for the sulogin bit. Do you have a diff for that?

Michael Vogt (mvo) wrote :

Ups, it looks like the previous attachment was a .deb instead of the intended .debdiff. I corrected that now.

Michael Vogt (mvo) wrote :
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package busybox - 1:1.13.3-1ubuntu8

---------------
busybox (1:1.13.3-1ubuntu8) lucid; urgency=low

  * add static-sh alias name for ash and install
    /bin/static-sh symlink busybox in busybox-static (LP: #505887)
 -- Michael Vogt <email address hidden> Mon, 11 Jan 2010 13:43:24 +0100

Changed in busybox (Ubuntu):
status: New → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package sysvinit - 2.87dsf-4ubuntu14

---------------
sysvinit (2.87dsf-4ubuntu14) lucid; urgency=low

  * debian/patches/92_sulogin_support_static_sh.patch:
    - add support for /bin/static-sh as fallback if the regular
      shell fails to execute (LP: #505887)
 -- Michael Vogt <email address hidden> Mon, 18 Jan 2010 09:40:46 +0100

Changed in sysvinit (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers