Activity log for bug #1697492

Date Who What changed Old value New value Message
2017-06-12 16:10:24 Alfonso Sanchez-Beato bug added bug
2017-06-14 15:13:23 Tony Espy snappy: status New Confirmed
2017-06-14 15:40:56 Tony Espy description When suspending/resuming, systemd runs the script /lib/systemd/system-sleep/wpasupplicant, but fails if the wpa-supplicant snap is installed. This happens because the script tries to run "/sbin/wpa_cli" instead of the client included in the snap, "wpa-supplicant.wpa-cli". This is the content of the script: $ cat /lib/systemd/system-sleep/wpasupplicant #!/bin/sh set -e if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then case "$1" in pre) /sbin/wpa_cli suspend ;; post) /sbin/wpa_cli resume ;; esac fi When suspending/resuming, systemd runs the script /lib/systemd/system-sleep/wpasupplicant, but fails if the wpa-supplicant snap is installed. This happens because the script tries to run "/sbin/wpa_cli" instead of the client included in the snap, "wpa-supplicant.wpa-cli". This is the content of the script: $ cat /lib/systemd/system-sleep/wpasupplicant #!/bin/sh set -e if [ "$2" = "suspend" ] || [ "$2" = "hybrid-sleep" ]; then     case "$1" in         pre) /sbin/wpa_cli suspend ;;         post) /sbin/wpa_cli resume ;;     esac fi The version of wpa-supplicant snap is: 2.4-1, r12 The version of core snap is:
2023-09-20 13:19:23 Michael Vogt affects snappy snapd