From 941456dd08b3bce84c44510fa5a9507a8a3342d8 Mon Sep 17 00:00:00 2001 From: Mark Laing Date: Wed, 21 Aug 2024 16:50:44 +0100 Subject: [PATCH] snapcraft/commands: Link the pro command to the run-host wrapper. This command is used for retrieving tokens for guests. `pro` will never be packaged inside the snap, so always link it. Signed-off-by: Mark Laing --- snapcraft/commands/daemon.start | 3 +++ 1 file changed, 3 insertions(+) diff --git a/snapcraft/commands/daemon.start b/snapcraft/commands/daemon.start index 89e95508..e24a36b5 100755 --- a/snapcraft/commands/daemon.start +++ b/snapcraft/commands/daemon.start @@ -227,6 +227,9 @@ fi # Redirect getent to the host ln -s "${SNAP}/wrappers/run-host" "/run/bin/getent" +# Redirect pro to the host +ln -s "${SNAP}/wrappers/run-host" "/run/bin/pro" + # Avoid xtables talking to nft ln -s "${SNAP}/bin/arptables-legacy" "/run/bin/arptables" ln -s "${SNAP}/bin/ebtables-legacy" "/run/bin/ebtables"