the better solution would be if mailman reads the sysconfig file at startup. Not really. Of course, we could make this script a part of service startup entry. But let's see, do we have a feature or customer usecase for that? ;e) The way I see it, users can configure their mailman installation using mailman's own config files - which they would have to do anyway if they wanted to modify something beyond what sysconfig covers. I'm not sure why the sysconfig functionality was originally added and i'm not aware of any benefits over configuring mailman directly (esp. since you have to run mailman-generate-sysconfig afterwards). So perhaps we should stop pretending that sysconfig somehow does a better job and instead
Feature changed by: Michal Vyskocil (mvyskocil) Feature #313540, revision 9 Title: Get rid of SuSEconfig.mailman openSUSE Distribution: Done Priority Requester: Mandatory Projectmanager: Mandatory Requested by: Andreas Jaeger (a_jaeger) Partner organization: openSUSE.org Description: There is no point to run that code after installation of every package (and it's not run when you use zypper or 3rd party tools anyways). That code should be only run as a part of post-install of the mailman packages as only those are affected. Relations: - Remove SuSEconfig (feature/id: 100011) Discussion: #1: Christian Boltz (cboltz) (2012-10-02 19:24:34) SuSEconfig.mailman has/had to be run after changing /etc/sysconfig/mailman (but not in %post or something like that) https://build.opensuse.org/request/show/136611 (https://build.opensuse.org/request/show/136611) comes with this . changes entry: - removed SuSEconfig dependency * SuSEconfig.mailman is moved to a new location, and works pretty much the same way as before. which may or may not be a good thing, perhaps this functionality should be removed completely I tend to the "may not" part ;-) - the better solution would be if mailman reads the sysconfig file at startup. #2: Jan Matejek (matejcik) (2012-10-03 16:32:38) (reply to #1) provide instructions for the source config file? #3: Christian Boltz (cboltz) (2012-10-05 21:22:26) (reply to #2) Well, there are two ways: a) make sure the sysconfig file is read by mailman - for example in the initscript/.service file so that changes become active when mailman is (re)started b) drop the sysconfig file and let admins change the mailman config directly Both ways are good, even if they are totally different. And you are right that people will need to change the mailman config file if they want to change options not covered by sysconfig. The problem with the current way is that it's somewhere in between. I'm afraid most people won't see the "you have to run $SCRIPT afterwards" (which means the changes in sysconfig aren't applied) and they will just complain that this @§&$%§% sysconfig file doesn't work ;-) + #4: Michal Vyskocil (mvyskocil) (2012-10-25 09:40:54) + If that's done for openSUSE, this will be shared by SLE-12, so marked + as done as well. -- openSUSE Feature: https://features.opensuse.org/313540