Closed Bug 756046 Opened 12 years ago Closed 11 years ago

mailman rpm issues

Categories

(Infrastructure & Operations :: Infrastructure: Other, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: justdave, Assigned: mburns)

References

Details

issues with our in-house mailman SRPM that I need to fix:

1) mozcss directory gets wrong permissions and isn't readable by the webserver

2) /var/lock/mailman directory isn't created, which causes mailman to fail to start until it gets created.
3) /var/run/mailman directory isn't created.
4) python 2.6 chokes on undeclared utf-8 content.  The default mm_cfg.py needs the following line added at the top of it:

# -*- coding: utf-8 -*-
5) /var/lib/mailman/archives/private gets created as 2775 mailman:apache, this causes lists created via the web interface to be unwritable by the archiver. It should be 2775 apache:mailman <- this is probably an upstream bug in RedHat's Mailman package
Blocks: 770423
In builing a new mailman rpm, I've gotten myself acquainted with the SPEC file and the directory structure it defines. I can include these changes.
Assignee: justdave → mburns
Status: NEW → ASSIGNED
1-3 were in place. I've finished 4 and 5.

1. done "- fix perms on mozcss directory the correct way"
2. done %define lockdir /var/lock/%{name}
3. done %define piddir /var/run/%{name}

4. bug 815466 caught any last non-utf-8 declaring stragglers.

5. This is currently out of sync with comment 3 . I'll confirm this in staging and revert if needed. Would need a chown or puppet permission rule to migrate to.

ls -lh /var/lib/mailman/archives/private/foobar
drwxrwsr-x    9 apache mailman 4.0K Apr 1  03:27 foobar

SPEC/mailman.spec:
%attr(2770, apache,  mailman) %{archivesdir}/private
%attr(2770, mailman, apache)  %{archivesdir}/private
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Component: Server Operations: Infrastructure → Infrastructure: Other
Product: mozilla.org → Infrastructure & Operations
You need to log in before you can comment on or make changes to this bug.