sympa-community / sympa-community.github.io

Incubating the new Sympa documentation site
https://www.sympa.community
Other
11 stars 34 forks source link

on fresh install, $SYSCONFDIR and /usr/local/share/sympa/[abl]* should be made writable by sympa #62

Closed wfdudley closed 4 years ago

wfdudley commented 4 years ago

After a fresh install of sympa 6.2.54 on FreeBSD 11.3, the directory /usr/local/etc/sympa ($SYSCONFDIR) was owned by root:wheel. This should be changed to root:sympa, 775, so that sympa may modify the aliases.sympa.sendmail file. I suggest that sympa_wizard.pl check for this, since on a new install, the user is supposed to run the wizard.

Also, /usr/local/share/sympa (parent directory of $STATICDIR) has sub directories "arc", "bounce", and "list_data", and these should also be made writeable by sympa. Again, sympa_wizard.pl should check for and fix this.

ikedas commented 4 years ago

Hi @wfdudley ,

The bugs you reported look regarding a particular package (FreeBSD port) of Sympa.

Please submit problem report (PR) to the development team of FreeBSD.

This issue is closed. Thank you for your effort!

wfdudley commented 4 years ago

A smart developer would add the two lines of code to sympa_wizard.pl to make this work regardless of problems with the install scripts on different distributions. She would also add to the documentation to point out the ownership requirements for these directories. I guess we don't have those kinds of developers on this project.

ikedas commented 4 years ago

Sympa_wizard.pl is planned to be deprecated (see sympa-community/sympa#508). In the first place, permission of installed file is described in Makefile.am included in source distribution. Why should we repeat it on the other places? I guess we have those kind of lazy developers on this project.

wfdudley commented 4 years ago

I think that FreeBSD install scripts may have difficulties with setting permissions correctly. Mailman comes with a tool that checks the entire install for permission problems, and will optionally correct those problems.

I don't know anything about a Makefile. I install using the FreeBSD pkg system, and then I followed the directions in the sympa documentation. The permissions for other files (like the sympa sendmail aliases file) is mentioned in the documentation, and if this was universally followed, I wouldn't have wasted hours wondering why my Sympa install was failing at "create list".

If the developers want people to USE Sympa, then their job is to make it easy to install and use. I'm a fairly experienced UNIX sysadmin, and Perl programmer, and it took way to long for me to get the web interface working, and then to get the permission problems ironed out. If it wasn't for the mailing list, I'd have given up. If the docs had covered the permission requirements OR if the wizard (or a program like it) had found/fixed those problems, that would have been a huge help.

Bill Dudley

This email is free of malware because I run Linux.

On Thu, May 21, 2020 at 6:47 PM IKEDA Soji notifications@github.com wrote:

Sympa_wizard.pl is planned to be deprecated (see sympa-community/sympa#508 https://github.com/sympa-community/sympa/issues/508). In the first place, permission of installed file is described in Makefile.am included in source distribution. Why should we repeat it on the other places? I guess we have those kind of lazy developers on this project.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sympa-community/sympa-community.github.io/issues/62#issuecomment-632384169, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYUYH7VCCKGD7FSIGIHLRSWVOLANCNFSM4NHA5PZQ .

ikedas commented 4 years ago

If you wish the things to be changed on this project, please write the code and documentation by yourself, and please submit pull requests (see also this and this). Anyways you should understand that the developers are lazy and are not your secretaries.

wfdudley commented 4 years ago

Yeah. I am a retired developer. I prefer my code to be as fool proof as possible.

I've got my sympa installation working, though it's not clear I'll use it. I've tried to help other sympa installers avoid the problems I faced.

Thanks for your time.

Oh, and I'm sorry for my snotty tone in the first comment.

Bill Dudley

This email is free of malware because I run Linux.

On Thu, May 21, 2020 at 7:21 PM IKEDA Soji notifications@github.com wrote:

If you wish the things to be changed on this project, please write the code and documentation by yourself, and please submit pull requests (see also this https://github.com/sympa-community/sympa/blob/master/CONTRIBUTING.md and this https://github.com/sympa-community/sympa-community.github.io/blob/master/CONTRIBUTING.md). Anyways you should understand that the developers are lazy and are not your srcretaries.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/sympa-community/sympa-community.github.io/issues/62#issuecomment-632394110, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYUZNBAS5RJYTWLHVMWTRSWZORANCNFSM4NHA5PZQ .

ikedas commented 4 years ago

The developers on Sympa project focus on Sympa itself, but not on the issues specific to packaging for particular environment.

You know that problem of directory permission is the problem of FreeBSD package, and you should report problem to development team of FreeBSD at first. I think it's the best way to help other Sympa installers against this issue.

ikedas commented 3 years ago

Taken over by FreeBSD Bug 246702