2.24.2-4: #1094935 - use systemd_post for uuidd
This commit is contained in:
parent
ec1e4fccb3
commit
a8e3fb405f
@ -2,7 +2,7 @@
|
|||||||
Summary: A collection of basic system utilities
|
Summary: A collection of basic system utilities
|
||||||
Name: util-linux
|
Name: util-linux
|
||||||
Version: 2.24.2
|
Version: 2.24.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://en.wikipedia.org/wiki/Util-linux
|
URL: http://en.wikipedia.org/wiki/Util-linux
|
||||||
@ -400,16 +400,7 @@ exit 0
|
|||||||
|
|
||||||
# Please, keep uuidd running after installation!
|
# Please, keep uuidd running after installation!
|
||||||
%post -n uuidd
|
%post -n uuidd
|
||||||
if [ $1 -eq 1 ]; then
|
%systemd_post uuidd.service
|
||||||
# Package install,
|
|
||||||
/bin/systemctl enable uuidd.service >/dev/null 2>&1 || :
|
|
||||||
/bin/systemctl start uuidd.service > /dev/null 2>&1 || :
|
|
||||||
else
|
|
||||||
# Package upgrade
|
|
||||||
if /bin/systemctl --quiet is-enabled uuidd.service ; then
|
|
||||||
/bin/systemctl reenable uuidd.service >/dev/null 2>&1 || :
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
%preun -n uuidd
|
%preun -n uuidd
|
||||||
%systemd_preun uuidd.service
|
%systemd_preun uuidd.service
|
||||||
@ -808,6 +799,9 @@ fi
|
|||||||
%{_libdir}/python*/site-packages/libmount/*
|
%{_libdir}/python*/site-packages/libmount/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 12 2014 Karel Zak <kzak@redhat.com> 2.24.2-4
|
||||||
|
- fix #1094935 - script and/or trigger should not directly enable systemd units
|
||||||
|
|
||||||
* Mon May 12 2014 Karel Zak <kzak@redhat.com> 2.24.2-3
|
* Mon May 12 2014 Karel Zak <kzak@redhat.com> 2.24.2-3
|
||||||
- fix #1090638 - remove pam_securetty.so from .pamd files
|
- fix #1090638 - remove pam_securetty.so from .pamd files
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user