https://bugzilla.novell.com/show_bug.cgi?id=854469
https://bugzilla.novell.com/show_bug.cgi?id=854469#c2
Dr. Werner Fink changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|werner@suse.com |
--- Comment #2 from Dr. Werner Fink 2013-12-17 07:54:25 UTC ---
This is a postfix bug as postfix provides both SysVinit boot script and a
systemd service file. For sendmail I'm using
%if %{undefined systemd_requires}
%global with_sysvinit 1
%endif
%bcond_with sysvinit
in the spec file head and then
%if %{without sysvinit}
%{expand: %%global sysdsysunitdir %(pkg-config systemd
--variable=systemdsystemunitdir)}
%{expand: %%global sysdsysconfdir %(pkg-config systemd
--variable=systemdsystemconfdir)}
%endif
..
%if %{with sysvinit}
mkdir -p %{buildroot}%{_sysconfdir}/init.d
%endif
..
%if %{without sysvinit}
mkdir -p %{buildroot}%{sysdsysunitdir}
mkdir -p %{buildroot}/%{_mailcnfdir}/system
%endif
..
%if %{with sysvinit}
install -m 0755 rc %{buildroot}%{_sysconfdir}/init.d/sendmail
%else
sed -ri '\@/etc/init.d/sendmail@d'
%{buildroot}%{_sysconfdir}/permissions.d/sendmail
sed -ri '\@/etc/init.d/sendmail@d'
%{buildroot}%{_sysconfdir}/permissions.d/sendmail.paranoid
%endif
..
%if %{with sysvinit}
ln -sf %{_sysconfdir}/init.d/sendmail %{buildroot}%{_sbindir}/rcsendmail
%endif
.. and so on
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.