Bug 426517
Summary: | xhost -SI:localuser:tempuser fails to remove user from access list | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dave Allan <redhat> |
Component: | xorg-x11-server-utils | Assignee: | Adam Jackson <ajax> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 8 | CC: | gentoo_eshoes, mcepl, pkay42, xgl-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | f8Current | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-22 11:15:26 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dave Allan
2007-12-21 18:44:36 UTC
That's bizarre, it certainly works here: atropine:~% xhost +si:localuser:root localuser:root being added to access control list atropine:~% xhost -si:localuser:root localuser:root being removed from access control list What does 'xhost' on its own report? I imagine you're getting a hostname in the access list that ends up not being valid when you want to modify the list. That is pretty strange. Today is the one day a week I'm away from that machine, so I'll try it again tonight or tomorrow. I wasn't trying to add a superuser, though. What happens if you create a temp user and add them to the list? Huh...strange. Now it's working. I guess it can be resolved as NR. Thanks for letting us know. For future reference that error happens when the user ("tempuser", above) doesn't exist. $ xhost -SI:localuser:nonexitentuser localuser:nonexitentuser being removed from access control list X Error of failed request: BadValue (integer parameter out of range for operation) Major opcode of failed request: 109 (X_ChangeHosts) Value in failed request: 0x18 Serial number of failed request: 7 Current serial number in output stream: 9 $ sudo useradd nonexitentuser [sudo] password for user: $ xhost -SI:localuser:nonexitentuser localuser:nonexitentuser being removed from access control list $ xhost -SI:localuser:nonexitentuser localuser:nonexitentuser being removed from access control list (it's the same for +SI) $ xhost access control enabled, only authorized clients can connect SI:localuser:nonexitentuser LOCAL: Can this be reopened as "xhost gives completely unhelpful error message when authorizing nonexistent users"? Or should a new bug be created? |