[ mailman-Patches-761421 ] var_prefix directory mounted with
noatime breaks Mailman.
SourceForge.net
noreply at sourceforge.net
Thu Jun 26 17:38:47 EDT 2003
Patches item #761421, was opened at 2003-06-26 13:23
Message generated for change (Comment added) made by mkalika
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=761421&group_id=103
Category: None
Group: Mailman 2.1
>Status: Deleted
>Resolution: Invalid
Priority: 5
Submitted By: Max Kalika (mkalika)
Assigned to: Nobody/Anonymous (nobody)
Summary: var_prefix directory mounted with noatime breaks Mailman.
Initial Comment:
On a test machine:
ike mailman # mount
/dev/root on / type reiserfs (rw,noatime,notail)
ike mailman # su - mailman -c "bin/newlist list user at domain
pass"
Traceback (most recent call last):
File "bin/newlist", line 219, in ?
main()
File "bin/newlist", line 180, in main
mlist.Unlock()
File "/home/mailman/Mailman/MailList.py", line 165, in Unlock
self.__lock.unlock(unconditionally=1)
File "/home/mailman/Mailman/LockFile.py", line 321, in
unlock
islocked = self.locked()
File "/home/mailman/Mailman/LockFile.py", line 345, in
locked
self.__touch()
File "/home/mailman/Mailman/LockFile.py", line 442, in
__touch
os.utime(filename or self.__tmpfname, (t, t))
TypeError: utime() arg 2 must be a tuple (atime, mtime)
now, if you change the filesystem options...
ike mailman # mount
/dev/root on / type reiserfs (rw,notail)
ike mailman # su - mailman -c "bin/newlist list user at domain
pass"
To finish creating your mailing list, you must edit your
/etc/aliases (or equivalent) file by adding the following lines,
and possibly running the `newaliases' program:
## list mailing list
list: "|/home/mailman/mail/mailman post list"
list-admin: "|/home/mailman/mail/mailman admin list"
list-bounces: "|/home/mailman/mail/mailman bounces list"
....
The attached patch seems to fix the situation.
----------------------------------------------------------------------
>Comment By: Max Kalika (mkalika)
Date: 2003-06-26 16:38
Message:
Logged In: YES
user_id=805201
bah! please ignore this bug. the errors were caused due to
glibc/python/mailman being compiled with -march=pentium4 which
breaks some floating point calculations. sorry for the
inconvenience, everything is fine now.
----------------------------------------------------------------------
Comment By: Max Kalika (mkalika)
Date: 2003-06-26 14:24
Message:
Logged In: YES
user_id=805201
I found another place where this is happening. I reposted the
patch.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=761421&group_id=103
More information about the Mailman-coders
mailing list