[apport] unattended-upgrade crashed with IOError in basicConfig()

Bug #87338 reported by Hans Harhoff Andersen
8
Affects Status Importance Assigned to Milestone
unattended-upgrades (Ubuntu)
Fix Released
Low
Michael Vogt

Bug Description

Binary package hint: unattended-upgrades

No idea

ProblemType: Crash
Date: Thu Feb 15 10:27:46 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/unattended-upgrade
InterpreterPath: /usr/bin/python2.5
Package: unattended-upgrades 0.22ubuntu1
ProcCmdline: /usr/bin/python /usr/bin/unattended-upgrade
ProcCwd: /home/hans
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=da_DK.UTF-8
 LANGUAGE=da_DK:da:en_GB:en
PythonArgs: ['/usr/bin/unattended-upgrade']
SourcePackage: unattended-upgrades
Uname: Linux hans-server 2.6.20-8-generic #2 SMP Tue Feb 13 05:18:42 UTC 2007 i686 GNU/Linux

Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote :
Revision history for this message
Cristian Aravena Romero (caravena) wrote :

Thanks for taking the time to report this bug. Unfortunately we can't fix it, because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>. We'd be grateful if you would then provide a more complete description of the problem.

We have instructions on debugging some types of problems. <http://wiki.ubuntu.com/DebuggingProcedures> Thanks!

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Can you please give the output of:
$ ls -l /var/log/unattended-upgrades.log

did you run unattended-upgrades by-hand when this error occured?

Thanks,
 Michael

Changed in unattended-upgrades:
status: Unconfirmed → Needs Info
Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote : Re: [Bug 87338] Re: [apport] unattended-upgrade crashed with IOError in basicConfig()

 ls -l /var/log/unattended-upgrades.log doesn't output anything. No
file. No I did not run anything.

On 3/22/07, Michael Vogt <email address hidden> wrote:
> Thanks for your bugreport.
>
> Can you please give the output of:
> $ ls -l /var/log/unattended-upgrades.log
>
> did you run unattended-upgrades by-hand when this error occured?
>
> Thanks,
> Michael
>
> ** Changed in: unattended-upgrades (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> [apport] unattended-upgrade crashed with IOError in basicConfig()
> https://launchpad.net/bugs/87338
>

Revision history for this message
Michael Vogt (mvo) wrote :

Urgh, sorry. Typo in the command I send. Please run:

$ ls -la /var/log/unattended-upgrades

Thanks,
 Michael

Revision history for this message
Hans Harhoff Andersen (hansharhoff) wrote :

drwxr-xr-x 2 root root 4096 2007-01-23 12:49 .
drwxr-xr-x 13 root root 4096 2007-03-23 21:50 ..

Sorry it seems there is nothing there. Well if it happens again I will
try again.

On 3/23/07, Michael Vogt <email address hidden> wrote:
> Urgh, sorry. Typo in the command I send. Please run:
>
> $ ls -la /var/log/unattended-upgrades
>
> Thanks,
> Michael
>
> --
> [apport] unattended-upgrade crashed with IOError in basicConfig()
> https://launchpad.net/bugs/87338
>

Revision history for this message
mjrclark (mjrclark) wrote :

I got the same error, also no file in the place given, but also no folder in the place given. I had recently deleted the entire content of /var/log (but before the crash) so that might explain the crash, if it presumes the folder exists.

Revision history for this message
Marco Rodrigues (gothicx) wrote :

At Feisty...

kmos@bash:~$ ls -l /var/log/unattended-upgrades.log
ls: /var/log/unattended-upgrades.log: No such file or directory

Changed in unattended-upgrades:
status: Incomplete → Confirmed
Revision history for this message
Marco Rodrigues (gothicx) wrote :

kmos@bash:~$ ls -la /var/log/unattended-upgrades
ls: /var/log/unattended-upgrades: No such file or directory

Changed in unattended-upgrades:
importance: Undecided → Low
Michael Vogt (mvo)
Changed in unattended-upgrades:
assignee: nobody → mvo
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package unattended-upgrades - 0.30ubuntu1

---------------
unattended-upgrades (0.30ubuntu1) hardy; urgency=low

  [ John Edwards ]
  * fix missing spaces in the log file (LP: #136452)
  * add better comments and examples to data/50unattended-upgrades

  [ Michael Vogt ]
  * README improved based on Johns suggestions (thanks!)
  * fix grammer and dated reference to dapper (LP: #140038),
    thanks to Christer Edwards for the suggestions
  * add "mailx" to suggests (LP: #137994)
  * show propper log output if mail is not available (LP: #137994)
  * show packages that are held back from the upgrade because of
    conffile prompt in the log as a warning (LP: #133551)
  * create logdir if it does not exist (LP: #87338)
  * fix error when installing from file:// uris (LP: #56832)

 -- Michael Vogt <email address hidden> Mon, 10 Mar 2008 11:57:17 +0100

Changed in unattended-upgrades:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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