** Description changed:

  Impact:
  Users are notified of crash files for which they do not have permission to 
read, subsequently they can see odd "permission denied" dialogs which creates 
an unpleasant experience.
  
  Test Case:
- 1) Login in as a guest user
- 2) In a terminal run 'xeyes &'
- 3) Then run 'pkill -11 xeyes'
- 4) Observe apport crash dialog and click X to close it
- 5) Switch back to your regular user
- 6) Observe a crash dialog for a "system crash", enter your password and then 
observe no apport crash dialog.  (The original description indicates a 
permission denied message and this will happen if your user also has a .crash 
file that needs reporting, but that'd be a longer test case.)
+ 1) Create a second user
+ 2) Log out as your regular user
+ 3) Login as this second user
+ 4) In a terminal run 'xeyes &'
+ 5) In a terminal run 'pkill -11 xeyes'
+ 6) Close resulting crash dialog (do not send it)
+ 7) Log out as second user
+ 8) Log in as your regular user
+ 9) As your regular user install d-feet
+ 10) In a terminal run 'd-feet &'
+ 11) In a terminal run 'pkill -11 d-feet'
+ 12) Close resulting crash dialog (do not send it)
+ 13) Log out
+ 14) In a virtual terminal modify both crash files (xeyes and d-feet) in 
+ /var/crash by adding a second to the Date: field in each crash file.  This 
+ causes the upstart job to think they are new again.
+ 15) Log in as your regular user and observe two crash notifications, one will 
+ be for d-feet the other will be a "Permission denied" dialog.
+ 
+ With the package version from -proposed you will only receive one crash
+ dialog.
  
  Regression Potential:
  As this changes the upstart job for crash notification's a fair bit its 
possible that some crashes will not be reported.
- 
- With the package from -proposed you will not receive a crash dialog for
- the guest user's crash file.
  
  A dialoge message is constantly coming up saying that a problem with
  ubuntu has occured. When I click send details, another error comes up
  saying: This problem report is damaged and cannot be processed.
  
  PermissionError(13, 'Permission denied')
  
  No other information is given.

** Changed in: update-notifier (Ubuntu Saucy)
       Status: Triaged => In Progress

** Changed in: update-notifier (Ubuntu Saucy)
     Assignee: (unassigned) => Brian Murray (brian-murray)

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

Title:
  notified of crash reports which you do not have permission to read and
  submit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1193509/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to