Merge ~ack/maas:1915021-map-subnet-snap into maas:master

Proposed by Alberto Donato
Status: Merged
Approved by: Alberto Donato
Approved revision: a19b6529d8be0b50aee00149cd89a686999f2556
Merge reported by: MAAS Lander
Merged at revision: not available
Proposed branch: ~ack/maas:1915021-map-subnet-snap
Merge into: maas:master
Diff against target: 21 lines (+2/-1)
1 file modified
snap/snapcraft.yaml (+2/-1)
Reviewer Review Type Date Requested Status
Lee Trager (community) Approve
MAAS Lander Approve
Review via email: mp+397784@code.launchpad.net

Commit message

LP: #1915021 #1915022 - fix subnet mapping in the snap, add nmap

Subnet mapping acquires a lock under /dev/shm which needs to be prefixed with
the snap name

This also adds nmap to the snap, which makes mapping faster

To post a comment you must log in.
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b 1915021-map-subnet-snap lp:~ack/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: 7e9835b22bd246584c6fc94f76dc1dacf08b46e9

review: Approve
Revision history for this message
MAAS Lander (maas-lander) wrote :

UNIT TESTS
-b 1915021-map-subnet-snap lp:~ack/maas/+git/maas into -b master lp:~maas-committers/maas

STATUS: SUCCESS
COMMIT: a19b6529d8be0b50aee00149cd89a686999f2556

review: Approve
Revision history for this message
Lee Trager (ltrager) wrote :

LGTM!

review: Approve

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 90d3c55..03eba67 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -31,7 +31,7 @@ plugs:
31apps:31apps:
32 supervisor:32 supervisor:
33 daemon: simple33 daemon: simple
34 command: bin/run-supervisord34 command: bin/ld-preload $SNAP/bin/run-supervisord
35 environment:35 environment:
36 PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$SNAP/usr/lib/python3.8/dist-packages36 PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$SNAP/usr/lib/python3.8/dist-packages
37 LD_PRELOAD: $SNAP/usr/lib/stub_initgroups.so37 LD_PRELOAD: $SNAP/usr/lib/stub_initgroups.so
@@ -101,6 +101,7 @@ parts:
101 - libxtables12101 - libxtables12
102 - lshw102 - lshw
103 - nginx-core103 - nginx-core
104 - nmap
104 - openssh-client105 - openssh-client
105 - python3-attr106 - python3-attr
106 - python3-bson107 - python3-bson

Subscribers

People subscribed via source and target branches