[Bug 982082] Re: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error

Barry Warsaw 982082 at bugs.launchpad.net
Thu Jun 6 19:03:47 UTC 2013


After discussion on IRC and some additional investigations, it seems
like what's happening is that stderr is being closed at some point
during the update-motd process.  If stderr is closed, then lsb_release
can exit with a non-zero status, and this will cause check-new-release
to try to write to stderr, which will cause the IOError if it's closed.

It's not entirely clear to us why or how stderr can get closed, and no
one here has been able to reproduce the problem.  However, we have a
possible workaround.  If you are having the problem, please try the
attached patch and see if that fixes the bug.  If so, we'll get this
into saucy and SRU it into stable releases.

Note this is only a workaround, but after discussion with Colin, and in
the absence of a reproducer or more information, it's probably still
reasonable to apply this.  You may need to apply this diff to /etc
/update-motd.d/91-release-upgrade


** Patch added: "motd.diff"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+attachment/3696615/+files/motd.diff

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: Triaged => Incomplete

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Barry Warsaw (barry)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/982082

Title:
  do-release-upgrade crashed with IOError in init_proxy(): [Errno 5]
  Input/output error

Status in “ubuntu-release-upgrader” package in Ubuntu:
  Incomplete

Bug description:
  machine upgrade from 11.10
  machine reboot
  this bug experienced
  same type of error after machine suspend and restarted.

  ProblemType: Crash
  DistroRelease: Ubuntu 12.04
  Package: update-manager-core 1:0.156.11
  ProcVersionSignature: Ubuntu 3.2.0-23.36-generic 3.2.14
  Uname: Linux 3.2.0-23-generic i686
  ApportVersion: 2.0.1-0ubuntu2
  Architecture: i386
  Date: Sat Apr 14 14:57:33 2012
  ExecutablePath: /usr/bin/do-release-upgrade
  GsettingsChanges:
   
  InterpreterPath: /usr/bin/python2.7
  ProcCmdline: /usr/bin/python /usr/lib/update-manager/check-new-release -q
  ProcEnviron:
   LANGUAGE=fr_FR:fr:en_GB:en
   PATH=(custom, user)
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  PythonArgs: ['/usr/lib/update-manager/check-new-release', '-q']
  SourcePackage: update-manager
  Title: do-release-upgrade crashed with IOError in init_proxy(): [Errno 5] Input/output error
  UpgradeStatus: Upgraded to precise on 2012-04-14 (0 days ago)
  UserGroups:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/982082/+subscriptions




More information about the foundations-bugs mailing list