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

ujust dx-group does not add user to dev groups #1972

Closed
poulsky opened this issue Nov 24, 2024 · 3 comments · Fixed by #1974
Closed

ujust dx-group does not add user to dev groups #1972

poulsky opened this issue Nov 24, 2024 · 3 comments · Fixed by #1974
Labels
bug Something isn't working

Comments

@poulsky
Copy link

poulsky commented Nov 24, 2024

Describe the bug

When running the command ujust dx-group my user is not added the the dev groups even after a restart.

❯ ujust dx-group
Appending 1000 to /etc/group
[sudo] password for user:
Appending 10 to /etc/group
Reboot system and log back in to use docker, incus-admin, lxd, libvirt.

After restart

❯ groups
user wheel

What did you expect to happen?

I expected that my user was added to the dev groups.

Output of bootc status

❯ sudo bootc status
No staged image present
Current booted image: ghcr.io/ublue-os/bluefin-dx:stable
    Image version: 41.20241124.2 (2024-11-24 06:01:50 UTC)
    Image digest: sha256:b89a7d095116dbc7eefaf9caf248e3e620539fb12d96fd932254364241ddd065
Current rollback image: ghcr.io/ublue-os/bluefin-dx:stable
    Image version: 41.20241124.2 (2024-11-24 06:01:50 UTC)
    Image digest: sha256:b89a7d095116dbc7eefaf9caf248e3e620539fb12d96fd932254364241ddd065

Output of groups

user wheel

Extra information or context

I have just today (24-11-2024) installed bluefin-dx:stable via the installation image (iso).

Ran ujust update after installation.

Initially I only did a logout/login after running a ujust dx-group. I know the terminal message says to reboot, however the the docs only mentions logout/login so I went with that.

@poulsky poulsky changed the title ujust dx-group does not add user to groups ujust dx-group does not add user to dev groups Nov 24, 2024
@dosubot dosubot bot added the bug Something isn't working label Nov 24, 2024
@castrojo
Copy link
Member

castrojo commented Nov 24, 2024

This worked for me with a reboot with gts after turning the mode on, does it work after rebooting?

Here's what happens if I run it afterwards.

Image

@tulilirockz
Copy link
Collaborator

This seems to be a bug with the recipe itself, but logging out/logging back in does not apply/remove the groups, we probably should update the docs to mention that. This is most likely because of some lingering setting in systemd-logind being set - Stuff like zellij sessions don't seem to get killed on log out in my system

@poulsky
Copy link
Author

poulsky commented Nov 25, 2024

I can confirm it now works. Thanks!

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
None yet
Development

Successfully merging a pull request may close this issue.

3 participants