Accepting request 1236165 from network:cluster
- Fix post install script for SELinux: when moving temporary file to final destination, remove temporary file security context (boo#1235443). (forwarded request 1236164 from eeich) OBS-URL: https://build.opensuse.org/request/show/1236165 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/conman?expand=0&rev=19
This commit is contained in:
commit
735202ac26
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 9 10:20:35 UTC 2025 - Egbert Eich <eich@suse.com>
|
||||||
|
|
||||||
|
- Fix post install script for SELinux: when moving temporary file
|
||||||
|
to final destination, remove temporary file security context
|
||||||
|
(boo#1235443).
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 26 11:02:44 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
Mon Feb 26 11:02:44 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package conman
|
# spec file for package conman
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -71,7 +71,7 @@ BuildRequires: pkgconfig(systemd)
|
|||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
Requires(pre): shadow
|
Requires(pre): shadow
|
||||||
Requires(post): %fillup_prereq sed
|
Requires(post): %fillup_prereq sed
|
||||||
Requires(postun):coreutils
|
Requires(postun): coreutils
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Patch1: conman-suse-fix-expect-scripts.patch
|
Patch1: conman-suse-fix-expect-scripts.patch
|
||||||
@ -196,7 +196,7 @@ if [ $1 -eq 2 -a ! -e %_localstatedir/lib/conman/%migrated ]; then
|
|||||||
< /etc/conman.conf > $tmpfile
|
< /etc/conman.conf > $tmpfile
|
||||||
if ! cmp /etc/conman.conf $tmpfile; then
|
if ! cmp /etc/conman.conf $tmpfile; then
|
||||||
mv /etc/conman.conf /etc/conman.conf.rpmsave
|
mv /etc/conman.conf /etc/conman.conf.rpmsave
|
||||||
mv $tmpfile /etc/conman.conf
|
mv -Z $tmpfile /etc/conman.conf
|
||||||
chown %conman_u:%conman_g /etc/conman.conf
|
chown %conman_u:%conman_g /etc/conman.conf
|
||||||
cat > %_localstatedir/adm/update-messages/%{name}-%{version}-%{release}-%{name}.txt <<EOF
|
cat > %_localstatedir/adm/update-messages/%{name}-%{version}-%{release}-%{name}.txt <<EOF
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user