[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandrake-cooker
Subject:    [Cooker] [Bug 9319] [mailman] Mailman logs permissions errors
From:       "[guillomovitch]" <bugzilla () qa ! linux-mandrake ! com>
Date:       2004-03-31 22:52:30
Message-ID: bug9319.20040401003043.774376 () qa ! linux-mandrake ! com
[Download RAW message or body]

http://qa.mandrakesoft.com/show_bug.cgi?id=9319





------- Additional Comments From guillomovitch@mandrake.org  2004-04-01 02:30 -------
Even if I changed layout drastically to achieve FHS compliance, this kind of
problem is quite curious. Those files are created at run-time, and I guess the
various scripts take care of ensuring correct perms, whereas group ownership is
ensured by the setgid bit for the log directory. For instance, smtp and qrunner
log files are OK. I'm gonna check with the developpers.

Could you check this is not yet another msec problem, due for instance to a
custom  setting from you ?

-- 
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


------- Reminder: -------
assigned_to: guillomovitch@mandrake.org
status: UNCONFIRMED
creation_date: 
description: 
Current permissions for mailman error logs are :

ls -l -d /var/log/mailman/
  -rw-r-----  1 mail mail   0 mar 28 04:03 error
  -rw-r-----  1 mail mail  28 mar 21 19:35 error.1.gz
  -rw-rw-r--  1 mail mail 464 mar 28 14:58 qrunner
  -rw-rw-r--  1 mail mail 131 mar 28 14:58 smtp

This is causing problem when using apache interface of mailman because apache
doesn't have enough privilege to read those error log, causing error in the
apache module :
Bug in Mailman version 2.1.4

We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a copy of this
page to the webmaster for this site with a description of what happened. Thanks!
Traceback:

Traceback (most recent call last):
  File "/usr/lib/mailman/scripts/driver", line 68, in run_main
    immediate=1)
  File "/usr/lib/mailman/Mailman/Logging/StampedLogger.py", line 52, in __init__
    Logger.__init__(self, category, nofail, immediate)
  File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 49, in __init__
    self.__get_f()
  File "/usr/lib/mailman/Mailman/Logging/Logger.py", line 67, in __get_f
    1)
  File "/usr/lib/python2.3/codecs.py", line 566, in open
    file = __builtin__.open(filename, mode, buffering)
IOError: [Errno 13] Permission denied: '/var/lib/mailman/logs/error'

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic