FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 04-02-2010, 01:13 AM
Steven Shiau
 
Default Bug#576243: linux-base postinst exits when no /etc/fstab in Debian live

Package: linux-base
Version: 2.6.33-1~experimental.2
Severity: important
Tags: sid

*** 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.


-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-base depends on:
ii debconf [debconf-2.0] 1.5.30 Debian configuration
management sy

ii libapt-pkg-perl 0.1.24 Perl interface to libapt-pkg

linux-base recommends no packages.

linux-base suggests no packages.

-- debconf information excluded

--
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 listmaster@lists.debian.org
Archive: 4BB544AD.2050709@nchc.org.tw">http://lists.debian.org/4BB544AD.2050709@nchc.org.tw
 
Old 04-02-2010, 08:03 AM
Ben Hutchings
 
Default Bug#576243: linux-base postinst exits when no /etc/fstab in Debian live

On Fri, 2010-04-02 at 09:13 +0800, Steven Shiau wrote:
> Package: linux-base
> Version: 2.6.33-1~experimental.2
> Severity: important
> Tags: sid
>
> *** 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
live-helper).

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.

Ben.

--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
 
Old 04-02-2010, 01:57 PM
Steven Shiau
 
Default 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:


Package: linux-base
Version: 2.6.33-1~experimental.2
Severity: important
Tags: sid

*** 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
live-helper).

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.

Ben.



Got it. Thanks.
Look forward to the next release.

Steven.

--
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 listmaster@lists.debian.org
Archive: 4BB5F7C0.8050806@nchc.org.tw">http://lists.debian.org/4BB5F7C0.8050806@nchc.org.tw
 

Thread Tools




All times are GMT. The time now is 09:29 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org