Home
last modified time | relevance | path

Searched refs:dropin (Results 1 – 13 of 13) sorted by relevance

/systemd-251/src/portable/
Dportable.c958 _cleanup_free_ char *text = NULL, *dropin = NULL; in install_chroot_dropin() local
965 dropin = path_join(dropin_dir, "20-portable.conf"); in install_chroot_dropin()
966 if (!dropin) in install_chroot_dropin()
1007 r = write_string_file(dropin, text, WRITE_STRING_FILE_CREATE|WRITE_STRING_FILE_ATOMIC); in install_chroot_dropin()
1009 return log_debug_errno(r, "Failed to write '%s': %m", dropin); in install_chroot_dropin()
1011 (void) portable_changes_add(changes, n_changes, PORTABLE_WRITE, dropin, NULL); in install_chroot_dropin()
1014 *ret_dropin = TAKE_PTR(dropin); in install_chroot_dropin()
1029 _cleanup_free_ char *dropin = NULL, *from = NULL; in install_profile_dropin() local
1048 dropin = path_join(dropin_dir, "10-profile.conf"); in install_profile_dropin()
1049 if (!dropin) in install_profile_dropin()
[all …]
/systemd-251/test/units/
Dtestsuite-15.sh187 for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d; do
188 mkdir -p /usr/lib/systemd/system/$dropin
191 ExecCondition=/bin/echo $dropin
192 " >/usr/lib/systemd/system/$dropin/override.conf
194 check_ok a-b-c ExecCondition "/bin/echo $dropin"
196 for dropin in service.d a-.service.d a-b-.service.d a-b-c.service.d; do
197 rm -rf /usr/lib/systemd/system/$dropin
523 mkdir -p /tmp/testsuite-15-test15-a-dropin-directory
524 ln -s /tmp/testsuite-15-test15-a-dropin-directory /etc/systemd/system/test15-a.service.d
525 cat >/tmp/testsuite-15-test15-a-dropin-directory/override.conf <<EOF
[all …]
/systemd-251/test/test-network/conf/10-dropin-test.netdev.d/
Dname.conf2 Name=dropin-test
/systemd-251/test/test-network/conf/
D15-name-conflict-test.netdev3 Name=dropin-test
/systemd-251/src/shared/
Dmeson.build106 'dropin.c',
107 'dropin.h',
317 'userdb-dropin.c',
318 'userdb-dropin.h',
Dinstall.c2490 _cleanup_free_ char *path = NULL, *dropin = NULL; in unit_file_revert() local
2510 dropin = strjoin(path, ".d"); in unit_file_revert()
2511 if (!dropin) in unit_file_revert()
2514 r = lstat(dropin, &st); in unit_file_revert()
2520 r = path_shall_revert(&lp, dropin); in unit_file_revert()
2527 todo[n_todo++] = TAKE_PTR(dropin); in unit_file_revert()
/systemd-251/src/core/
Dmeson.build84 load-dropin.c
85 load-dropin.h
/systemd-251/src/systemctl/
Dsystemctl-show.c386 STRV_FOREACH(dropin, i->dropin_paths) { in print_status_info()
396 dir = dirname_malloc(*dropin); in print_status_info()
407 last = ! (*(dropin + 1) && startswith(*(dropin + 1), dir)); in print_status_info()
409 … if (terminal_urlify_path(*dropin, basename(*dropin), &dropin_formatted) >= 0) in print_status_info()
412 df = *dropin; in print_status_info()
/systemd-251/src/analyze/
Danalyze-security.c2737 _cleanup_free_ char *unit_name = NULL, *dropin = NULL, *profile_path = NULL; in offline_security_checks() local
2743dropin = strjoin(m->lookup_paths.temporary_dir, "/", unit_name, ".d/profile.conf"); in offline_security_checks()
2744 if (!dropin) in offline_security_checks()
2746 (void) mkdir_parents(dropin, 0755); in offline_security_checks()
2755 r = copy_file(profile, dropin, 0, 0644, 0, 0, 0); in offline_security_checks()
/systemd-251/test/
Dnetworkd-test.py135 with open(dropin_path, 'w') as dropin:
136 dropin.write(contents)
/systemd-251/test/test-network/
Dsystemd-networkd-tests.py484 dropin = unit
485 dropindir = os.path.join(network_unit_file_path, os.path.dirname(dropin))
487 shutil.copy(os.path.join(networkd_ci_path, dropin), dropindir)
488 unit = os.path.dirname(dropin).rstrip('.d')
504 for dropin in dropins:
505 shutil.copy(os.path.join(networkd_ci_path, dropin), networkd_conf_dropin_path)
509 for dropin in dropins:
510 if os.path.exists(os.path.join(networkd_conf_dropin_path, dropin)):
511 os.remove(os.path.join(networkd_conf_dropin_path, dropin))
/systemd-251/
DTODO296 * support uefi/http boots with sd-boot: instead of looking for dropin files in
DNEWS1850 * The userdbctl tool gained two new switches --with-dropin= and
4159 * Unit files now support top level dropin directories of the form
5891 "foo-bar-baz.service" it would look for dropin files in