[Bug 1215689] New: postfix: deamon_directory is invalid
https://bugzilla.suse.com/show_bug.cgi?id=1215689 Bug ID: 1215689 Summary: postfix: deamon_directory is invalid Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: varkoly@suse.com Reporter: amajer@suse.com QA Contact: qa-bugs@suse.de CC: chris@computersalat.de Target Milestone: --- Found By: --- Blocker: --- Seems the default directory is wrong. # postconf -d daemon_directory daemon_directory = /usr/libexec/postfix I'm assuming this is suppose to be /usr/lib/postfix/bin ? # rpm -q postfix postfix-3.8.1-2.1.aarch64 -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 https://bugzilla.suse.com/show_bug.cgi?id=1215689#c1 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Peter Varkoly <varkoly@suse.com> --- The default is not wrong it is the build in. The right one is ok: sudo postconf daemon_directory daemon_directory = /usr/lib/postfix/bin/ -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 https://bugzilla.suse.com/show_bug.cgi?id=1215689#c2 --- Comment #2 from Adam Majer <amajer@suse.com> --- That's kind of my point, the built in values do not represent the real values used by the deamon. When using postfix in a container where the default is may mean no default config, results in things blowing up. And having non-default values (ie. overriding built-in values) makes the installation fragile. For example, if the location changes in some future version, all the installations will need to adjust config files. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 https://bugzilla.suse.com/show_bug.cgi?id=1215689#c3 --- Comment #3 from Peter Varkoly <varkoly@suse.com> --- I do not know why but by building not all paramaters will be set suse-like: %make_build makefiles pie=yes shared=yes dynamicmaps=yes \ shlib_directory=%{_prefix}/lib/%{name} \ meta_directory=%{_prefix}/lib/%{name} \ config_directory=%{_sysconfdir}/%{name} \ SHLIB_RPATH="-Wl,-rpath,%{pf_shlib_directory} -Wl,-z,relro,-z,now" Only by the installation will all parameters modified: sh postfix-install -non-interactive \ install_root=%{buildroot} \ config_directory=%{pf_config_directory} \ daemon_directory=%{pf_daemon_directory} \ command_directory=%{pf_command_directory} \ queue_directory=/%{pf_queue_directory} \ sendmail_path=%{pf_sendmail_path} \ newaliases_path=%{pf_newaliases_path} \ mailq_path=%{pf_mailq_path} \ manpage_directory=%{_mandir} \ setgid_group=%{pf_setgid_group} \ readme_directory=%{pf_readme_directory} \ data_directory=%{pf_data_directory} As a result, the built-in values deviate from the current values. If this can be a problem for alp I can adapt the build part. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 Peter Varkoly <varkoly@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |amajer@suse.com Flags| |needinfo?(amajer@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 https://bugzilla.suse.com/show_bug.cgi?id=1215689#c4 Adam Majer <amajer@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(amajer@suse.com) | --- Comment #4 from Adam Majer <amajer@suse.com> --- I've created request id 1180009 which adds all the settings from install section to the build section. Testing this with TW, it seems that postconf -d daemon_directory now returns the correct value and the same as with postconf daemon_directory I've tried removing the parameters from the install section, but this somehow failed the -bdb flavour while the regular one worked. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1215689 https://bugzilla.suse.com/show_bug.cgi?id=1215689#c5 --- Comment #5 from Adam Majer <amajer@suse.com> --- Regarding whether this breaks ALP/SLFO or not, it's mostly about ease of use. If you run postfix from container without config files, it's strange that it wants to look for things in wrong directories. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com