[Bug 1478655] [NEW] Numeric username bigger than ulong gives error with -U option

CaduEllery cmellery at gmail.com
Mon Jul 27 17:54:51 UTC 2015


Public bug reported:

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 at 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

** Affects: procps (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Patch for numeric usernames of procps on Ubuntu 12.04"
   https://bugs.launchpad.net/bugs/1478655/+attachment/4434712/+files/numeric_username.patch

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1478655

Title:
  Numeric username bigger than ulong gives error with -U option

Status in procps package in Ubuntu:
  New

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 at 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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1478655/+subscriptions



More information about the foundations-bugs mailing list