Debian Bug report logs - #15162
lilo 19-2 postinst does not expect abort-upgrade

Package: lilo; Maintainer for lilo is Joachim Wiedorn <joodebian@joonet.de>; Source for lilo is src:lilo (PTS, buildd, popcon).

Reported by: Joey Hess <joeyh@debian.org>

Date: Sun, 23 Nov 1997 01:18:03 UTC

Severity: normal

Done: Joey Hess <joeyh@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#15162; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Joey Hess <joey@kitenet.net>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joey@kitenet.net>
To: submit@bugs.debian.org
Subject: dpkg: error, but dpkg does not detect it
Date: 23 Nov 1997 01:22:34 -0000
Package: dpkg
Version: 1.4.0.19

Preparing to replace lilo 19-2 (using .../base/lilo_20-0.1.deb) ...
Unpacking replacement lilo ...
dpkg: error processing
/var/mirror/debian/dists/unstable/main/binary-i386/base/lilo_20-0.1.deb
(--unpack):
 error setting ownership of `boot/boot.b': Operation not permitted
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running /usr/sbin/liloconfig

LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

You already have a LILO configuration in the file /etc/lilo.conf
Install a boot block using your current LILO configuration? [Yes] y
Running lilo
open /boot/boot.b: No such file or directory


My /boot directory happens to be a umsdos filesystem. But when I tried that
install of lilo, it was mounted as a dos filessystem. The bug is that though
dpkg evidently had problems setting permissions or something, it didn't bomb
out there, it went on to run the postinst. And dpkg doesn't know the lilo
package is broken:

joey@kite:~>dpkg -C
joey@kite:~>dpkg -s lilo
Package: lilo
Status: install ok installed
Priority: important
Section: base
Installed-Size: 212
Maintainer: Bernd Eckenfels <ecki@debian.org>
Version: 19-2
Depends: mbr
Description: LInux LOader - Loads Linux from the hard disk without a floppy.
 This program will set up your hard disk to boot Linux.

joey@kite:~>ls -l /boot/boot.b
ls: /boot/boot.b: No such file or directory
joey@kite:~>dpkg -L lilo |grep boot.b
/boot/boot.b

-- System Information
Debian Release: 1.3
Kernel Version: Linux kite 2.1.65 #1 Tue Nov 18 16:14:44 EST 1997 i586 unknown

Versions of the packages dpkg depends on:
libc6	Version: 2.0.5c-0.1
libg++272	Version: 2.7.2.8-0.1
ncurses3.4	Version: 1.9.9g-5


Merged 15162 15695. Request was from Michael Piefel <piefel@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15162 from all other report(s). Request was from Adam Heath <doogie@brainfood.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 15865 65690 82407 89771 95570 96391 106224 121173 178735. Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Disconnected #15865 from all other report(s). Request was from Thomas Hood <jdthood@yahoo.co.uk> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 178735 236733. Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 170869 178735 236733. Request was from jdthood@yahoo.co.uk (Thomas Hood) to control@bugs.debian.org. (full text, mbox, link).


Merged 15162 15695 65690 82407 89771 95570 96391 106224 121173 170869 178735 201848 236733. Request was from jdthood@yahoo.co.uk (Thomas Hood) to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#15162; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Scott James Remnant <scott@netsplit.com>:
Extra info received and forwarded to list. (full text, mbox, link).


Message #24 received at 15162@bugs.debian.org (full text, mbox, reply):

From: Scott James Remnant <scott@netsplit.com>
To: Andrés Roldán <aroldan@debian.org>, Joey Hess <joey@kitenet.net>, 15162@bugs.debian.org
Subject: Not a dpkg bug
Date: Sun, 17 Jul 2005 00:31:20 +0300
[Message part 1 (text/plain, inline)]
unmerge 15162
reassign 15162 lilo
kthxbye

This is not a bug in dpkg, it has caught the fact it can't change the
ownership of /boot/boot.b on an MS-DOS filesystem and has aborted the
upgrade (as you can tell from your own status output).

As part of the process of aborting the upgrade, it will run the postinst
of the old version of lilo with the arguments "abort-upgrade 20-0.1".

Clearly the postinst of lilo version 19-2 does not expect to get
abort-upgrade, and carries on as normal.

Please check whether the current version still exhibits this bug.

Thanks,

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?
[signature.asc (application/pgp-signature, inline)]

Disconnected #15162 from all other report(s). Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg' to `lilo'. Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title. Request was from Scott James Remnant <scott@netsplit.com> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug submitter from Joey Hess <joey@kitenet.net> to Joey Hess <joeyh@debian.org>. Request was from Joey Hess <joeyh@debian.org> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Joey Hess <joeyh@debian.org>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Joey Hess <joeyh@debian.org>:
Bug acknowledged by developer. (full text, mbox, link).


Message #37 received at 15162-done@bugs.debian.org (full text, mbox, reply):

From: Joey Hess <joeyh@debian.org>
To: 15162-done@bugs.debian.org
Subject: fixed..
Date: Wed, 27 Jul 2005 23:38:09 -0400
[Message part 1 (text/plain, inline)]
Verified this is fixed in lilo's postinst.

FWIW, the preinst lacks proper support for error-unwind, but will only
delete some junk and print a warning to stdout if it has to unwind.

-- 
see shy jo
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 18 Jun 2007 12:05:03 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Mar 28 08:12:26 2024; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.