diff --git a/snap-http b/snap-http index 162f6f088..f3bb53973 160000 --- a/snap-http +++ b/snap-http @@ -1 +1 @@ -Subproject commit 162f6f0886f0a77d5d5e73425c5c19e432753c90 +Subproject commit f3bb5397395296c345d85a0ea6e7665cb61d4321 diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 249909a9f..364e402fd 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -34,6 +34,7 @@ apps: - shutdown - snapd-control - system-observe + - etc-landscape-client-user-management environment: LANDSCAPE_CLIENT_SNAP: 1 LANDSCAPE_CLIENT_CORE: 1 @@ -46,6 +47,16 @@ apps: LANDSCAPE_CLIENT_CORE: 1 PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$PYTHONPATH +plugs: + etc-landscape-client-user-management: + interface: system-files + read: + - /etc/passwd + - /etc/group + write: + - /etc/passwd + - /etc/group + layout: /etc/landscape-client.conf: bind-file: $SNAP_COMMON/etc/landscape-client.conf