[Pkg-graphite-maint] Bug#733856: (no subject)

Pierre Fersing pierref at pierref.org
Tue Jan 14 15:39:41 UTC 2014


I tested on our server with a logrotate whose "copytruncate" is replaced
with "nocreate". It work as expected: file is moved and not re-created,
thus carbon detect the logrotate and write to new log file (without a
bunch of NUL ascii character).

I attached the new debdiff with the "copytruncate" replaced with "nocreate".
-------------- next part --------------
diff -Nru graphite-carbon-0.9.12/debian/changelog graphite-carbon-0.9.12/debian/changelog
--- graphite-carbon-0.9.12/debian/changelog	2014-01-13 22:44:07.000000000 +0100
+++ graphite-carbon-0.9.12/debian/changelog	2014-01-14 16:17:54.000000000 +0100
@@ -1,3 +1,9 @@
+graphite-carbon (0.9.12-2.1) unstable; urgency=medium
+
+  * replaced "copytruncate" with "nocreate" in logrotate (Closes: #733856)
+
+ -- Pierre Fersing <pierref at pierref.org>  Tue, 14 Jan 2014 16:14:47 +0100
+
 graphite-carbon (0.9.12-2) unstable; urgency=medium
 
   * added systemd service file: carbon-cache.service
diff -Nru graphite-carbon-0.9.12/debian/graphite-carbon.logrotate graphite-carbon-0.9.12/debian/graphite-carbon.logrotate
--- graphite-carbon-0.9.12/debian/graphite-carbon.logrotate	2014-01-13 22:44:07.000000000 +0100
+++ graphite-carbon-0.9.12/debian/graphite-carbon.logrotate	2014-01-14 16:14:43.000000000 +0100
@@ -6,5 +6,5 @@
 	delaycompress
 	notifempty
 	sharedscripts
-	copytruncate
+	nocreate
 }


More information about the Pkg-graphite-maint mailing list