diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-04-29 02:23:36 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-04-29 02:23:36 -0400 |
commit | 6eca57133ba10e49fdb049920583512a456f6005 (patch) | |
tree | 504560fee1cfdf5c1994fdede658c5443053dd6b | |
parent | 1e711636f4790f51ae10474f93cb740e0399ea57 (diff) | |
download | debhelper-6eca57133ba10e49fdb049920583512a456f6005.tar.gz |
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.7.0.3
-rw-r--r-- | debian/changelog | 6 | ||||
-rwxr-xr-x | dh_listpackages | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 9df366f5..a5696ad7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 diff --git a/dh_listpackages b/dh_listpackages index f919ef62..79b664bd 100755 --- a/dh_listpackages +++ b/dh_listpackages @@ -23,6 +23,7 @@ act on if passed the same options. =cut init(); +inhibit_log(); print join("\n",@{$dh{DOPACKAGES}})."\n"; =head1 SEE ALSO |