rpms/util-linux/FC-4 util-linux.spec,1.82,1.83

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Sep 5 12:32:11 UTC 2005


Author: kzak

Update of /cvs/dist/rpms/util-linux/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv8248

Modified Files:
	util-linux.spec 
Log Message:
- lastlog perms to 644


Index: util-linux.spec
===================================================================
RCS file: /cvs/dist/rpms/util-linux/FC-4/util-linux.spec,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- util-linux.spec	30 Aug 2005 09:22:28 -0000	1.82
+++ util-linux.spec	5 Sep 2005 12:31:54 -0000	1.83
@@ -27,7 +27,7 @@
 Summary: A collection of basic system utilities.
 Name: util-linux
 Version: 2.12p
-Release: 9.8
+Release: 9.9
 License: distributable
 Group: System Environment/Base
 
@@ -272,7 +272,7 @@
 %patch187 -p1
 %patch188 -p1
 %patch189 -p1
-%patch200 -p1
+#%patch200 -p1
 %patch201 -p1
 %patch202 -p1 -b .audit
 %patch203 -p1 -b .gpt
@@ -324,7 +324,7 @@
 mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
 mkdir -p %{buildroot}/var/log
 touch %{buildroot}/var/log/lastlog
-chmod 0400 %{buildroot}/var/log/lastlog
+chmod 0644 %{buildroot}/var/log/lastlog
 
 make \
 	OPT="$RPM_OPT_FLAGS %{make_cflags}" \
@@ -447,7 +447,7 @@
 /sbin/install-info %{_infodir}/ipc.info* %{_infodir}/dir
 touch /var/log/lastlog
 chown root:root /var/log/lastlog
-chmod 0400 /var/log/lastlog
+chmod 0644 /var/log/lastlog
 
 %postun
 if [ "$1" = 0 ]; then
@@ -499,7 +499,7 @@
 /sbin/rescuept
 /sbin/nologin
 %{_mandir}/man8/nologin.8*
-%ghost %attr(0400,root,root) %verify(not md5 size mtime) /var/log/lastlog
+%ghost %attr(0644,root,root) %verify(not md5 size mtime) /var/log/lastlog
 
 # Begin kbdrate stuff
 %if %{with_kbdrate}
@@ -670,6 +670,10 @@
 /sbin/losetup
 
 %changelog
+* Mon Sep  5 2005 Karel Zak <kzak at redhat.com> 2.12p-9.9
+- fix #167200 - finger reports "never logged in" if run as non-root 
+  (change perms of /var/log/lastlog to 0644)
+
 * Mon Aug 29 2005 Karel Zak <kzak at redhat.com> 2.12p-9.8
 - fix #166923 - hwclock will not run on a non audit-enabled kernel
 - fix #159410 - mkswap(8) claims max swap area size is 2 GB




More information about the fedora-cvs-commits mailing list