BTW I happened to have an Eoan VM laying around and tested it out and
found the same problem. so this has actually been long standing. We'll
see what upstream says.

** Package changed: lxqt-admin (Ubuntu) => lxqt-policykit (Ubuntu)

** Changed in: lxqt-policykit (Ubuntu)
   Importance: Undecided => High

** Changed in: lxqt-policykit (Ubuntu)
       Status: Confirmed => Triaged

** Bug watch added: github.com/lxqt/lxqt-policykit/issues #105
   https://github.com/lxqt/lxqt-policykit/issues/105

** Also affects: lxqt via
   https://github.com/lxqt/lxqt-policykit/issues/105
   Importance: Unknown
       Status: Unknown

** Summary changed:

- Lubuntu 20.04 lxqt-admin-user Action (usermod) failed
+ lxqt-policykit crashes with general protection fault in libgobject-2.0

** Description changed:

- This is testing was performed as a result of a user support request on a
- fresh install (screen position & wallpaper changed; nfs-common added &
- that's about all)
+ 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)
  
- https://discourse.lubuntu.me/t/no-authorization-after-adding-user/1033/
+ EXPECTED RESULT
+ ===============
+ Both the pkexec and the lxqt-admin-user change succeed without crashing.
  
- A new user was added "pw_admin", logout & some testing done without
- issue.
- 
- I logged back in as me and tried to remove "sudo" rights from "pw_admin"
- user logged in as "guiverc" which is where I first had noticed this
- error.
- 
- On testing, it appears to occur on retracting/removing rights rather
- than adding them, and after the privileges are added only (though my
- testing is incomplete; takes awhile  for rights to drop & thus be asked
- again; no issue if elevated-privileges already exists it so far appears
- to me)
- 
- Expected Result:
- 
- The 'sudo' permission gets removed
- 
- Actual Result:
- 
- I get an error show in discourse site, or uploaded here
- 
- When the error pop-up (
- 
- "Action (usermod) failed:
- Error executing command as another user: Not authorized
- This incident has been report" occurs
- 
- the following is written to `dmesg` output
- 
- [ 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]
- 
- and in /var/crash/ (it was submitted)
- -rw-r----- 1 guiverc whoopsie 3.2M Apr 29 11:37 
_usr_bin_lxqt-policykit-agent.1000.crash
+ 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]
  
  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