Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
snapcraft/commands/daemon.start: sync user/group creation with daemon…
….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>
- Loading branch information