apport should filter username/homedir from JournalErrors.txt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
apport in Ubuntu 15.04 and 15.10 includes in bug reports a file JournalErrors.txt that is the recorded output of the command 'journalctl -b --priority warning'. Apport also makes a best effort attempt to filter out information that bug reporters would like to keep private, like hostnames and usernames. However, the OneConf service is reporting log entries to syslog/journald that look like:
Out 13 08:01:51 hostname com.ubuntu.
... only with the actual home directory (and by extension username) included in the path. Note that the hostname is correctly being filtered (and replaced with 'hostname'), so some filtering is being applied to this log file.
tags: | added: anonymize vivid wily |
This worked for me on Wily.
Oct 12 12:53:45 hostname com.ubuntu. OneConf[ 3013]: WARNING: oneconf. hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ username/ .cache/ oneconf/ fb53b24d0f88db9 248433fd15318cc 65/other_ hosts' OneConf[ 3013]: WARNING: oneconf. hosts:Error in loading other_hosts file: [Errno 2] No such file or directory: '/home/ username/ .cache/ oneconf/ fb53b24d0f88db9 248433fd15318cc 65/other_ hosts'
...
Oct 12 13:20:40 hostname com.ubuntu.
I have the following version of apport installed: 2.19.1-0ubuntu2.