I defined a new log file to hold pre-migration check messages.
Here is a little patch:
--- sysv-rc.postinst.orig 2009-10-03 11:04:38.000000000 -0400
+++ sysv-rc.postinst 2009-10-03 11:07:07.000000000 -0400
@@ -8,6 +8,7 @@
now=`date +%Y%m%dT%H%M`
logdir=/var/lib/insserv
logfile="$logdir/run-$now.log"
+logprefail="$logdir/premigcheck.log"
flagfile=/etc/init.d/.legacy-bootordering
# Make sure insserv is in path
@@ -52,6 +53,9 @@
else
PROBLEMATIC="$PROBLEMATIC, $msg"
fi
+
+ # Save a copy of all problematic messages on 'logprefail'
+ echo "$msg" >> $logprefail
}
is_unsafe_to_activate() {
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]