keystone user should not have a primary group of nogroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystone (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The keystone package creates a keystone user who's primary (and only) group membership is 'nogroup'. This results in files/directories created by the keystone user having 'nogroup' group ownership. This is considered a bad thing.
The keystone user should have it's primary group set to 'keystone'.
I am currently using Precise and keystone-light, however the current keystone package seems to be affected as well.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ apt-cache madison keystone
keystone | 2012.1+
keystone | 2012.1~
I have attached a patch for keystone-light which should fix the problem (liberally cribbed from the nova packages).
--- Tests ---
$ id keystone
uid=112(keystone) gid=65534(nogroup) groups=
$ getent passwd keystone
keystone:
$ getent group keystone
keystone:x:119:
Changed in keystone (Ubuntu): | |
importance: | Undecided → Medium |
New patch attached. Removes my redundant setting of permissions on files/directories.