Activity log for bug #1739532

Date Who What changed Old value New value Message
2017-12-21 04:41:02 fermulator bug added bug
2017-12-21 04:41:48 fermulator description During https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1739525, I ran apport-collect. I was happy to see that my hostname from the system logs was pruned to "hostname". Great! However, there are some logs that complain about /home/FOO user ... we SHOULD NOT leak a user's $HOME directory contents (a potential list of local user accounts) into these reports. This MAY be considered as sensitive information. The JournalErrors.txt should prune it. Example of CULPRITS: {{{ Dec 20 21:39:20 hostname com.ubuntu.OneConf[3069]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/FOO/.cache/oneconf/1dfe6d2e52223c637c7bddd900000002/other_hosts' Dec 20 21:39:33 hostname com.ubuntu.OneConf[18688]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/BAR/.cache/oneconf/1dfe6d2e52223c637c7bddd900000002/other_hosts' }}} During https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1739525, I ran apport-collect. I was happy to see that my hostname from the system logs was pruned to "hostname". Great! However, there are some logs that complain about /home/FOO user ... we SHOULD NOT leak a user's $HOME directory contents (a potential list of local user accounts) into these reports. This MAY be considered as sensitive information. The JournalErrors.txt should prune it. Example of CULPRITS: {{{ Dec 20 21:39:20 hostname com.ubuntu.OneConf[3069]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/FOO/.cache/oneconf/1dfe6d2e52223c637c7bddd900000002/other_hosts' Dec 20 21:39:33 hostname com.ubuntu.OneConf[18688]: WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/BAR/.cache/oneconf/1dfe6d2e52223c637c7bddd900000002/other_hosts' }}} The suggestion here, is simply to also prune out usernames from ANY "/home/%USER" or "~%USER" type regexes.
2018-01-17 21:35:19 Brian Murray apport (Ubuntu): status New Incomplete
2018-01-17 21:35:22 Brian Murray apport (Ubuntu): importance Undecided High
2018-01-17 21:35:33 Brian Murray tags apport privacy apport beaver privacy
2018-01-17 21:37:29 Brian Murray bug added subscriber Brian Murray
2018-02-19 22:59:10 Brian Murray tags apport beaver privacy apport beaver privacy vionic
2018-02-19 22:59:24 Brian Murray tags apport beaver privacy vionic apport beaver bionic privacy
2018-02-19 23:12:58 Brian Murray apport (Ubuntu): status Incomplete Fix Released