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

Snap: launcher.sh seems to break Parallel installs #3170

Open
jmgiaever opened this issue Nov 26, 2024 · 0 comments
Open

Snap: launcher.sh seems to break Parallel installs #3170

jmgiaever opened this issue Nov 26, 2024 · 0 comments
Labels
Status: Available No one has claimed responsibility for resolving this issue.

Comments

@jmgiaever
Copy link

jmgiaever commented Nov 26, 2024

Mosquitto install method: snap

How?

  • How:
    • sudo snap set system experimental.parallel-instances=true && sudo reboot (Ref: Parallel Installs: «We recommend rebooting the system after toggling the experimental.parallel-instances flag state to avoid [...]»)
    • sudo snap install mosquitto mosquitto_other

Problem?

The launcher.sh-script in the RO filesystem seems to break Parallel Installs, when case is true:

case "$SNAP_USER_COMMON" in
        */root/snap/mosquitto/common*) COMMON=$SNAP_COMMON ;;
        *)                             COMMON=$SNAP_USER_COMMON ;;
esac

Parallel installs will use default_config.conf file, which is just readable. I would expect it to take into consideration its own namespace, e.g  */root/snap/$SNAP_INSTANCE_NAME/common (SNAP_INSTANCE_NAME=mosquitto_<instance>) or something similar.

@github-actions github-actions bot added the Status: Available No one has claimed responsibility for resolving this issue. label Nov 26, 2024
@jmgiaever jmgiaever mentioned this issue Nov 26, 2024
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Available No one has claimed responsibility for resolving this issue.
Projects
None yet
Development

No branches or pull requests

1 participant