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

Bug#681261: live-build: please don't leave an empty fstab in chroot



On Fri, Jul 13, 2012 at 09:39:07PM +0200, Daniel Baumann wrote:
> On 07/13/2012 07:16 AM, Rui Bernardo wrote:
> > 	When removing fstab for live-installer also touch an empty file 
> > 	for it to avoid other packages failing on non-existing fstab.
> 
> because otherwise e.g. update-initramfs goes nuts, which is why we
> truncate it.

I've never faced that error. I've patch live-build 3.0~a48 to remove 
that "touch fstab" line and I only see the usual warnings (not errors) 
about missing fstab while the chroot is built.
 
> > in lb_chroot_hacks clearly creates an empty fstab. It _is_ this empty 
> > fstab that breaks live-installer, and by consequence, debian-installer.
> 
> so send a patch, or wait until someone else fixes it.
> 
> but please stop complaining, it is how it is in live-build and its on
> purpose. we know that, and we'll adapt any other stuff at some point.

Just trying to help and warn about a problem that arose, like everyone 
here, I think. I just didn't see (and still don't see) any reason to 
truncate fstab instead of making sure it's not included if not in 
includes.

Anyway, while trying to follow the fstab.d hint inside live-installer I 
think I've found an incontournable problem. fstab.d only works in 
wheezy/sid. Trying to deal the truncated fstab in live-installer using 
fstab.d/ is not possible in squeeze. I don't see a solution for squeeze 
this way.

So ATM, since live-build 3.0~a47-1, live-build 3.x breaks partman and/or 
live-installer in squeeze.

I'm looking forward to help in this issue.

> -- 
> Address:        Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern
> Email:          daniel.baumann@progress-technologies.net
> Internet:       http://people.progress-technologies.net/~daniel.baumann/



Reply to: