Ubuntu

[apport] senddigests crashed with IOError in __write()

Reported by Thomas Bleher on 2007-03-27
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mailman (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: mailman

To be honest: I didn't notice this flaw until apport signalled it; I once installed mailman, but completely forgot about it. I updated to Feisty a few days ago, and was running Edgy before (including all updates). I found mails in /var/spool/mail/list dating back to Feb 3.

The first mail is:
From: Cron Daemon <email address hidden>
Subject: Cron <list@thorium2> [ -x /usr/lib/mailman/cron/disabled ] && /usr/lib/mailman/cron/disabled
To: <email address hidden>

Traceback (most recent call last):
  File "/usr/lib/mailman/cron/disabled", line 220, in <module>
    main()
  File "/usr/lib/mailman/cron/disabled", line 149, in main
    mlist = MailList.MailList(listname)
  File "/var/lib/mailman/Mailman/MailList.py", line 128, in __init__
    self.Lock()
  File "/var/lib/mailman/Mailman/MailList.py", line 161, in Lock
    self.__lock.lock(timeout)
  File "/var/lib/mailman/Mailman/LockFile.py", line 243, in lock
    self.__write()
  File "/var/lib/mailman/Mailman/LockFile.py", line 422, in __write
    fp = open(self.__tmpfname, 'w')
IOError: [Errno 2] No such file or directory: '/var/lib/mailman/locks/mailman.lock.thorium2.7148.0'

The second one is:
From: Cron Daemon <email address hidden>
Subject: Cron <list@thorium2> [ -x /usr/lib/mailman/cron/senddigests ] && /usr/lib/mailman/cron/senddigests
To: <email address hidden>

Traceback (most recent call last):
  File "/usr/lib/mailman/cron/senddigests", line 94, in <module>
    main()
  File "/usr/lib/mailman/cron/senddigests", line 84, in main
    mlist.Lock()
  File "/var/lib/mailman/Mailman/MailList.py", line 161, in Lock
    self.__lock.lock(timeout)
  File "/var/lib/mailman/Mailman/LockFile.py", line 243, in lock
    self.__write()
  File "/var/lib/mailman/Mailman/LockFile.py", line 422, in __write
    fp = open(self.__tmpfname, 'w')
IOError: [Errno 2] No such file or directory: '/var/lib/mailman/locks/mailman.lock.thorium2.18051.0'

ProblemType: Crash
Architecture: i386
Date: Mon Mar 26 12:00:04 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/mailman/cron/senddigests
InterpreterPath: /usr/bin/python2.5
Package: mailman 1:2.1.9-4ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/lib/mailman/cron/senddigests
ProcCwd: /var/spool/cron
ProcEnviron:
 LANGUAGE=de_DE:de:en_GB:en
 PATH=/usr/bin:/bin
 LANG=de_DE.UTF-8
 SHELL=/bin/sh
PythonArgs: ['/usr/lib/mailman/cron/senddigests']
SourcePackage: mailman
Uname: Linux thorium2 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 GNU/Linux

Thomas Bleher (tbleher) wrote :
Thomas Bleher (tbleher) wrote :

A little further digging revealed: I had deactivated mailman by
# cd /etc/rc2.d; mv S20mailman K20mailman
(which I believe is the proper procedure). This may have been causing this bug.

Daniel Holbach (dholbach) wrote :

Thanks for your bug report.

Changed in mailman:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
old_toby (simon-hornweb) wrote :

Same here. The bug appears since I deactivated mailman.
Maybe there is a cron job trying to send digests without mailman being running...

old_toby (simon-hornweb) wrote :

I also get exactly the same crash (IOError in __write() ) with disabled and checkdbs.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers