[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Fixed in NMU of logrotate 3.7-2.1]



I have made a non-maintainer upload of logrotate to fix release critical
bug #276172 (Pre/post rotate scripts don't get the log filenames as
argument). The patch is attached.

Release managers, please consider putting this into sarge. Thanks.

--- Begin Message ---
tag 276172 + fixed

quit

This message was generated automatically in response to a
non-maintainer upload.  The .changes file follows.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 16 May 2005 00:40:00 +0300
Source: logrotate
Binary: logrotate
Architecture: source i386
Version: 3.7-2.1
Distribution: unstable
Urgency: high
Maintainer: Paul Martin <pm@debian.org>
Changed-By: Lars Wirzenius <liw@iki.fi>
Description: 
 logrotate  - Log rotation utility
Closes: 276172
Changes: 
 logrotate (3.7-2.1) unstable; urgency=high
 .
   * Non-maintainer upload.
   * When calling execlp to run scripts, give execlp all the arguments it
     needs. This way, it doesn't eat the first actual command line
     argument (argv[1]). Fix by Brice Figureau. Closes: #276172.
Files: 
 92c7a8d619e6b1eca4190b81f8e47972 578 admin important logrotate_3.7-2.1.dsc
 6043567dc443663d6dcde2d48a18a9a8 13429 admin important logrotate_3.7-2.1.diff.gz
 5617e9d9b74bc3214a21ee3885bd746c 31966 admin important logrotate_3.7-2.1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCh8SsBrcmpeBELXQRAqJjAJ9XG7+nXk6Mx32kRZ6tgN2mEAVTiACfTRJb
EIb8B5L7eyF5WtdEjEFb8DE=
=LcIv
-----END PGP SIGNATURE-----


--- End Message ---
diff -ruN old/debian/changelog logrotate-3.7/debian/changelog
--- old/debian/changelog	2005-05-15 23:50:43.000000000 +0300
+++ logrotate-3.7/debian/changelog	2005-05-16 00:43:15.000000000 +0300
@@ -1,3 +1,12 @@
+logrotate (3.7-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * When calling execlp to run scripts, give execlp all the arguments it
+    needs. This way, it doesn't eat the first actual command line 
+    argument (argv[1]). Fix by Brice Figureau. Closes: #276172.
+
+ -- Lars Wirzenius <liw@iki.fi>  Mon, 16 May 2005 00:40:00 +0300
+
 logrotate (3.7-2) unstable; urgency=high
 
   * Added commented out stuff in debian/rules to build a 
diff -ruN old/logrotate.c logrotate-3.7/logrotate.c
--- old/logrotate.c	2004-02-05 20:42:13.000000000 +0200
+++ logrotate-3.7/logrotate.c	2005-05-16 00:40:14.000000000 +0300
@@ -110,7 +110,7 @@
     close(fd);
 
     if (!fork()) {
-	execlp(filespec, logfn, NULL);
+	execlp(filespec, filespec, logfn, NULL);
 	exit(1);
     }
 

Reply to: