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
Remove default membership in redundant groups #4258
Conversation
The cloud-init template for Ubuntu currently includes membership in numerous groups. Many of these are groups that were removed from the default list over a decade ago on the desktop, and which are better served by udev rules today. Specifically: audio, dialout, floppy, netdev, plugdev, video. LP: #1923363
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks!
Open question: Do we want to gate this change for <=mantic
, to minimize potential breaks?
This represents a change in behavior so we shouldn't include this in old Ubuntu releases since it could break users that are expecting the default user to be a member of these groups. |
I think we would need to include the following patch in non-mantic releases:
|
Agreed: I wouldn't suggest shipping such changes pre-mantic. I've checked through the udev rules and I'm reasonably confident that the removal of these groups shouldn't result in any loss of functionality in mantic, but I can't say the same for jammy (largely because I haven't checked; not sure how much churn there is in the udev rules though). One notable group I've left alone for now, although it may be redundant as well, is the |
The cloud-init template for Ubuntu currently includes membership in numerous groups. Many of these are groups that were removed from the default list over a decade ago on the desktop, and which are better served by udev rules today. Specifically: audio, dialout, floppy, netdev, plugdev, video. LP: #1923363
Proposed Commit Message
Additional Context
LP: #1923363
Checklist: