Debian Bug report logs - #614159
upgrade-reports: [lenny->squeeze] Many issues/papercuts

Package: upgrade-reports; Maintainer for upgrade-reports is Debian Testing Group <debian-testing@lists.debian.org>;

Reported by: Josh Triplett <josh@joshtriplett.org>

Date: Sun, 20 Feb 2011 00:21:01 UTC

Severity: normal

Done: Holger Levsen <holger@layer-acht.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, josh@joshtriplett.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 00:21:04 GMT) Full text and rfc822 format available.

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

From: Josh Triplett <josh@joshtriplett.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sat, 19 Feb 2011 16:17:00 -0800
Package: upgrade-reports
Severity: normal

I just upgraded a laptop system from lenny to squeeze, and ran into a
pile of issues that made the upgrade rougher than optimal.  I took notes
during the upgrade, and I've expanded on those notes here to produce a
list of issues that could have gone a lot smoother in the upgrade
process.

- I started the upgrade within X.  Partway through the upgrade, dbus got
  upgraded, which restarted dbus and hal, and that caused xserver-xorg
  to hang.  Old bug, fixed after lenny, but when upgrading *from* lenny
  I hit it.  Ideally the upgrade process could work around this, or at
  least stop the upgrade and explain to upgrade some specific packages
  from a console, but at a minimum the release notes should explain what
  specific packages to upgrade first from a console.  Due to this issue,
  I did the rest of the upgrade from a console.

- Both libc6 and libpam0g prompted to restart services, causing them to
  get restarted twice in the same upgrade.

- Restarting gdm (each time) switches to the gdm terminal, so I had to
  switch *back* to the console to finish the upgrade.

- I got asked about migrating to dependency-based init.  This question
  ought to have a lower priority, if it gets asked at all; it has a very
  sensible default, particularly if all the init scripts on the system
  have proper dependency headers.

- Saw this message during the upgrade: "gs is already removed; it is
  recommended to run defoma-app purge gs".  Whatever needs doing, why
  can't the maintainer scripts handle it?  And in any case, this
  shouldn't just appear as a message scrolling by in the mountain of
  text associated with an upgrade.

- The laptop I helped upgrade had a Windows partition on it, with a
  manually-configured entry in menu.lst to boot it.  Perhaps when
  upgrading to grub2, some relevant script could auto-detect an entry in
  menu.lst with "chainload" in it, and help make sure os-prober gets
  installed later, or at least warn the user that they need to install
  it.

- When I manually installed os-prober later, that didn't cause
  update-grub to run automatically.  I had to run it by hand.

- The system had an increased timeout in menu.lst (since the GRUB menu
  sometimes took an extra few seconds to show up due to video mode
  changes on an external monitor, making the effective timeout only
  about 2 seconds).  Consider automatically migrating the "timeout"
  setting from menu.lst into GRUB_TIMEOUT in /etc/default/grub.

- The UUID migration done by the kernel packages complained that the
  bootloader configuration wasn't recognized and fully migrated
  (possibly related to GRUB -> GRUB2 migration?)

- The system didn't get automatically migrated from gdm to gdm3.

- When I later manually installed gdm3, I got prompted for the preferred
  display manager, even though the same apt run removed gdm since gdm3
  conflicted with it.

- udev renamed all network interfaces to new names after the upgrade,
  despite the MAC addresses and similar not changing.  I had to manually
  edit persistent-net.rules to fix them back to eth0 and wlan0.

- The new version of NetworkManager asked network credentials again, due
  to it storing the network credentials differently than the version in
  lenny.  This required digging up the network authentication
  credentials again and manually re-entering them.  NetworkManager
  should automatically migrate the old credentials.  (On the bright
  side, the ability in the new version to mark networks as available for
  all users: *awesome*.)

- I ended up grabbing 2.6.37 from unstable to get a better wireless
  driver.  When I installed 2.6.37, it warned about missing firmware
  from firmware-iwlwifi, but the system already had the latest version
  of firmware-iwlwifi installed.


- Josh Triplett




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 00:57:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Testing Group <debian-testing@lists.debian.org>. (Sun, 20 Feb 2011 00:57:05 GMT) Full text and rfc822 format available.

Message #8 received at 614159@bugs.debian.org (full text, mbox):

From: Steve Langasek <vorlon@debian.org>
To: Josh Triplett <josh@joshtriplett.org>, 614159@bugs.debian.org
Subject: Re: Bug#614159: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sat, 19 Feb 2011 16:55:16 -0800
[Message part 1 (text/plain, inline)]
On Sat, Feb 19, 2011 at 04:17:00PM -0800, Josh Triplett wrote:

> - Both libc6 and libpam0g prompted to restart services, causing them to
>   get restarted twice in the same upgrade.

Not a bug.  Each of these libraries need to make sure services are restarted
for compatibility with their own set of dynamically loadable plugins on the
system.  Thus, to keep the services operational during the upgrade, the
affected services must be restarted after unpack of *each* of the libraries
in question.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 02:09:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh Triplett <josh@joshtriplett.org>:
Extra info received and forwarded to list. Copy sent to Debian Testing Group <debian-testing@lists.debian.org>. (Sun, 20 Feb 2011 02:09:06 GMT) Full text and rfc822 format available.

Message #13 received at 614159@bugs.debian.org (full text, mbox):

From: Josh Triplett <josh@joshtriplett.org>
To: Steve Langasek <vorlon@debian.org>
Cc: 614159@bugs.debian.org
Subject: Re: Bug#614159: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sat, 19 Feb 2011 18:07:06 -0800
On Sat, Feb 19, 2011 at 04:55:16PM -0800, Steve Langasek wrote:
> On Sat, Feb 19, 2011 at 04:17:00PM -0800, Josh Triplett wrote:
> 
> > - Both libc6 and libpam0g prompted to restart services, causing them to
> >   get restarted twice in the same upgrade.
> 
> Not a bug.  Each of these libraries need to make sure services are restarted
> for compatibility with their own set of dynamically loadable plugins on the
> system.  Thus, to keep the services operational during the upgrade, the
> affected services must be restarted after unpack of *each* of the libraries
> in question.

The net result still feels less than impressive, regardless of the
technical reasons behind the two separate prompts and restarts.

Thinking beyond the bounds of just what a maintainer script can do, can
you think of any technical solution to avoid one or both of these
restarts?

- Josh Triplett




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 05:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Steve Langasek <vorlon@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Testing Group <debian-testing@lists.debian.org>. (Sun, 20 Feb 2011 05:03:03 GMT) Full text and rfc822 format available.

Message #18 received at 614159@bugs.debian.org (full text, mbox):

From: Steve Langasek <vorlon@debian.org>
To: Josh Triplett <josh@joshtriplett.org>
Cc: 614159@bugs.debian.org
Subject: Re: Bug#614159: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sat, 19 Feb 2011 21:00:29 -0800
[Message part 1 (text/plain, inline)]
On Sat, Feb 19, 2011 at 06:07:06PM -0800, Josh Triplett wrote:
> On Sat, Feb 19, 2011 at 04:55:16PM -0800, Steve Langasek wrote:
> > On Sat, Feb 19, 2011 at 04:17:00PM -0800, Josh Triplett wrote:

> > > - Both libc6 and libpam0g prompted to restart services, causing them to
> > >   get restarted twice in the same upgrade.

> > Not a bug.  Each of these libraries need to make sure services are restarted
> > for compatibility with their own set of dynamically loadable plugins on the
> > system.  Thus, to keep the services operational during the upgrade, the
> > affected services must be restarted after unpack of *each* of the libraries
> > in question.

> The net result still feels less than impressive, regardless of the
> technical reasons behind the two separate prompts and restarts.

> Thinking beyond the bounds of just what a maintainer script can do, can
> you think of any technical solution to avoid one or both of these
> restarts?

Sure, you can stop all services on your system before you upgrade.

The services in question will be unusable from the time the modules in
question are unpacked on the system (nss modules and pam modules,
respectively) and will only be usable again once they've been restarted.  An
arbitrary subset of these services may be critical to the system (and may
even be critical for the admin's access to the system during the upgrade),
so this window needs to be kept as small as possible (0 in the case of
libpam, and between libc unpack and libc configure in the case of libc).

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 14:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Javier Fernández-Sanguino Peña <jfs@computer.org>:
Extra info received and forwarded to list. Copy sent to Debian Testing Group <debian-testing@lists.debian.org>. (Sun, 20 Feb 2011 14:39:03 GMT) Full text and rfc822 format available.

Message #23 received at 614159@bugs.debian.org (full text, mbox):

From: Javier Fernández-Sanguino Peña <jfs@computer.org>
To: Josh Triplett <josh@joshtriplett.org>, 614159@bugs.debian.org
Subject: Re: Bug#614159: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sun, 20 Feb 2011 15:36:48 +0100
[Message part 1 (text/plain, inline)]
On Sat, Feb 19, 2011 at 04:17:00PM -0800, Josh Triplett wrote:
> - I started the upgrade within X.  Partway through the upgrade, dbus got
(...)
>   specific packages to upgrade first from a console.  Due to this issue,
>   I did the rest of the upgrade from a console.

This is the recommended mechanism for upgrades, see:
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#upgrade-preparations


> - Restarting gdm (each time) switches to the gdm terminal, so I had to
>   switch *back* to the console to finish the upgrade.

Described already in the Release Notes, see:
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#console-change

> - udev renamed all network interfaces to new names after the upgrade,
>   despite the MAC addresses and similar not changing.  I had to manually
>   edit persistent-net.rules to fix them back to eth0 and wlan0.

This is not expected, device renumbering could happen (see
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#device-reorder).
Did you have the proper rules defined in
/etc/udev/rules.d/70-persistent-net.rules or did they change?


> - I ended up grabbing 2.6.37 from unstable to get a better wireless
>   driver.  When I installed 2.6.37, it warned about missing firmware
>   from firmware-iwlwifi, but the system already had the latest version
>   of firmware-iwlwifi installed.

Maybe this needs to be submitted as a separate bug report to the kernel
maintainers.

Do you have a full log of the upgrade (as described in [1]) this could be
helpful to review it.

Regards

Javier

[1]
http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#record-session

> 
> 
> - Josh Triplett
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-testing-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110220001700.16210.85893.reportbug@feather
> 
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Testing Group <debian-testing@lists.debian.org>:
Bug#614159; Package upgrade-reports. (Sun, 20 Feb 2011 16:33:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh Triplett <josh@joshtriplett.org>:
Extra info received and forwarded to list. Copy sent to Debian Testing Group <debian-testing@lists.debian.org>. (Sun, 20 Feb 2011 16:33:06 GMT) Full text and rfc822 format available.

Message #28 received at 614159@bugs.debian.org (full text, mbox):

From: Josh Triplett <josh@joshtriplett.org>
To: 614159@bugs.debian.org
Subject: Re: Bug#614159: upgrade-reports: [lenny->squeeze] Many issues/papercuts
Date: Sun, 20 Feb 2011 08:30:11 -0800
On Sun, Feb 20, 2011 at 03:36:48PM +0100, Javier Fernández-Sanguino Peña wrote:
> On Sat, Feb 19, 2011 at 04:17:00PM -0800, Josh Triplett wrote:
> > - I started the upgrade within X.  Partway through the upgrade, dbus got
> (...)
> >   specific packages to upgrade first from a console.  Due to this issue,
> >   I did the rest of the upgrade from a console.
> 
> This is the recommended mechanism for upgrades, see:
> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#upgrade-preparations

Good to know, but a release note just notes an issue that needs working
around; always better to fix the system so the release note no longer
applies. :)

> > - Restarting gdm (each time) switches to the gdm terminal, so I had to
> >   switch *back* to the console to finish the upgrade.
> 
> Described already in the Release Notes, see:
> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#console-change

Good to know that the release notes document this bug, but it still
seems better to fix it than document it. :)

> > - udev renamed all network interfaces to new names after the upgrade,
> >   despite the MAC addresses and similar not changing.  I had to manually
> >   edit persistent-net.rules to fix them back to eth0 and wlan0.
> 
> This is not expected, device renumbering could happen (see
> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#device-reorder).
> Did you have the proper rules defined in
> /etc/udev/rules.d/70-persistent-net.rules or did they change?

After upgrading, 70-persistent-net.rules contained multiple rules for
the same devices with the same MAC addresses.  I saw that the MAC
addresses matched, but I didn't compare the lines closely other than
that.  I probably should have recorded the exact contents before fixing
it by deleting the original lines and renumbering the new ones.

> > - I ended up grabbing 2.6.37 from unstable to get a better wireless
> >   driver.  When I installed 2.6.37, it warned about missing firmware
> >   from firmware-iwlwifi, but the system already had the latest version
> >   of firmware-iwlwifi installed.
> 
> Maybe this needs to be submitted as a separate bug report to the kernel
> maintainers.

Sure, done.  I wanted to include the full narrative of the upgrade in a
single report to note the issues that arose, but I can still help split
out individual reports as appropriate.

> Do you have a full log of the upgrade (as described in [1]) this could be
> helpful to review it.
[...]
> [1]
> http://www.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html#record-session

No, I don't have a script log of the upgrade.

- Josh Triplett




Reply sent to Holger Levsen <holger@layer-acht.org>:
You have taken responsibility. (Mon, 29 Apr 2013 22:39:08 GMT) Full text and rfc822 format available.

Notification sent to Josh Triplett <josh@joshtriplett.org>:
Bug acknowledged by developer. (Mon, 29 Apr 2013 22:39:08 GMT) Full text and rfc822 format available.

Message #33 received at 614159-done@bugs.debian.org (full text, mbox):

From: Holger Levsen <holger@layer-acht.org>
To: 614159-done@bugs.debian.org
Subject: closing, now is the time for squeeze2wheezy upgrades ;-)
Date: Tue, 30 Apr 2013 00:37:43 +0200
[Message part 1 (text/plain, inline)]
Hi,

thanks for the bug report which I'm now closing, as there are no individual 
issues left to address and since we're about to release wheeeeeeezyyy!


cheers,
	Holger

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

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 28 May 2013 07:28:10 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 16:09:31 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.