Numeric username bigger than ulong gives error with -U option
Bug #1478655 reported by
CaduEllery
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
procps (Ubuntu) |
New
|
Undecided
|
Basavaraj |
Bug Description
Our company uses numeric usernames (people's "social ID nº"). These numbers may be bigger than an ulong variable. When we do ps -U "numeric username" we get "user ID out of range" error.
Ex:
root@test:~# ps -U 56563882714
error: user ID out of range
This is impacting particularly the Vagrant's usage, as this tool uses the ps's -U option extensively.
Attached is a patch that is working for us. Please validate or correct it.
Thanks.
Description: Ubuntu 12.04.5 LTS
Release: 12.04
procps version: 1:3.2.8-11ubuntu6.4
And
Description: Ubuntu 14.04.2 LTS
Release: 14.04
procps version: 1:3.3.9-1ubuntu2.2
To post a comment you must log in.
The attachment "Patch for numeric usernames of procps on Ubuntu 12.04" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]