I have not found boot.log in the apport source code, but it is mentioned
two package hooks:

grep boot.log /usr/share/apport/ -r
/usr/share/apport/package-hooks/source_xorg.py:    
attach_file_if_exists(report, '/var/log/boot.log', 'BootLog')
/usr/share/apport/package-hooks/source_xorg.py:            
report['xserver.logfile'] = xlog.boot_logfile
/usr/share/apport/package-hooks/source_plymouth.py:    attach_file(report, 
'/var/log/boot.log', 'BootLog')

They use attach_file or attach_file_if_exists. They need to use
root_command_output instead.

** Package changed: apport (Ubuntu) => plymouth (Ubuntu)

** Also affects: xorg (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: plymouth (Ubuntu)
       Status: New => Triaged

** Changed in: xorg (Ubuntu)
       Status: New => Triaged

** Changed in: plymouth (Ubuntu)
   Importance: Undecided => Medium

** Changed in: xorg (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/2041737

Title:
  apport-collect permission error on retrieving boot.log

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


_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-x-swat
Post to     : ubuntu-x-swat@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-x-swat
More help   : https://help.launchpad.net/ListHelp

Reply via email to