[apport] oem-config crashed with IOError in cleanup()

Bug #99211 reported by fromport
10
Affects Status Importance Assigned to Milestone
oem-config (Ubuntu)
Fix Released
Undecided
Colin Watson

Bug Description

Binary package hint: oem-config

installed oem config, logged in,from terminal
sudo oem-config
choose keyboard/location (time is wrong)
and while entering primary user data it barfs

ProblemType: Crash
Architecture: i386
Date: Fri Mar 30 15:32:39 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/sbin/oem-config
InterpreterPath: /usr/bin/python2.5
Package: oem-config 1.12
PackageArchitecture: i386
ProcCmdline: python /usr/sbin/oem-config
ProcCwd: /home/oem
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
PythonArgs: ['/usr/sbin/oem-config']
SourcePackage: oem-config
Uname: Linux unubut 2.6.20-12-generic #2 SMP Wed Mar 21 20:55:46 UTC 2007 i686 GNU/Linux

Related branches

Revision history for this message
fromport (ubuntu-dth) wrote :
Revision history for this message
fromport (ubuntu-dth) wrote :

Time was right (time is flying when you're having fun ;-)
I upgraded the machine (aptitude update; aptitude dist-upgrade)
reboot with latest kernel/xserver etc but still no go.
Installed strace and output is added to this bug report

Revision history for this message
Colin Watson (cjwatson) wrote :

Are you sure you're running oem-config as root (with sudo)? The crash dump indicates that you're actually running it as the oem user.

(Yes, oem-config should fail more gracefully in this case.)

Revision history for this message
Danny (dth) wrote : Re: [Bug 99211] Re: [apport] oem-config crashed with IOError in cleanup()

Quoting Colin Watson (<email address hidden>):
> Are you sure you're running oem-config as root (with sudo)? The crash
> dump indicates that you're actually running it as the oem user.
> (Yes, oem-config should fail more gracefully in this case.)

I tried both:

sudo oem-config
and

sudo -s
oem-config

Both gave me a crash

Danny

Revision history for this message
Colin Watson (cjwatson) wrote :

It might have been a different crash from this one, though. Feel free to report that separately.

Revision history for this message
Colin Watson (cjwatson) wrote :

oem-config (1.14) gutsy; urgency=low

  * Add an apport hook to attach /var/log/oem-config.log.
  * Strip binaries.
  * Print usage message and exit if any non-option arguments are supplied to
    oem-config; suggest oem-config-prepare (LP: #105940).
  * Update Japanese keyboard layout handling to match console-setup
    1.7ubuntu18, which uses jp(latin),jp by default (LP: #63915).
  * Teach oem-config-prepare to escalate privileges itself using gksudo,
    kdesu, etc. as appropriate, rather than requiring it to be invoked using
    sudo.
  * Add a desktop icon to the oem user's desktop to run oem-config-prepare
    (LP: #41698).
  * Display an error dialog and exit if running as non-root (LP: #99211).
  * Automatic update of included source packages: console-setup 1.15ubuntu1,
    localechooser 1.38ubuntu1, tzsetup 1:0.17, user-setup 1.14ubuntu1.

 -- Colin Watson <email address hidden> Thu, 17 May 2007 11:43:03 +0100

Changed in oem-config:
assignee: nobody → kamion
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.