From 08e279b0894701570efc1ccdab38a917373ed8f4 Mon Sep 17 00:00:00 2001 From: Christian Breunig Date: Sun, 18 Oct 2026 09:11:09 +0200 Subject: T9477: remove no longer needed executable bit from conf_mode scripts With the full integration of vyos-configd, conf_mode scripts are loaded as Python modules and are no longer meant to be executed individually. Drop the executable bit and the now meaningless shebang. The remaining callers that ran a script directly (boot, op-mode, dhclient hook, vyshim fallback, ...) now invoke it through python3. The build now aborts if a conf_mode script is executable. --- src/system/keepalived-fifo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system') diff --git a/src/system/keepalived-fifo.py b/src/system/keepalived-fifo.py index 80e0d8901..a8d140ea0 100755 --- a/src/system/keepalived-fifo.py +++ b/src/system/keepalived-fifo.py @@ -39,7 +39,7 @@ logger.addHandler(logs_handler_syslog) logger.setLevel(logging.DEBUG) mdns_running_file = '/run/mdns_vrrp_active' -mdns_update_command = '/usr/libexec/vyos/conf_mode/service_mdns_repeater.py' +mdns_update_command = 'python3 /usr/libexec/vyos/conf_mode/service_mdns_repeater.py' # class for all operations class KeepalivedFifo: -- cgit v1.2.3