Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 102016
Summary: | account name too long, breaks ps | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux Beta | Reporter: | Chris Ricker <chris.ricker> |
Component: | dbus | Assignee: | Havoc Pennington <hp> |
Status: | CLOSED RAWHIDE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | beta1 | CC: | alexl, mitr |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-17 16:13:36 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: | |||
Bug Depends On: | |||
Bug Blocks: | 100644 |
Description
Chris Ricker
2003-08-08 21:59:22 UTC
we could just fix ps... seems lame to modify this for that reason. Oh sure, but ps is hardly the only tool which assumes 8-char usernames. They mostly work these days, but there's still enough stupid stuff like this that if they can reasonably be avoided, I'd think they should be.... Sorry, by "they" I meant "account names over 8 characters long" -- I gotta start reading what I write before I click commit ;-) Well, ps uses uid instead of cutting off the name to make it fit into a column. How would you fix that? changing the column output of ps can break lots of scripts. Scripts assume the column width or the column separator? I guess we can change to "mesgbus" or something like that, you're right it probably breaks something to be longer. some scripts assume one, some the other.... I think the only "fix" which would be possible for ps would be what top and some of the other tools do -- just truncate to 8 characters anything longer. That's not really ideal though either, and might also break scripts Avoiding it when possible and leaving ps alone is probably sanest truncate the name? That would break all tools extracting the name and using it. Currently they get the uid instead if the name would be truncated, and most apps accept uids instead of usernames. Truncating would break that. Closing fixed, thanks |