Change-Id: I7b082f994a61002b6982f63a0fc29de5d9b8983a
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/1546
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: suezzelur <anishs@vmware.com>
... | ... |
@@ -1,7 +1,7 @@ |
1 | 1 |
Summary: Sudo |
2 | 2 |
Name: sudo |
3 | 3 |
Version: 1.8.18p1 |
4 |
-Release: 1%{?dist} |
|
4 |
+Release: 2%{?dist} |
|
5 | 5 |
License: ISC |
6 | 6 |
URL: https://www.kernel.org/pub/linux/libs/pam/ |
7 | 7 |
Group: System Environment/Security |
... | ... |
@@ -29,7 +29,6 @@ the ability to run some (or all) commands as root or another user while logging |
29 | 29 |
--with-all-insults \ |
30 | 30 |
--with-env-editor \ |
31 | 31 |
--with-pam \ |
32 |
- --with-pam-login \ |
|
33 | 32 |
--with-passprompt="[sudo] password for %p" |
34 | 33 |
|
35 | 34 |
make %{?_smp_mflags} |
... | ... |
@@ -62,7 +61,7 @@ make %{?_smp_mflags} check |
62 | 62 |
%post |
63 | 63 |
/sbin/ldconfig |
64 | 64 |
if [ $1 -eq 1 ] ; then |
65 |
- groupadd wheel |
|
65 |
+ getent group wheel > /dev/null || groupadd wheel |
|
66 | 66 |
fi |
67 | 67 |
%postun -p /sbin/ldconfig |
68 | 68 |
%clean |
... | ... |
@@ -82,6 +81,9 @@ rm -rf %{buildroot}/* |
82 | 82 |
%{_docdir}/%{name}-%{version}/* |
83 | 83 |
%{_datarootdir}/locale/* |
84 | 84 |
%changelog |
85 |
+* Thu Oct 20 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-2 |
|
86 |
+- Remove --with-pam-login to use /etc/pam.d/sudo for `sudo -i` |
|
87 |
+- Fix groupadd wheel warning during the %post action |
|
85 | 88 |
* Tue Oct 18 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-1 |
86 | 89 |
- Update to 1.8.18p1 |
87 | 90 |
* Mon Oct 04 2016 ChangLee <changlee@vmware.com> 1.8.15-4 |