** Description changed:

+ [Impact]
+ On Lubuntu systems with more than one sudoer, lxqt-policykit prior to version 
0.17.0 crashes due to calling g_object_unref twice on the same object.
+ 
+ [Test Plan]
  STEPS TO REPRODUCE
  ==================
-  1. Boot post-18.04 Lubuntu
-  2. Use lxqt-admin-user to create a second user (let's call it user2)
-  3. Use lxqt-admin-user to add user2 to sudo
-  4. Logout and back in again (yes, this is a requirement to reproduce— if you 
want, you can first remove user2's sudo and it will work, but then add it back 
and continue on)
-  5. User lxqt-admin-user to try to remove user2's membership in the sudo 
group (fail)
-  6. Try running pkexec against something. Since synaptic is well set up for 
it, this is a good example, so install synaptic and run `synaptic-pkexec` (fail)
-  7. Remove user2's membership in the sudo group for sure with `sudo usermod 
-G "" user2`
-  8. Try running the pkexec command again (success)
+  1. Boot post-18.04 Lubuntu
+  2. Use lxqt-admin-user to create a second user (let's call it user2)
+  3. Use lxqt-admin-user to add user2 to sudo
+  4. Logout and back in again (yes, this is a requirement to reproduce— if you 
want, you can first remove user2's sudo and it will work, but then add it back 
and continue on)
+  5. User lxqt-admin-user to try to remove user2's membership in the sudo 
group (fail)
+  6. Try running pkexec against something. Since synaptic is well set up for 
it, this is a good example, so install synaptic and run `synaptic-pkexec` (fail)
+  7. Remove user2's membership in the sudo group for sure with `sudo usermod 
-G "" user2`
+  8. Try running the pkexec command again (success)
  
  EXPECTED RESULT
  ===============
  Both the pkexec and the lxqt-admin-user change succeed without crashing.
  
  ACTUAL RESULT
  =============
  lxqt-policykit crashes, e.g:
  [ 764.849494] traps: lxqt-policykit-[1598] general protection fault 
ip:7f8c94773671 sp:7ffc5acf6618 error:0 in 
libgobject-2.0.so.0.6400.2[7f8c94745000+36000]
  
+ [Regression Potential]
+ It might be possible, that not all sessions are deleted.
+ 
+ [Other info]
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: lxqt-admin 0.14.1-1ubuntu1
  ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
  Uname: Linux 5.4.0-28-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: LXQt
  Date: Wed Apr 29 12:04:34 2020
  InstallationDate: Installed on 2020-04-28 (0 days ago)
  InstallationMedia: Lubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: lxqt-admin
  UpgradeStatus: No upgrade log present (probably fresh install)

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

Title:
  lxqt-policykit crashes with general protection fault in libgobject-2.0

To manage notifications about this bug go to:
https://bugs.launchpad.net/lxqt/+bug/1875774/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to