Mailman does not honour MAILMAN_USER on startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mailman (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am running mailman as www-data:list rather than as list:list. After a reboot something keeps resetting the ownership /var/run/mailman from www-data:list to list:list. After each reboot I have to reset/restart manually. All other directories & files are fine.
I have hunted all over but I cannot find where this is happening.
This is the tail of /etc/mailman/
#------
# Uncomment if you want to filter mail with SpamAssassin. For
# more information please visit this website:
# http://
# GLOBAL_
# Note - if you're looking for something that is imported from mm_cfg, but you
# didn't find it above, it's probably in /usr/lib/
MAILMAN_USER = 'www-data'
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: mailman 1:2.1.29-1ubuntu3
ProcVersionSign
Uname: Linux 5.4.0-66-generic x86_64
ApportVersion: 2.20.11-
Architecture: amd64
CasperMD5CheckR
Date: Mon Mar 1 17:03:44 2021
InstallationDate: Installed on 2021-01-14 (46 days ago)
InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
SourcePackage: mailman
UpgradeStatus: No upgrade log present (probably fresh install)
Thank you for taking the time to file a bug report.
Checking the mailman package in Ubuntu Focal I see the logrotate file installed by this package contains some postrotate scripts that might be setting back the ownership to list:list. Take a look at /etc/logrotate. d/mailman and try to make the appropriate changes.
Since it seems likely to me that this is a local configuration problem,
rather than a bug in Ubuntu, I am marking this bug as 'Incomplete'.
However, if you believe that this is really a bug in Ubuntu, then we would
be grateful if you would provide a more complete description of the problem
with steps to reproduce, explain why you believe this is a bug in Ubuntu
rather than a problem specific to your system, and then change the bug
status back to "New".
For local configuration issues, you can find assistance here: www.ubuntu. com/support/ community
http://