Lines Matching refs:path

35 #include "path-lookup.h"
36 #include "path-util.h"
51 const char *path;
77 char *path;
96 free(s->path);
191 s->path);
222 s->path, s->path);
225 fprintf(f, "ExecReload=%s reload\n", s->path);
361 r = sysv_translate_facility(word, basename(s->path), &m);
371 log_warning_errno(r, "[%s:%u] Failed to add LSB Provides name %s, ignoring: %m", s->path, line, m);
427 r = sysv_translate_facility(word, basename(s->path), &m);
467 f = fopen(s->path, "re");
472 return log_error_errno(errno, "Failed to open %s: %m", s->path);
475 log_debug("Loading SysV script %s", s->path);
545 log_error("[%s:%u] PID file not absolute. Ignoring.", s->path, line);
683 return log_error_errno(errno, "Failed to read configuration file '%s': %m", s->path);
733 char **path;
739 STRV_FOREACH(path, lp->sysvinit_path) {
743 d = opendir(*path);
746 log_warning_errno(errno, "Opening %s failed, ignoring: %m", *path);
750 FOREACH_DIRENT(de, d, log_error_errno(errno, "Failed to enumerate directory %s, ignoring: %m", *path)) {
756 log_warning_errno(errno, "stat() failed on %s/%s, ignoring: %m", *path, de->d_name);
782 fpath = strjoin(*path, "/", de->d_name, NULL);
792 service->path = fpath;
821 _cleanup_free_ char *path = NULL;
824 path = strjoin(*p, "/", rcnd_table[i].path, NULL);
825 if (!path) {
830 d = opendir(path);
833 log_warning_errno(errno, "Opening %s failed, ignoring: %m", path);
838 FOREACH_DIRENT(de, d, log_error_errno(errno, "Failed to enumerate directory %s, ignoring: %m", path)) {
868 log_debug("Ignoring %s symlink in %s, not generating %s.", de->d_name, rcnd_table[i].path, name);