[opensuse-factory] Postfix in Factory
Hi, I'm currently looking at mailman because it's currently not building on Factory anymore: Error log: https://build.opensuse.org/package/live_build_log/openSUSE:Leap:42.3:Staging... postalias: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix mailman is using postalias in %post to integrate the mailman aliases file. This action is actually optional so it does not depend on the command to be available. But then again when available it expects it to work which is currently not the case in the build environment because Postfix is configured to run as user "postfix" but in the chroot this user does not exist even with postfix package installed. I'm not sure why that is because I do not see a relevant change in Postfix (neither in mailman) which might have caused it. So it's unclear to me at the moment what's wrong or against which component I should file a bugreport. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 06.03.2017 um 08:17 schrieb Wolfgang Rosenauer:
Hi,
I'm currently looking at mailman because it's currently not building on Factory anymore:
to complete my comment. It also fails on 42.3 and 42.2 now while it still was working a few days ago and also on a slightly older snapshot of 42.3. So a recent submission of _something_ to 42.3 and 42.2 _or_ a change in OBS broke it? Or I am missing something obvious?
Error log: https://build.opensuse.org/package/live_build_log/openSUSE:Leap:42.3:Staging...
postalias: fatal: file /etc/postfix/main.cf: parameter mail_owner: unknown user name value: postfix
mailman is using postalias in %post to integrate the mailman aliases file. This action is actually optional so it does not depend on the command to be available. But then again when available it expects it to work which is currently not the case in the build environment because Postfix is configured to run as user "postfix" but in the chroot this user does not exist even with postfix package installed. I'm not sure why that is because I do not see a relevant change in Postfix (neither in mailman) which might have caused it.
So it's unclear to me at the moment what's wrong or against which component I should file a bugreport.
Wolfgang
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Mon, 2017-03-06 at 08:28 +0100, Wolfgang Rosenauer wrote:
mailman is using postalias in %post to integrate the mailman
aliases file. This action is actually optional so it does not depend on the command to be available. But then again when available it expects it to work which is currently not the case in the build environment because Postfix is configured to run as user "postfix" but in the chroot this user does not exist even with postfix package installed. I'm not sure why that is because I do not see a relevant change in Postfix (neither in mailman) which might have caused it.
So it's unclear to me at the moment what's wrong or against which component I should file a bugreport.
Seems postfix relies on /usr/sbin/{group,user} add to be present for the pre_script to run, but it does not specify so in is dependencies. Apparenly something might have pulled this into the buildroot earlier. What I do not know though is why this would have changed for 42.2 - this project is frozen (so in theory it can only be related to something in the same devel prj - or something went really wrong) Cheers, Dominique
Am 06.03.2017 um 10:58 schrieb Dominique Leuenberger / DimStar:
Seems postfix relies on /usr/sbin/{group,user} add to be present for the pre_script to run, but it does not specify so in is dependencies. Apparenly something might have pulled this into the buildroot earlier. What I do not know though is why this would have changed for 42.2 - this project is frozen (so in theory it can only be related to something in the same devel prj - or something went really wrong)
So it really must be a change in Postfix since my devel project contained a link to latest Postfix from Factory and started to fail for mailman directly after that. So clean 42.2 works. Pulled in Postfix from Factory to the devel project breaks mailman build. Haven't had time yet to compare those Postfix packages. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 06.03.2017 um 10:58 schrieb Dominique Leuenberger / DimStar:
Seems postfix relies on /usr/sbin/{group,user} add to be present for the pre_script to run, but it does not specify so in is dependencies.
you are absolutely right. Postfix does not require useradd/groupadd/usermod anymore but still using them in %post. Not only in Factory but also in 42.3 now. Seems the package needs some proper review wrt scriptlets and requires. Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 06.03.2017 um 14:52 schrieb Wolfgang Rosenauer:
Am 06.03.2017 um 10:58 schrieb Dominique Leuenberger / DimStar:
Seems postfix relies on /usr/sbin/{group,user} add to be present for the pre_script to run, but it does not specify so in is dependencies.
you are absolutely right. Postfix does not require useradd/groupadd/usermod anymore but still using them in %post. Not only in Factory but also in 42.3 now.
Seems the package needs some proper review wrt scriptlets and requires.
at least working: https://build.opensuse.org/request/show/477282 Wolfgang -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Dominique Leuenberger / DimStar
-
Wolfgang Rosenauer