rpms/sudo/devel sudo-1.6.9p4-audit.patch, 1.1, 1.2 sudo.spec, 1.54, 1.55
Peter Vrabec (pvrabec)
fedora-extras-commits at redhat.com
Mon Jan 7 18:31:50 UTC 2008
Author: pvrabec
Update of /cvs/extras/rpms/sudo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17063
Modified Files:
sudo-1.6.9p4-audit.patch sudo.spec
Log Message:
fix 401201: sudo complains: audit_log_user_command(): Connection refused
sudo-1.6.9p4-audit.patch:
Index: sudo-1.6.9p4-audit.patch
===================================================================
RCS file: /cvs/extras/rpms/sudo/devel/sudo-1.6.9p4-audit.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sudo-1.6.9p4-audit.patch 30 Aug 2007 16:21:58 -0000 1.1
+++ sudo-1.6.9p4-audit.patch 7 Jan 2008 18:31:40 -0000 1.2
@@ -75,9 +75,12 @@
+ if (audit_fd < 0)
+ return;
+ else {
-+ err = audit_log_user_command (audit_fd, type, command, NULL, result);
-+ if( err <= 0 )
-+ perror("audit_log_user_command()");
++ err = audit_log_user_command (audit_fd, type, command, NULL, result);
++ /* The kernel supports auditing and we had
++ enough privilege to write to the socket. */
++ if( err <= 0 && !(errno == EPERM && getuid() != 0) ) {
++ perror("audit_log_user_command()");
++ }
+ }
+}
+
Index: sudo.spec
===================================================================
RCS file: /cvs/extras/rpms/sudo/devel/sudo.spec,v
retrieving revision 1.54
retrieving revision 1.55
diff -u -r1.54 -r1.55
--- sudo.spec 5 Dec 2007 22:17:51 -0000 1.54
+++ sudo.spec 7 Jan 2008 18:31:40 -0000 1.55
@@ -1,7 +1,7 @@
Summary: Allows restricted root access for specified users
Name: sudo
Version: 1.6.9p4
-Release: 4%{?dist}
+Release: 5%{?dist}
License: BSD
Group: Applications/System
URL: http://www.courtesan.com/sudo/
@@ -128,11 +128,15 @@
/bin/chmod 0440 /etc/sudoers || :
%changelog
+* Mon Jan 07 2008 Peter Vrabec <pvrabec at redhat.com> 1.6.9p4-5
+- fix complains about audit_log_user_command(): Connection
+ refused (#401201)
+
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.6.9p4-4
- - Rebuild for deps
+- Rebuild for deps
* Wed Dec 05 2007 Release Engineering <rel-eng at fedoraproject dot org> - 1.6.9p4-3
- - Rebuild for openssl bump
+- Rebuild for openssl bump
* Thu Aug 30 2007 Peter Vrabec <pvrabec at redhat.com> 1.6.9p4-2
- fix autotools stuff and add audit support
More information about the fedora-extras-commits
mailing list