On Fri, 2005-07-15 at 15:24 +0200, Ákos Maróy wrote:
> I have the following problem with a new installation of mailman on
> CentOS Linux 4.1.

CentOS :-(

> I created my first list, and set the archives to be private. but when I
> try to access the archives, I get:
> 
> Private archive file not found
> 
> in the browser. moreover, in the mailman error log, I get the following:
> 
> Jul 15 10:22:25 2005 (14959) Private archive file not found:
> /var/lib/mailman/archives/private/proba/
> 
> 
> but it's all very strange, as the archives are actually there:
> 
> $ ls -l /var/lib/mailman/archives/private/proba/
> total 48
> drwxrwsr-x  2 mailman mailman 4096 Jul 14 13:08 2005-July
> -rw-rw-r--  1 mailman mailman  229 Jul 14 13:08 2005-July.txt
> -rw-rw-r--  1 mailman mailman  232 Jul 15 03:27 2005-July.txt.gz
> drwxrws---  2 mailman mailman 4096 Jul 14 13:08 database
> -rw-rw-r--  1 root    mailman 1025 Jul 14 13:08 index.html
> -rw-rw----  1 mailman mailman  845 Jul 14 13:08 pipermail.pck
> 
> 
> 
> and also, if I set the archives to be public, they are accessible
> through the link to myserver.com/pipermail/...
> 
> what could be the issue here?

It might be an SELinux policy violation.

Take a look in your /var/log/messages (or /var/log/audit/audit.log) file
after you get the failure and see if there is avc message denying access
(grep for "avc:"). I seem to recall a bug in an early version of
selinux-policy-targeted related to private archives which was fixed a
while ago by us.

If you do see such a message the solution is to upgrade the
selinux-policy-targeted rpm (or as a test you could put SELinux into
permissive mode, but you really don't want to run an open server in
permissive mode).

-- 
John Dennis <[EMAIL PROTECTED]>

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to