Bug 217177
Summary: | id <username> fails with "id: cannot print security context when user specified" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mike Bonnet <mikeb> | ||||
Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | |||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | meyering, nobody+pnasrat | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 5.97-16.fc6 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-11-24 18:36:38 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: | |||||||
Attachments: |
|
Description
Mike Bonnet
2006-11-24 17:35:37 UTC
Hi, Running id with both a user name and -Z doesn't make sense. And that's why id now fails -- this recent change addressed BZ#211089. The problem is not with coreutils, but rather with the code that invokes "id" that way. I am not passing -Z to id. The problem occurs with a straight $ id root and with $ id -g root There is no -Z being passed on the command-line. Oh! That makes all the difference. Obviously a bug. I should have tried your "How to reproduce" command. Created attachment 142084 [details]
fix for the above
FYI, here's the obvious (albeit untested) patch.
Sorry! |