| 29 Jun 2025 |
emily | because
- path = nm_utils_file_search_in_paths("openconnect",
- "/usr/sbin/openconnect",
- DEFAULT_PATHS,
- G_FILE_TEST_IS_EXECUTABLE,
- NULL,
- NULL,
- error);
- if (!path)
- return FALSE;
+ path = "@openconnect@/bin/openconnect";
| 15:13:16 |
hexa | lovely | 15:13:32 |
emily | it should just look it up in $PATH | 15:13:40 |
emily | and we can add things to the service's $PATH | 15:13:44 |
emily | like normal | 15:13:46 |
emily | it's possible nm_utils_file_search_in_paths even does hat, I don't know what DEFAULT_PATHS is | 15:13:56 |
emily | we're definitely sure we want this instead of one option to turn on wired DHCP for networkd right? :P | 15:14:20 |
hexa | yes, we're sure | 15:15:02 |
hexa | our networkmanager packaging being bad doesn't change that 😄 | 15:15:09 |
emily | DEFAULT_PATHS is specific to this file and separate from the global NM_PATHS_DEFAULT | 15:15:17 |
K900 | In reply to @emilazy:matrix.org we're definitely sure we want this instead of one option to turn on wired DHCP for networkd right? :P Yeah especially for wireless | 15:15:20 |
emily | very cool | 15:15:25 |
emily | and it does not check actual $PATH | 15:15:45 |
hexa | do we really need modemmanager on the installer iso though? | 15:15:51 |
@saiko:knifepoint.net | why not just iwd for wireless? | 15:16:01 |
hexa | to pull multiple gigabytes of outputs from the cache | 15:16:13 |
hexa | that sounds a bit unrealistic | 15:16:17 |
hexa | crappy eap support | 15:16:24 |
@saiko:knifepoint.net | ahh.. :( | 15:16:32 |