192 |
- |
1 |
EVENT=report_Bugzilla component=anaconda
|
|
|
2 |
# remove sensitive information from the sensitive files
|
|
|
3 |
for sf in backtrace ks.cfg anaconda-tb; do
|
|
|
4 |
if [ -f $sf ]; then
|
|
|
5 |
# blindly remove entire line
|
|
|
6 |
# filing a less usable bug is surely better than publishing passwords
|
|
|
7 |
sed 's/^.*rootpw.*$/<auto-removed line containing rootpw>/' -i $sf
|
|
|
8 |
fi
|
|
|
9 |
done
|
|
|
10 |
# file a bug in Bugzilla
|
|
|
11 |
reporter-bugzilla -b \
|
|
|
12 |
-F /etc/libreport/plugins/bugzilla_format_anaconda.conf \
|
|
|
13 |
-A /etc/libreport/plugins/bugzilla_formatdup_anaconda.conf
|
|
|
14 |
|
|
|
15 |
EVENT=report-gui component=anaconda
|
|
|
16 |
report-gtk -- "$DUMP_DIR"
|
|
|
17 |
|
|
|
18 |
EVENT=report-cli component=anaconda
|
|
|
19 |
report-cli -- "$DUMP_DIR"
|