Bug#576243: linux-base postinst exits when no /etc/fstab in Debian live
Ben Hutchings wrote:
On Fri, 2010-04-02 at 09:13 +0800, Steven Shiau wrote:
*** Please type your report below this line ***
When creating a Debian live system with live-helper, there is no file
/etc/fstab for such a live system. However, the "$fstab->close();" in
"/var/lib/dpkg/info/linux-base.postinst" will just exit in this case.
Please fix it. Thanks.
Thanks for pointing out this bug. The fundamental issue is that we
shouldn't be attempting to do any conversion during a fresh installation
(whether that is done through debootstrap, debian-installer or
Because linux-base is a new package, we cannot simply check that this is
a fresh installation of linux-base. Instead, I've added a check that
(1) /etc/fstab exists and (2) one or more linux-image packages are
already installed. I believe this will do the right thing.
Got it. Thanks.
Look forward to the next release.
Steven Shiau <steven _at_ nchc org tw> <steven _at_ stevenshiau org>
National Center for High-performance Computing, Taiwan. http://www.nchc.org.tw
Public Key Server PGP Key ID: 1024D/9762755A
Fingerprint: A2A1 08B7 C22C 3D06 34DB F4BC 08B3 E3D7 9762 755A
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org