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

Fixes and backports (5.0-edge) #399

Merged

Conversation

simondeziel
Copy link
Member

No description provided.

This reverts commit 0c60508.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
….activate

Since `groupadd`/`useradd` are called with `nsenter -t 1 -m`, their
corresponding `grep ... /etc/nsswitch.conf` check needs to look at the hostfs
file, not the `/etc/nsswitch.conf` from the base snap.

Presumably, daemon.activate ran before daemon.start, thus avoid any real world
issue.

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
(cherry picked from commit 7c43a70)
Copy link
Member

@tomponline tomponline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tomponline tomponline merged commit 13c80b6 into canonical:5.0-edge Mar 22, 2024
2 checks passed
@simondeziel simondeziel deleted the fixes-and-backports-5.0-edge branch March 22, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants