[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#676001: Processed: reassign 676001 to busybox



dude care to have a bit of patience before reassigning back,
that be really nice.

On Tue, Jun 05, 2012 at 08:45:59AM +0400, Michael Tokarev wrote:
> On 05.06.2012 00:45, Debian Bug Tracking System wrote:
> > Processing commands for control@bugs.debian.org:
> > 
> >> reassign 676001 busybox
> > Bug #676001 [initramfs-tools] initramfs-tools: busybox's switch_root doesn't handle /proc or /sys moving
> > Bug reassigned from package 'initramfs-tools' to 'busybox'.
> 
> When reassigning bugs like this, care to explain the reasoning
> too, so that it wont be necessary to send a followup questions
> like this one?
> 
> I disagree it is a busybox problem, and don't think it is a
> switch_root business (be it from busybox or from util-linux).

switch_root in util-linux does it.
 
> There are a few special directories which needs to be moved
> or umounted.  This includes /proc, /dev, /sys and not mentioned
> here /run.  These directories might be mounted in the new root
> already, or there may be some option passed to initramfs to
> not mount these, or there may be other local policy or whatever
> decisions.  All that can't be handled and can't be known to
> switch_root -- this is exactly why we have initramfs/init as
> a script, to be able to handle various local usecases/policies
> and made it extendable.

If you name a command switch-root and not run-init, you'd have
to take care to emmulate what the original command does.

In this case it is util-linux is clearly predating busybox and thus
busybox is buggy not fully implementing the command.

-- 
maks




Reply to: