On Tue, 2019-06-18 at 23:31 +0800, Ed Greshko wrote:
On 6/18/19 10:56 PM, Tim via users wrote:
> Hi,
>
> I recently set up Fedora 30 as a new install on a blank SDD. When
> I
> went to create my user it got UID 1000, as I expected (since I was
> the
> first user). But, not as I expected, it got GID 1001, because
> something else had already grabbed it:
>
> $ cat /etc/group|grep 1000
> hugetlbfs:x:1000:openvswitch
>
> I don't know what hugetlbfs is, nor openvswitch, my brief search
> against those terms doesn't suggest they're something I've set out
> to
> use. Nor do I consider them to be users of any kind. So why are
> they/it using GUI 1000? I always though ID numbers above 1000 were
> for
> people.
>
> Not being GID 1000 is a bit of a pain, NFS-wise, since 1000 belongs
> to
> me on other devices, and 1001 belongs to others. My quick
> workaround
> was to remove my private 1001 group from my user account, and pick
> the
> generic 100 users group.
>
> Though this doesn't stop the issue that whatever
> hugetlbfs/openvswitch
> is, has access to my GID on other devices. Can I remove them? Can
> I
> change their GID? Why are they picking numbers in the user
> range? If
> applications are going to start doing this, it could be a problem.
I guess you did "dnf info openvswitch" and "dnf info libhugetlbf"?
I'm guessing those are what resulted in the reservation of the ID's.
And, since you're
not going to use them just "dnf erase" them. Taking note of what
else may be removed.
FWIW, I just installed those 2 packages on a VM and the user and
group entries were
created when they didn't exist. Erasing the packages didn't remove
the entries. So, as
Todd pointed out, manual intervention will be required.
Maybe the bast solution:
- remove the packages
- change the groupid in /etc/group to an unused value < 1000
- changw you groupid to 1000
- reinstall the packages
/Louis