← Back to team overview

touch-packages team mailing list archive

[Bug 1505852] [NEW] apport should filter username/homedir from JournalErrors.txt

 

Public bug reported:

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.OneConf[1120]:
WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No
such file or directory:
'/home/USERNAME/.cache/oneconf/7ae519bec912345a6925fb2d5448031b/other_hosts'

... 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.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1505852

Title:
  apport should filter username/homedir from JournalErrors.txt

Status in apport package in Ubuntu:
  New

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.OneConf[1120]:
  WARNING:oneconf.hosts:Error in loading other_hosts file: [Errno 2] No
  such file or directory:
  '/home/USERNAME/.cache/oneconf/7ae519bec912345a6925fb2d5448031b/other_hosts'

  ... 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1505852/+subscriptions


Follow ups