packages icon indicating copy to clipboard operation
packages copied to clipboard

Wheel group is created by default on a new install

Open ermo opened this issue 1 year ago • 2 comments

Please confirm there isn't an existing open bug report

  • [X] I have searched open bugs for this issue

Summary

It looks like the wheel group is created unconditionally by Calamares.

It also looks like it is created as a normal user group (gid = 1001) after the primary install user's group is created (named after the user) with gid = 1000.

Steps to reproduce

  1. Install an ISO, create a single admin user, reboot
  2. After first boot, check getent group wheel in a terminal; it will output wheel:x:1001

Expected result

Either the wheel group shouldn't exist (Solus uses the sudo group like Debian does) XOR the wheel group should be a system group (GID <1000)

Actual result

getent group wheel outputs wheel:x:1001

Environment

  • [X] Is system up to date?

Repo

Shannon (stable)

Desktop Environment

Xfce ISO

System details

N/A

Other comments

I suspect the reason this is created is due to the uncommented greetd lines here.

If those lines were either changed/commented out/removed, I suspect the issue would not present.

ermo avatar Oct 12 '24 16:10 ermo

I don't believe we use greetd in any edition, so I don't think it's that that. Further, I see nothing in the Calamares code that creates any group unconditionally; everything is set from the Users module config file.

EbonJaeger avatar Oct 12 '24 16:10 EbonJaeger

This is probably related to when we added wheel as a default group. The group should exist. It's possible the uid is wrong.

TraceyC77 avatar Oct 12 '24 16:10 TraceyC77

For comparison, Fedora creates the wheel group with gid 10

TraceyC77 avatar Jul 26 '25 02:07 TraceyC77

@joebonrichie this is probably related to your recent work

TraceyC77 avatar Nov 28 '25 22:11 TraceyC77