Hi, I have error when i try to force wpa_supplicant to start before connmand by puting it in @ extdepends or @ optsdepends of connmand service file.
Full error:
2021-10-27 23:46:25.526167771 dbus: Register D-Bus object '/fi/w1/wpa_supplicant1'
2021-10-27 23:46:25.526384547 dbus: Could not request service name: already registered
2021-10-27 23:46:25.526421466 Failed to initialize wpa_supplicant
Lately I cannot supervise wpa_supplicant using 66 tools because connmand starts its own wpa_supplicant before 66 has a chance to start it resulting in the error above.
To rectify I need to stop connmand manually, then force start wpa_supplicant before restarting connmand again. Need some insight.
Full error:
# 66-enable -S -F -v4 connmand
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 42): tracing: start parse process of service: /usr/lib/66/service/connmand
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 82): tracing: read service file of: /usr/lib/66/service/connmand
66-enable(src/lib66/parser_enabled.c: parse_service_deps(): 241): tracing: /usr/lib/66/service/connmand: haven't dependencies
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 42): tracing: start parse process of service: /usr/lib/66/service/dbus
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 82): tracing: read service file of: /usr/lib/66/service/dbus
66-enable(src/lib66/parser_enabled.c: parse_service_deps(): 241): tracing: /usr/lib/66/service/dbus: haven't dependencies
66-enable(src/lib66/parser_enabled.c: parse_add_service(): 370): tracing: add service: /usr/lib/66/service/dbus
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 42): tracing: start parse process of service: /usr/lib/66/service/wpa_supplicant
66-enable(src/lib66/parser_enabled.c: parse_service_before(): 82): tracing: read service file of: /usr/lib/66/service/wpa_supplicant
66-enable(src/lib66/parser_enabled.c: parse_add_service(): 370): tracing: add service: /usr/lib/66/service/wpa_supplicant
66-enable(src/lib66/parser_enabled.c: parse_add_service(): 370): tracing: add service: /usr/lib/66/service/connmand
66-enable(src/lib66/parser_write.c: write_services(): 110): tracing: Write service dbus ...
66-enable(src/lib66/ss_environ.c: env_import_version_file(): 300): warning: same configuration file version for: dbus -- nothing to import
66-enable(src/lib66/ssexec_enable.c: start_write(): 114): tracing: write resolve file of: dbus
66-enable(src/lib66/ssexec_enable.c: start_write(): 126): tracing: Service written successfully: dbus
66-enable(src/lib66/parser_write.c: write_services(): 110): tracing: Write service wpa_supplicant ...
66-enable(src/lib66/ss_environ.c: env_import_version_file(): 300): warning: same configuration file version for: wpa_supplicant -- nothing to import
66-enable(src/lib66/ssexec_enable.c: start_write(): 114): tracing: write resolve file of: wpa_supplicant
66-enable(src/lib66/ssexec_enable.c: start_write(): 126): tracing: Service written successfully: wpa_supplicant
66-enable(src/lib66/parser_write.c: write_services(): 110): tracing: Write service connmand ...
66-enable(src/lib66/ss_environ.c: env_import_version_file(): 300): warning: same configuration file version for: connmand -- nothing to import
66-enable(src/lib66/ssexec_enable.c: start_write(): 114): tracing: write resolve file of: connmand
66-enable(src/lib66/ssexec_enable.c: start_write(): 126): tracing: Service written successfully: connmand
s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-oneshot-runner of type longrun
s6-rc-compile: tracing: from s6-rc-compile internals: adding identifier s6rc-fdholder of type longrun
s6-rc-compile: info: parsing /tmp/root:miDcyx/db/source/Master
s6-rc-compile: info: Master has type bundle
s6-rc-compile: tracing: from /tmp/root:miDcyx/db/source: adding identifier Master of type bundle
s6-rc-compile: tracing: from Master: adding identifier connmand-log of type unknown
s6-rc-compile: tracing: from Master: adding identifier dbus-log of type unknown
s6-rc-compile: tracing: from Master: adding identifier dbus of type unknown
s6-rc-compile: tracing: from Master: adding identifier wpa_supplicant-log of type unknown
s6-rc-compile: tracing: from Master: adding identifier wpa_supplicant of type unknown
s6-rc-compile: tracing: from Master: adding identifier connmand of type unknown
s6-rc-compile: info: parsing /tmp/root:miDcyx/db/source/connmand
s6-rc-compile: info: connmand has type longrun
s6-rc-compile: tracing: from /tmp/root:miDcyx/db/source: adding identifier connmand of type longrun
s6-rc-compile: tracing: previously encountered identifier connmand now has type longrun
s6-rc-compile: tracing: from connmand: adding identifier dbus of type unknown
s6-rc-compile: tracing: identifier dbus was already declared with type unknown
s6-rc-compile: tracing: from connmand: adding identifier wpa_supplicant of type unknown
s6-rc-compile: tracing: identifier wpa_supplicant was already declared with type unknown
s6-rc-compile: tracing: from connmand: adding identifier connmand-log of type unknown
s6-rc-compile: tracing: identifier connmand-log was already declared with type unknown
s6-rc-compile: info: connmand is a producer for connmand-log
s6-rc-compile: info: parsing /tmp/root:miDcyx/db/source/connmand-log
s6-rc-compile: info: connmand-log has type longrun
s6-rc-compile: tracing: from /tmp/root:miDcyx/db/source: adding identifier connmand-log of type longrun
s6-rc-compile: tracing: previously encountered identifier connmand-log now has type longrun
s6-rc-compile: tracing: from connmand-log: adding identifier connmand of type unknown
s6-rc-compile: tracing: identifier connmand was already declared with type longrun
s6-rc-compile: info: connmand-log is a consumer for connmand
s6-rc-compile: info: parsing /tmp/root:miDcyx/db/source/dbus
s6-rc-compile: info: dbus has type longrun
s6-rc-compile: tracing: from /tmp/root:miDcyx/db/source: adding identifier dbus of type longrun
s6-rc-compile: tracing: previously encountered identifier dbus now has type longrun
s6-rc-compile: tracing: from dbus: adding identifier dbus-log of type unknown
s6-rc-compile: tracing: identifier dbus-log was already declared with type unknown
s6-rc-compile: info: dbus is a producer for dbus-log
s6-rc-compile: info: parsing /tmp/root:miDcyx/db/source/dbus-log
s6-rc-compile: info: dbus-log has type longrun
s6-rc-compile: tracing: from /tmp/root:miDcyx/db/source: adding identifier dbus-log of type longrun
s6-rc-compile: tracing: previously encountered identifier dbus-log now has type longrun
s6-rc-compile: tracing: from dbus-log: adding identifier dbus of type unknown
s6-rc-compile: tracing: identifier dbus was already declared with type longrun
s6-rc-compile: info: dbus-log is a consumer for dbus
s6-rc-compile: info: making bundles for pipelines
s6-rc-compile: info: resolving bundle names
s6-rc-compile: fatal: during resolution of bundle Master: undefined service name wpa_supplicant-log
66-enable(src/lib66/db_compile.c: db_compile(): 79): warning: unable to compile: /tmp/root:miDcyx/db/root
66-enable(src/lib66/ssexec_enable.c: ssexec_enable(): 341): fatal: unable to compile /tmp/root:miDcyx/root
Is this expected behavior, I just want to avoid the error:2021-10-27 23:46:25.526167771 dbus: Register D-Bus object '/fi/w1/wpa_supplicant1'
2021-10-27 23:46:25.526384547 dbus: Could not request service name: already registered
2021-10-27 23:46:25.526421466 Failed to initialize wpa_supplicant
Lately I cannot supervise wpa_supplicant using 66 tools because connmand starts its own wpa_supplicant before 66 has a chance to start it resulting in the error above.
To rectify I need to stop connmand manually, then force start wpa_supplicant before restarting connmand again. Need some insight.