usermod/userdel errantly believe user has running processes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
shadow (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I have found an occasional inability to remove or modify users due to incorrect matching of process owners, e.g.
# id -u bdobbs
1047
# usermod -u 1573552 bdobbs
usermod: user bdobbs is currently used by process 6337
# cat /proc/6337/status | grep Uid
Uid: 3000400 3000400 3000400 3000400
In `libmisc/
https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: passwd 1:4.2-3.1ubuntu5.4
ProcVersionSign
Uname: Linux 4.4.0-1107-aws x86_64
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: amd64
Date: Tue May 26 22:18:00 2020
Ec2AMI: ami-4e79ed36
Ec2AMIManifest: (unknown)
Ec2Availability
Ec2InstanceType: t3.medium
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/zsh
SourcePackage: shadow
UpgradeStatus: No upgrade log present (probably fresh install)
modified.
summary: |
- usermod/userdel errantly believe processes are in use + usermod/userdel errantly believe user has running processes |
Should I push this upstream to debian? Nobody seems interested in this.