Accepting request 683888 from home:fbui:branches:Base:System
- Stop installing macros.systemd There're no points in installing this file if we remove it right after. - Make sure systemd-network.rules take precedence over our polkit-default-privs (bsc#1125438) OBS-URL: https://build.opensuse.org/request/show/683888 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1057
This commit is contained in:
parent
ccc92d85e7
commit
41cf227d08
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 12:58:19 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Stop installing macros.systemd
|
||||
|
||||
There're no points in installing this file if we remove it right
|
||||
after.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 10:48:54 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Make sure systemd-network.rules take precedence over our polkit-default-privs (bsc#1125438)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 14:27:59 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -440,7 +440,7 @@ opensuse_ntp_servers=({0..3}.opensuse.pool.ntp.org)
|
||||
-Dsplit-usr=true \
|
||||
-Dsplit-bin=true \
|
||||
-Dpamlibdir=/%{_lib}/security \
|
||||
-Drpmmacrosdir=%{_prefix}/lib/rpm/macros.d \
|
||||
-Drpmmacrosdir=no \
|
||||
-Dcertificate-root=%{_sysconfdir}/pki/systemd \
|
||||
-Ddefault-hierarchy=hybrid \
|
||||
-Ddefault-kill-user-processes=false \
|
||||
@ -545,8 +545,7 @@ ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel
|
||||
rm -rf %{buildroot}/etc/systemd/system/*.target.wants
|
||||
rm -f %{buildroot}/etc/systemd/system/default.target
|
||||
|
||||
# Overwrite /etc/pam.d/systemd-user shipped by upstream with one
|
||||
# customized for openSUSE distros.
|
||||
# Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one.
|
||||
install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/
|
||||
|
||||
# Remove tmp.mount from the unit search path as /tmp doesn't use tmpfs
|
||||
@ -562,6 +561,13 @@ rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.pat
|
||||
# aaa_base (in procps for now)
|
||||
rm -f %{buildroot}%{_sysctldir}/50-default.conf
|
||||
|
||||
# Make sure systemd-network polkit rules file starts with a suitable
|
||||
# number prefix so it takes precedence over our polkit-default-privs.
|
||||
%if %{with networkd}
|
||||
mv %{buildroot}%{_datadir}/polkit-1/rules.d/systemd-networkd.rules \
|
||||
%{buildroot}%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
|
||||
%endif
|
||||
|
||||
# since v207 /etc/sysctl.conf is no longer parsed (commit
|
||||
# 04bf3c1a60d82791), however backward compatibility is provided by
|
||||
# /usr/lib/sysctl.d/99-sysctl.conf.
|
||||
@ -655,9 +661,6 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/random-seed
|
||||
|
||||
%fdupes -s %{buildroot}%{_mandir}
|
||||
|
||||
# packaged in systemd-rpm-macros
|
||||
rm -f %{buildroot}/%{_prefix}/lib/rpm/macros.d/macros.systemd
|
||||
|
||||
# Make sure to disable all services by default. The Suse branding
|
||||
# presets package takes care of defining the right policies.
|
||||
rm -f %{buildroot}%{_presetdir}/*.preset
|
||||
@ -1137,7 +1140,7 @@ fi
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
|
||||
%if %{with networkd}
|
||||
%{_datadir}/polkit-1/rules.d/systemd-networkd.rules
|
||||
%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
|
||||
%endif
|
||||
%if %{with resolved}
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 12:58:19 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Stop installing macros.systemd
|
||||
|
||||
There're no points in installing this file if we remove it right
|
||||
after.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 11 10:48:54 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Make sure systemd-network.rules take precedence over our polkit-default-privs (bsc#1125438)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 7 14:27:59 UTC 2019 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
17
systemd.spec
17
systemd.spec
@ -438,7 +438,7 @@ opensuse_ntp_servers=({0..3}.opensuse.pool.ntp.org)
|
||||
-Dsplit-usr=true \
|
||||
-Dsplit-bin=true \
|
||||
-Dpamlibdir=/%{_lib}/security \
|
||||
-Drpmmacrosdir=%{_prefix}/lib/rpm/macros.d \
|
||||
-Drpmmacrosdir=no \
|
||||
-Dcertificate-root=%{_sysconfdir}/pki/systemd \
|
||||
-Ddefault-hierarchy=hybrid \
|
||||
-Ddefault-kill-user-processes=false \
|
||||
@ -543,8 +543,7 @@ ln -s ../usr/bin/systemctl %{buildroot}/sbin/runlevel
|
||||
rm -rf %{buildroot}/etc/systemd/system/*.target.wants
|
||||
rm -f %{buildroot}/etc/systemd/system/default.target
|
||||
|
||||
# Overwrite /etc/pam.d/systemd-user shipped by upstream with one
|
||||
# customized for openSUSE distros.
|
||||
# Replace /etc/pam.d/systemd-user shipped by upstream with the openSUSE one.
|
||||
install -m0644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/
|
||||
|
||||
# Remove tmp.mount from the unit search path as /tmp doesn't use tmpfs
|
||||
@ -560,6 +559,13 @@ rm %{buildroot}%{_unitdir}/multi-user.target.wants/systemd-ask-password-wall.pat
|
||||
# aaa_base (in procps for now)
|
||||
rm -f %{buildroot}%{_sysctldir}/50-default.conf
|
||||
|
||||
# Make sure systemd-network polkit rules file starts with a suitable
|
||||
# number prefix so it takes precedence over our polkit-default-privs.
|
||||
%if %{with networkd}
|
||||
mv %{buildroot}%{_datadir}/polkit-1/rules.d/systemd-networkd.rules \
|
||||
%{buildroot}%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
|
||||
%endif
|
||||
|
||||
# since v207 /etc/sysctl.conf is no longer parsed (commit
|
||||
# 04bf3c1a60d82791), however backward compatibility is provided by
|
||||
# /usr/lib/sysctl.d/99-sysctl.conf.
|
||||
@ -653,9 +659,6 @@ mkdir -p %{buildroot}%{_localstatedir}/lib/systemd/random-seed
|
||||
|
||||
%fdupes -s %{buildroot}%{_mandir}
|
||||
|
||||
# packaged in systemd-rpm-macros
|
||||
rm -f %{buildroot}/%{_prefix}/lib/rpm/macros.d/macros.systemd
|
||||
|
||||
# Make sure to disable all services by default. The Suse branding
|
||||
# presets package takes care of defining the right policies.
|
||||
rm -f %{buildroot}%{_presetdir}/*.preset
|
||||
@ -1135,7 +1138,7 @@ fi
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.timedate1.policy
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.login1.policy
|
||||
%if %{with networkd}
|
||||
%{_datadir}/polkit-1/rules.d/systemd-networkd.rules
|
||||
%{_datadir}/polkit-1/rules.d/60-systemd-networkd.rules
|
||||
%endif
|
||||
%if %{with resolved}
|
||||
%{_datadir}/polkit-1/actions/org.freedesktop.resolve1.policy
|
||||
|
Loading…
Reference in New Issue
Block a user