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)

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.

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.

Description: Ubuntu 12.04.5 LTS
Release: 12.04
procps version: 1:3.2.8-11ubuntu6.4


Description: Ubuntu 14.04.2 LTS
Release: 14.04
procps version: 1:3.3.9-1ubuntu2.2

Tags: patch
Revision history for this message
CaduEllery (cmellery) wrote :
Revision history for this message
CaduEllery (cmellery) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

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.]

tags: added: patch
Revision history for this message
Basavaraj (basavarajmulagund92) wrote :
Changed in procps (Ubuntu):
assignee: nobody → Basavaraj (basavarajmulagund92)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.