]> git.donarmstrong.com Git - debhelper.git/commitdiff
One problem with the log files is that if dh_clean is not the last command run, they... 7.0.3
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Apr 2008 06:23:36 +0000 (02:23 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 29 Apr 2008 06:23:36 +0000 (02:23 -0400)
debian/changelog
dh_listpackages

index 9df366f5a345774aaf1975e88f990c284dc5507d..a5696ad7bdba462c9aee0989941a6fb74972dd82 100644 (file)
@@ -2,6 +2,12 @@ debhelper (7.0.3) unstable; urgency=low
 
   * dh: Fix man page typos. Closes: #477933
   * Add missing $! to error message when the log can't be opened.
+  * One problem with the log files is that if dh_clean is not the last command
+    run, they will be left behind. This is a particular problem on build
+    daemons that use real root. Especially if cdbs is used, since it runs
+    dh_listpackages after clean, thereby leaving behind log files that
+    only root can touch. Avoid this particular special case by inhibiting
+    logging by dh_listpackages.
 
  -- Joey Hess <joeyh@debian.org>  Tue, 29 Apr 2008 01:40:03 -0400
 
index f919ef6262bcc147d40753b8f68ddff513afca82..79b664bd71aaa065b85a825fb632095ac6ce7302 100755 (executable)
@@ -23,6 +23,7 @@ act on if passed the same options.
 =cut
 
 init();
+inhibit_log();
 print join("\n",@{$dh{DOPACKAGES}})."\n";
 
 =head1 SEE ALSO