Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Mark Sapiro
On 7/25/19 12:30 PM, Robert Kudyba wrote: > > Have you seen the suggestion to use Apache with suexec at > https://wiki.list.org/DOC/Apache+Suexec ? My first attempt was > unsuccessful, I kept getting: > Apache-Error: [file "util_script.c"] [line 497] [level 3] End of script > output before headers

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Dimitri Maziuk via Mailman-Users
On 7/25/19 2:30 PM, Robert Kudyba wrote: > Have you seen the suggestion to use Apache with suexec at > https://wiki.list.org/DOC/Apache+Suexec ? My first attempt was > unsuccessful FWIW I could never get suexec to work reliably. Repartition the drive properly (get rid of LVM), use ext4, mount wi

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Robert Kudyba
> > Also, manipulating ownership and permissions of config.pck files is not > a solution. Because of the way they are updated, changed permissions > will be reversed. > Yes I'm seeing that. This is a Fedora issue of some kind. You will have to contact Fedora. > I'll open a bug up at the Bugzilla

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Mark Sapiro
On 7/25/19 11:34 AM, Robert Kudyba wrote: > > Indeed you are correct: > > admin(15157): IOError: [Errno 13] Permission denied: > '/var/lib/mailman/lists/algs-da/config.pck' > admin(15157): Process effective group = apache > > Where do I change this? As far as I can see, everything you have i

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Robert Kudyba
> > To see the effective group that the CGIs run as, apply the attached > patch to /usr/lib/mailman/scripts/driver. This will print the effective > group of the process between the Traceback and the Python Information. > It should be 'mailman', but I think in your case it won't be. > Indeed you ar

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Mark Sapiro
On 7/25/19 7:50 AM, Robert Kudyba wrote: > OK almost there. I can get into the admin however for each list, I am still > getting permission errors. > > Here are the current perms: > ls -l /var/lib/mailman/lists/datastr > total 32 > -rw-rw-rw- 1 mailman mailman 9250 Jul 23 14:15 config.pck> -rw-rw-

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-25 Thread Robert Kudyba
OK almost there. I can get into the admin however for each list, I am still getting permission errors. Here are the current perms: ls -l /var/lib/mailman/lists/datastr total 32 -rw-rw-rw- 1 mailman mailman 9250 Jul 23 14:15 config.pck -rw-rw-rw- 1 mailman mailman 9250 Jul 23 09:00 config.pck.last

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 1:59 PM, Robert Kudyba wrote: > I’m getting some where here. First Apache httpd runs as user:apache: Right. > Now I see these files, and look at the owner: > ls -lt /var/lib/mailman/lists/mailman/ > total 184 > -rw-rw 1 apache mailman 4352 Jul 24 16:55 config.pck > -rw-rw

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 12:48 PM, Robert Kudyba wrote: > OK a new error. Could this be a python version issue? > https://mailman-users.python.narkive.com/UxwiPAK0/installation-problem > This is not a python issue. Logging.StampedLogger

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 12:39 PM, Robert Kudyba wrote: > > And /var/log/mailman/error: > Jul 24 15:30:38 2019 mailmanctl(23038): [Errno 3] No such process > Jul 24 15:30:38 2019 mailmanctl(23038): Stale pid file removed. > Jul 24 15:32:37 2019 mailmanctl(23422): No child with pid: 23332 > Jul 24 15:32:37 20

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
I’m getting some where here. First Apache httpd runs as user:apache: ps -auwx|grep httpd apache4765 0.0 0.0 48708 23972 ?S16:46 0:00 /usr/sbin/httpd -DFOREGROUND apache4766 0.0 0.0 2548332 31472 ? Sl 16:46 0:00 /usr/sbin/httpd -DFOREGROUND apache4768 0.0

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
OK a new error. Could this be a python version issue? https://mailman-users.python.narkive.com/UxwiPAK0/installation-problem ImportError: No module named Logging.StampedLogger [- Python Information -] sys.version

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
>> >> This did work a few weeks ago not sure when it started perhaps when dnf >> updated June 30. >> >> And now qrunner is failing to start: >> Jul 24 14:36:50 2019 (14350) Qrunner RetryRunner reached maximum restart >> limit of 10, not restarting. >> Jul 24 14:36:50 2019 (14350) Master qrunner

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 12:14 PM, Robert Kudyba wrote: > > This did work a few weeks ago not sure when it started perhaps when dnf > updated June 30. > > And now qrunner is failing to start: > Jul 24 14:36:50 2019 (14350) Qrunner RetryRunner reached maximum restart > limit of 10, not restarting. > Jul 24 14

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
> >>> Did you see my reply about the file system needing to be mounted suid? >> >> Yes I did an responded in line with the permissions of the sub-directories >> and files: >> ls -l /usr/lib/mailman/cgi-bin/ >> total 264 >> -rwxr-sr-x 1 mailman mailman 23048 Feb 12 06:54 admin > ... > > > I'm

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 11:28 AM, Robert Kudyba wrote: > >> >> All these files should be group 'mailman' and group writable and the >> process should be running with effective group 'mailman’. > > By “these files” do you mean in /usr/lib/mailman? Those definitely did not > have group write permissions. Do th

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
> On Jul 24, 2019, at 2:04 PM, Mark Sapiro wrote: > > On 7/24/19 10:44 AM, Robert Kudyba wrote: >> >> >> So no when trying to log in to the ~/mailman/admindb/mailman admin page I >> get the below error, notice it’s a different permission problem: >> >> Jul 24 13:41:51 2019 admin(5113): >>

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 10:44 AM, Robert Kudyba wrote: > > > So no when trying to log in to the ~/mailman/admindb/mailman admin page I get > the below error, notice it’s a different permission problem: > > Jul 24 13:41:51 2019 admin(5113): > > admin(5113): [---

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
>> My partial workaround so far has been to: >> chmod 666 /var/lib/mailman/lists/*/config.pck >> chattr +i /var/lib/mailman/lists/*/config.pck > > > chattr +i is certainly wrong. From `man chattr` > > >> A file with the `i' attribute cannot be modified: it cannot be deleted >> or

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
Another thing I neglected to mention, the file system containing the Mailman files must be mounted with the (default) suid option, not with nosuid. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, Californiabetter use your sense - B. Dylan --

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Mark Sapiro
On 7/24/19 6:20 AM, Robert Kudyba wrote: >> >> Thus, this is almost certainly a SELinux issue. Try disabling SELinux. >> If that solves the issue and you want to enable SELinux, you'll need to >> review/update your SELinux Policy. > > I should have mentioned it’s been disabled for quite a while: >

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-24 Thread Robert Kudyba
> The wrappers in /usr/lib/mailman/cgi-bin and in /usr/lib/mailman/mail > should all be group mailman and SETGID as in Indeed they are with user set to mailman: ls -l /usr/lib/mailman/cgi-bin/ total 264 -rwxr-sr-x 1 mailman mailman 23048 Feb 12 06:54 admin -rwxr-sr-x 1 mailman mailman 23048 Feb

Re: [Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-23 Thread Mark Sapiro
On 7/22/19 11:12 AM, Robert Kudyba wrote: > Does mailman 2.1 now need to run as the same user as Apache runs? No. > In our case httpd runs as the user ‘apache’ and mailman runs as ‘mailman’. I > reinstalled mailman and no difference. I’ve seen this error referenced > several time and to run che

[Mailman-Users] IOError: [Errno 13] Permission denied on config.pck in Fedora 30

2019-07-23 Thread Robert Kudyba
Does mailman 2.1 now need to run as the same user as Apache runs? In our case httpd runs as the user ‘apache’ and mailman runs as ‘mailman’. I reinstalled mailman and no difference. I’ve seen this error referenced several time and to run check_perms which I did. /usr/lib/mailman/bin/check_perms