[Mailman-Users] Mailman 1.0 & OpenBSD 2.5 & Python 1.5b2

Nicholas Brenckle nicholas.brenckle at yale.edu
Fri Aug 13 21:55:13 CEST 1999

I installed the patch as posted by Tor Houghton (mailman-users : 30
March 1999 -
http://www.python.org/pipermail/mailman-users/1999-March/000941.html )
This didnt work for me. I still receive the error on newlist creation
(see below) This is on an OpenBSD 2.5 system and Python 1.5b2.

A little more poking and I found the solution was to set the list to
'openbsd2' instead of 'openbsd' in the posixfile.py lib file.

Is now:        if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3'):
Change to:       if sys.platform in ('netbsd1', 'freebsd2', 'freebsd3',

There are two lines that contain the same thing (checking for netbsd and
freebsd) add the 'openbsd2' to each of them.


Nicholas Brenckle                   Yale University School of Medicine
nicholas.brenckle at yale.edu                     ITS Med - PO Box 208089
203-737-2377                                  New Haven, CT 06520-8089

Error Message I was getting before the fix to the posixfile.py:

Traceback (innermost last):
  File "bin/newlist", line 146, in ?
    raise SystemExit(main(sys.argv))
  File "bin/newlist", line 93, in main
    newlist.Create(list_name, owner_mail, pw)
  File "/home/mailman/Mailman/MailList.py", line 724, in Create
  File "/home/mailman/Mailman/MailList.py", line 1379, in Lock
    self._lock_file.lock('w|', 1)
  File "/usr/local/lib/python1.5/posixfile.py", line 190, in lock
    flock = fcntl.fcntl(self._file_.fileno(), cmd, flock)
IOError: [Errno 22] Invalid argument

More information about the Mailman-Users mailing list