** Description changed:

- The plymouth apport source package hooks wants to gather log files as
- the root user and apport provides a policy kit policy for collecting
- that information. This works fine in a graphical environment but not in
- a non-graphical one.
+ [Impact]
+ The plymouth apport source package hooks wants to gather log files as the 
root user and apport provides a policy kit policy for collecting that 
information. This works fine in a graphical environment but not in a 
non-graphical one.
  
- N.B. you first need to create a /var/log/plymouth-debug.log file for the
- plymouth apport package hook to actually trigger this.
- 
- ubuntu@disco:~$ ubuntu-bug plymouth
+ [Test Case]
+ 1) ssh into an Ubuntu Desktop install of Ubuntu 20.04 LTS or Ubuntu 20.10
+ 2) sudo touch /var/log/plymouth-debug.log
+ 3) ubuntu@disco:~$ ubuntu-bug plymouth
  
  *** Collecting problem information
  
  The collected information can be sent to the developers to improve the
  application. This might take a few minutes.
  ..........==== AUTHENTICATING FOR com.ubuntu.apport.root-info ===
  Authentication is required to collect system information for this problem 
report
  Authenticating as: Ubuntu (ubuntu)
  Password: ....
  polkit-agent-helper-1: error response to PolicyKit daemon: 
GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
  ==== AUTHENTICATION FAILED ===
  Error executing command as another user: Not authorized
  
  This incident has been reported.
  
- Subsequently, bug reports from servers will contain less information.
+ With the version of apport from -proposed you will not see the
+ "AUTHENTICATION FAILED" error and the plymouth-debug.log file will be
+ collected.
+ 
+ [Where Problems Could Occur]
+ It's possible that the spawned pkttyagent process does not get cleaned up 
properly and could be left running. When testing the SRU we should confirm it 
is not still running.

** Tags removed: rls-hh-incoming

** Changed in: policykit-1 (Ubuntu Focal)
       Status: New => Won't Fix

** Changed in: policykit-1 (Ubuntu Groovy)
       Status: New => Won't Fix

** Changed in: apport (Ubuntu Focal)
       Status: New => In Progress

** Changed in: apport (Ubuntu Groovy)
       Status: New => In Progress

** Changed in: apport (Ubuntu Focal)
     Assignee: (unassigned) => Brian Murray (brian-murray)

** Changed in: apport (Ubuntu Groovy)
     Assignee: (unassigned) => Brian Murray (brian-murray)

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

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

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

Title:
  pkexec fails in a non-graphical environment

To manage notifications about this bug go to:
https://bugs.launchpad.net/policykit-1/+bug/1821415/+subscriptions

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

Reply via email to