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