From: Yu Watanabe Date: Thu, 6 Jul 2023 02:33:44 +0000 (+0900) Subject: test-network: drop ExecReload= in networkd.service and udevd.service X-Git-Tag: v254-rc1~16^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62eaf8d039a14e7bc4e682fa3ad4b3bfe366c29a;p=thirdparty%2Fsystemd.git test-network: drop ExecReload= in networkd.service and udevd.service Follow-up for 0e07cdb0e77d0322bc866b5e13abbe38e988059d and f84331539deae28fbeb42d45ad0c8d583b3372a3. --- diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py index be3ac672161..3138a102b75 100755 --- a/test/test-network/systemd-networkd-tests.py +++ b/test/test-network/systemd-networkd-tests.py @@ -357,17 +357,12 @@ def create_unit_dropin(unit, contents): with open(f'/run/systemd/system/{unit}.d/00-override.conf', mode='w', encoding='utf-8') as f: f.write('\n'.join(contents)) -def create_service_dropin(service, command, reload_command=None, additional_settings=None): +def create_service_dropin(service, command, additional_settings=None): drop_in = [ '[Service]', 'ExecStart=', f'ExecStart=!!{valgrind_cmd}{command}', ] - if reload_command: - drop_in += [ - 'ExecReload=', - f'ExecReload={valgrind_cmd}{reload_command}', - ] if enable_debug: drop_in += ['Environment=SYSTEMD_LOG_LEVEL=debug'] if asan_options: @@ -688,7 +683,6 @@ def setUpModule(): save_timezone() create_service_dropin('systemd-networkd', networkd_bin, - f'{networkctl_bin} reload', ['[Service]', 'Restart=no', '[Unit]', 'StartLimitIntervalSec=0']) create_service_dropin('systemd-resolved', resolved_bin) create_service_dropin('systemd-timesyncd', timesyncd_bin) @@ -702,8 +696,6 @@ def setUpModule(): '[Service]', 'ExecStart=', f'ExecStart=!!{udevd_bin}', - 'ExecReload=', - f'ExecReload={udevadm_bin} control --reload --timeout 0', ] ) create_unit_dropin(