* Import v217-stable patches (up to commit bfb4c47 from 2014-11-07).
* Disable AppArmor again. This first requires moving libapparmor to /lib
(see #771667). (Closes: #771652)
+ * systemd.bug-script: Capture stderr of systemd-{delta,analyze}.
+ (Closes: #771498)
-- Martin Pitt <mpitt@debian.org> Fri, 28 Nov 2014 14:46:30 +0100
echo "-- BEGIN ATTACHMENTS --" >&3
# remove highlighting escape codes from systemd-delta output
- systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g" >$DIR/systemd-delta.txt
+ systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g" >$DIR/systemd-delta.txt 2>&1
echo "$DIR/systemd-delta.txt" >&3
if [ -d /run/systemd/system ]; then
- systemd-analyze --no-pager dump >$DIR/systemd-analyze-dump.txt
+ systemd-analyze --no-pager dump >$DIR/systemd-analyze-dump.txt 2>&1
echo "$DIR/systemd-analyze-dump.txt" >&3
fi
_header "systemd-delta"
# remove highlighting escape codes from systemd-delta output
- systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g" >&3
+ systemd-delta --no-pager|sed "s%\x1b[^m]*m%%g" >&3 2>&3
if [ -d /run/systemd/system ]; then
echo >&3
_header "systemd-analyze dump"
- systemd-analyze --no-pager dump >&3
+ systemd-analyze --no-pager dump >&3 2>&3
fi
if [ -d /var/lib/systemd/deb-systemd-helper-enabled ]; then