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

Bug #505887 reported by Michael Vogt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
busybox (Ubuntu)
Fix Released
Undecided
Unassigned
sysvinit (Ubuntu)
Fix Released
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

Revision history for this message
Michael Vogt (mvo) wrote :
Michael Vogt (mvo)
summary: - Provide static-sh alias name
+ Provide static-sh alias name and ship busybox-static by default
Revision history for this message
Colin Watson (cjwatson) wrote :

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

Revision history for this message
Michael Vogt (mvo) wrote :

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

Revision history for this message
Michael Vogt (mvo) wrote :

This was suggested on irc.

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.