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

Bug#478830: live-helper: deconfiguring chroot_* is not safe

Luca Bruno wrote:

> I experienced a problem when lh_build raised an error that now I don't know
> when and how. In other words, start-stop-daemon was originally a "exit 0"
> script after doing lh_build again.

It sounds like if you manually removed the chroot_dpkg stage file, which is
there to prevent this.

> I think it wold be better to reinstall dpkg in chroot_dpkg "remove"
> command.

Well, the "remove" code simply reverses the steps taken in "install" so this
would just be a rather crude workaround for an unknown problem. As I see it,
the problem is either:

 * The install action is broken in some way
 * Stage handling is broken in some way
 * "User" error, such as manual deletion of stage files or just a generally
   broken chroot.

Wouldn't it be better would be to fix the problem that caused lh_build to
exit in the first place? (Do you have build logs, etc.?)


Chris Lamb, UK                                       chris at chris-lamb.co.uk
                                                            GPG: 0x634F9A20
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20080704/1ecbf7fa/attachment.pgp 

Reply to: