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

Backports (latest-candidate) #400

Merged

Conversation

simondeziel
Copy link
Member

No description provided.

mihalicyn and others added 2 commits March 22, 2024 18:22
Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com>
(cherry picked from commit ecae4c5)
….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)
@simondeziel simondeziel marked this pull request as draft March 22, 2024 22:23
tomponline
tomponline previously approved these changes Mar 22, 2024
@tomponline tomponline marked this pull request as ready for review March 22, 2024 22:26
Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@tomponline tomponline merged commit eb655b9 into canonical:latest-candidate Mar 22, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants