diff --git a/0032-anaconda-auto-remove-rootpw-lines.patch b/0032-anaconda-auto-remove-rootpw-lines.patch new file mode 100644 index 0000000..158ed02 --- /dev/null +++ b/0032-anaconda-auto-remove-rootpw-lines.patch @@ -0,0 +1,40 @@ +From 95e51ffb1b5b6b283be9e3eebcf8e4a470532624 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 6 Nov 2014 06:34:35 +0100 +Subject: [PATCH] anaconda: auto-remove rootpw lines + +Replace that lines with: + + +in the following files: + - backtrace + - ks.cfg + +Related to #1041558 + +Signed-off-by: Jakub Filak +--- + src/plugins/bugzilla_anaconda_event.conf | 9 +++++++++ + 1 file changed, 9 insertions(+) + +diff --git a/src/plugins/bugzilla_anaconda_event.conf b/src/plugins/bugzilla_anaconda_event.conf +index 430e5ee..923dda0 100644 +--- a/src/plugins/bugzilla_anaconda_event.conf ++++ b/src/plugins/bugzilla_anaconda_event.conf +@@ -1,4 +1,13 @@ + EVENT=report_Bugzilla component=anaconda ++ # remove sensitive information from the sensitive files ++ for sf in backtrace ks.cfg; do ++ if [ -f $sf ]; then ++ # blindly remove entire line ++ # filing a less usable bug is surely better than publishing passwords ++ sed 's/^.*rootpw.*$//' -i $sf ++ fi ++ done ++ # file a bug in Bugzilla + reporter-bugzilla -b \ + -F /etc/libreport/plugins/bugzilla_format_anaconda.conf \ + -A /etc/libreport/plugins/bugzilla_formatdup_anaconda.conf +-- +2.1.0 + diff --git a/0033-wizard-put-rootpw-on-the-forbidden-words-list.patch b/0033-wizard-put-rootpw-on-the-forbidden-words-list.patch new file mode 100644 index 0000000..a577aed --- /dev/null +++ b/0033-wizard-put-rootpw-on-the-forbidden-words-list.patch @@ -0,0 +1,27 @@ +From ffdfc69e282ac858704bb1fe5a425420ca455db7 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 6 Nov 2014 06:35:53 +0100 +Subject: [PATCH] wizard: put rootpw on the forbidden words list + +Related to #1041558 + +Signed-off-by: Jakub Filak +--- + src/gui-wizard-gtk/forbidden_words.conf | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/gui-wizard-gtk/forbidden_words.conf b/src/gui-wizard-gtk/forbidden_words.conf +index deab04b..1fbc1ca 100644 +--- a/src/gui-wizard-gtk/forbidden_words.conf ++++ b/src/gui-wizard-gtk/forbidden_words.conf +@@ -23,6 +23,7 @@ PASS + password + Password + PASSWORD ++rootpw + secret + Secret + SECRET +-- +2.1.0 + diff --git a/0034-problem_data-make-ks.cfg-file-editable.patch b/0034-problem_data-make-ks.cfg-file-editable.patch new file mode 100644 index 0000000..0e621b9 --- /dev/null +++ b/0034-problem_data-make-ks.cfg-file-editable.patch @@ -0,0 +1,45 @@ +From a26eed565ac3fe0282e7fbff5a9a446d51a5ed32 Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 6 Nov 2014 06:43:42 +0100 +Subject: [PATCH] problem_data: make ks.cfg file editable + +Otherwise the GUI will not highlight the forbidden words in that file. + +Related to #1041558 + +Signed-off-by: Jakub Filak +--- + src/include/internal_libreport.h | 4 ++++ + src/lib/problem_data.c | 1 + + 2 files changed, 5 insertions(+) + +diff --git a/src/include/internal_libreport.h b/src/include/internal_libreport.h +index 585b807..2e75de0 100644 +--- a/src/include/internal_libreport.h ++++ b/src/include/internal_libreport.h +@@ -910,6 +910,10 @@ struct dump_dir *open_directory_for_writing( + #define FILENAME_ABRT_VERSION "abrt_version" + #define FILENAME_EXPLOITABLE "exploitable" + ++/* File names related to Anaconda problems ++ */ ++#define FILENAME_KICKSTART_CFG "ks.cfg" ++ + // Not stored as files, added "on the fly": + #define CD_DUMPDIR "Directory" + +diff --git a/src/lib/problem_data.c b/src/lib/problem_data.c +index fc07288..c095f6c 100644 +--- a/src/lib/problem_data.c ++++ b/src/lib/problem_data.c +@@ -261,6 +261,7 @@ static const char *const editable_files[] = { + //FILENAME_COUNT , + //FILENAME_REPORTED_TO, + //FILENAME_EVENT_LOG , ++ FILENAME_KICKSTART_CFG, + NULL + }; + static bool is_editable_file(const char *file_name) +-- +2.1.0 + diff --git a/0035-ureport-uReport_ContactEmail-setting-can-be-left-emp.patch b/0035-ureport-uReport_ContactEmail-setting-can-be-left-emp.patch new file mode 100644 index 0000000..680e7a1 --- /dev/null +++ b/0035-ureport-uReport_ContactEmail-setting-can-be-left-emp.patch @@ -0,0 +1,25 @@ +From 98fba513ccf70f549dd1915628f1b780f7d4d5fc Mon Sep 17 00:00:00 2001 +From: Jakub Filak +Date: Thu, 27 Nov 2014 09:14:46 +0100 +Subject: [PATCH] ureport: uReport_ContactEmail setting can be left empty + +Signed-off-by: Jakub Filak +--- + src/plugins/report_uReport.xml.in | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/plugins/report_uReport.xml.in b/src/plugins/report_uReport.xml.in +index 1147880..115b403 100644 +--- a/src/plugins/report_uReport.xml.in ++++ b/src/plugins/report_uReport.xml.in +@@ -23,6 +23,7 @@ + +