Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wheel group w/GID = 1001 is created by default on a new install (should be a system group w/GID < 1000) #4035

Open
2 tasks done
ermo opened this issue Oct 12, 2024 · 2 comments
Assignees
Labels
Bug Something isn't working

Comments

@ermo
Copy link
Contributor

ermo commented Oct 12, 2024

Please confirm there isn't an existing open bug report

  • I have searched open bugs for this issue

Summary

It looks like the wheel group is created unconditionally during install.

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

  • 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.

EDIT: I tested the above, and that was not it. Also, this is apparently present on existing installs, so it is likely something else.

@ermo ermo added the Bug Something isn't working label Oct 12, 2024
@EbonJaeger
Copy link
Member

EbonJaeger commented Oct 12, 2024

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.

@TraceyC77
Copy link
Contributor

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 TraceyC77 changed the title calamares force-creates the wheel group? Wheel group is created by default on a new install Oct 12, 2024
@ermo ermo changed the title Wheel group is created by default on a new install Wheel group w/GID = 1001 is created by default on a new install (should be a system group w/GID < 1000) Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Status: Triage
Development

No branches or pull requests

3 participants