Hello community, here is the log from the commit of package util-linux for openSUSE:13.1 checked in at 2013-10-09 14:43:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:13.1/util-linux (Old) and /work/SRC/openSUSE:13.1/.util-linux.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "util-linux" Changes: -------- --- /work/SRC/openSUSE:13.1/util-linux/util-linux.changes 2013-09-30 09:32:51.000000000 +0200 +++ /work/SRC/openSUSE:13.1/.util-linux.new/util-linux.changes 2013-10-09 14:43:18.000000000 +0200 @@ -1,0 +2,6 @@ +Wed Oct 2 18:55:22 CEST 2013 - [email protected] + +- Safely migrate su config files from coreutils to util-linux + (bnc#814626#c18). + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ util-linux.spec ++++++ --- /var/tmp/diff_new_pack.5J5weC/_old 2013-10-09 14:43:18.000000000 +0200 +++ /var/tmp/diff_new_pack.5J5weC/_new 2013-10-09 14:43:18.000000000 +0200 @@ -475,6 +475,23 @@ %set_permissions %{_bindir}/wall %{_bindir}/write %{_bindir}/mount %{_bindir}/umount %if %{with enable_su} %set_permissions %{_bindir}/su +# Safely migrate PAM files from coreutils to util-linux +# (openSUSE 12.3->13.1, SLE11->SLE12) +# +# coreutils with su were upgraded (and su removed) before util-linux +# with su was installed (see the Conflicts above). If the admin edited +# the PAM file, the seemingly no more used modified file was saved as +# .rpmsave and the new clean file was installed. As we want +# "noreplace" upgrade, and the contents of the clean file contents has +# no changes, we should restore admin modification, and rename the +# clean file to .rpmnew, as it would happen if the file was not moved +# from one package to another. +for PAM_FILE in default/su pam.d/su pam.d/su-l ; do + if test -f %{_sysconfdir}/$PAM_FILE.rpmsave ; then + mv %{_sysconfdir}/$PAM_FILE %{_sysconfdir}/$PAM_FILE.rpmnew + mv %{_sysconfdir}/$PAM_FILE.rpmsave %{_sysconfdir}/$PAM_FILE + fi +done %endif %if %{with enable_eject} %set_permissions %{_bindir}/eject -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
