Commit ad25dcba authored by Michael Biebl's avatar Michael Biebl
Browse files

Do not send potentially private fstab information without prior user confirmation

Closes: #743158
parent 83fc6fa5
systemd (204-9) UNRELEASED; urgency=medium
* Do not send potentially private fstab information without prior user
confirmation. (Closes: #743158)
-- Michael Biebl <biebl@debian.org> Sat, 26 Apr 2014 10:41:18 +0200
systemd (204-8) unstable; urgency=low
[ Michael Stapelberg ]
......
#!/bin/sh
#!/bin/bash
REPORTBUG_VERSION=$(dpkg-query -f '${source:Version}' -W reportbug)
# Depending on whether reportbug is new enough, we either write the output of
# our various commands to a file and attach them to the report (this needs
# reportbug ≥ 6.5.0) or just write them to the body of the bug report.
......@@ -29,7 +30,11 @@ if dpkg --compare-versions "$REPORTBUG_VERSION" ge "6.5.0"; then
echo "$DIR/dsh-enabled.txt" >&3
fi
echo "/etc/fstab" >&3
yesno "Do you want to provide fstab information [Y|n]? " yep
if [ "$REPLY" = yep ]; then
echo "/etc/fstab" >&3
fi
echo "-- END ATTACHMENTS --" >&3
else
_header() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment