[Pkg-shadow-commits] r297 - in trunk/debian: . patches

Nicolas FRANCOIS pkg-shadow-devel@lists.alioth.debian.org
Thu, 23 Jun 2005 21:07:45 +0000


Author: nekral-guest
Date: 2005-06-23 21:07:44 +0000 (Thu, 23 Jun 2005)
New Revision: 297

Added:
   trunk/debian/patches/425_lastlog_8_sparse
Modified:
   trunk/debian/changelog
   trunk/debian/patches/series
Log:
Document that lastlog is a sparse file, and don't need to be rotated.


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2005-06-23 21:03:33 UTC (rev 296)
+++ trunk/debian/changelog	2005-06-23 21:07:44 UTC (rev 297)
@@ -82,6 +82,9 @@
         Closes: #288827
     - 424_pwck.8_quiet_option
       pwck(8): document the -q option. Closes: #309408
+    - 425_lastlog_8_sparse
+      lastlog(8): Document that lastlog is a sparse file, and don't need to be
+      rotated. Closes: #219321
   * Upstream bugs already fixed in upstream releases or CVS:
     - Corrected typos in chfn.1. Closes: #312428
     - Corrected typos in gshadow.5. Closes: #312429

Added: trunk/debian/patches/425_lastlog_8_sparse
===================================================================
--- trunk/debian/patches/425_lastlog_8_sparse	2005-06-23 21:03:33 UTC (rev 296)
+++ trunk/debian/patches/425_lastlog_8_sparse	2005-06-23 21:07:44 UTC (rev 297)
@@ -0,0 +1,22 @@
+Goal: Document that lastlog is a sparse file, and don't need to be rotated.
+Fixes: 219321
+
+Status wrt upstream: It should be forwarded to upstream.
+
+Index: shadow-4.0.3/man/lastlog.8
+===================================================================
+--- shadow-4.0.3.orig/man/lastlog.8	2005-06-23 12:47:42.782712000 +0200
++++ shadow-4.0.3/man/lastlog.8	2005-06-23 13:08:07.412712000 +0200
+@@ -61,6 +61,12 @@
+ Large gaps in uid numbers will cause the lastlog program to run longer with
+ no output to the screen (i.e. if mmdf=800 and last uid=170, program will
+ appear to hang as it processes uid 171-799).
++.SH NOTE
++The \fIlastlog\fR file is a database which contains info on the last login of
++each user.  You should not rotate it.  It is a sparse file, so its size on the
++disk is much smaller than the one shown by \fBls \-l\fR (which can indicate a
++really big file if you have an high UID).  You can display its real size with
++\fBls \-s\fR.
+ .SH AUTHORS
+ Julianne Frances Haugh (jockgrrl@ix.netcom.com)
+ .br

Modified: trunk/debian/patches/series
===================================================================
--- trunk/debian/patches/series	2005-06-23 21:03:33 UTC (rev 296)
+++ trunk/debian/patches/series	2005-06-23 21:07:44 UTC (rev 297)
@@ -124,3 +124,4 @@
 356_su-stop_cont-proxy
 423_su_pass_args_without_concatenation
 424_pwck.8_quiet_option
+425_lastlog_8_sparse