Package: bootchart
Version: 0.10~svn407-3
Severity: normal
Tags: patch
The following error appears when setting PROCESS_ACCOUNTING to yes:
tar: kernel_pacct: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
This is because fix-bootup-tmp-dir.dpatch accidentially also removes the call
of accton. The attached patch re-introduces it.
--- a/script/bootchartd 2009-07-04 12:15:02.000000000 +0200
+++ b/script/bootchartd 2009-07-04 12:16:42.000000000 +0200
@@ -64,6 +64,12 @@ start()
> "$BOOTLOG_LOCK"
fi
+ # Enable process accounting if configured
+ if [ "$PROCESS_ACCOUNTING" = "yes" ]; then
+ > kernel_pacct
+ accton kernel_pacct
+ fi
+
#
# Run loggers in background
#