Lines Matching defs:to

61         _cleanup_free_ char *p = NULL, *n = NULL, *d = NULL, *u = NULL, *to = NULL, *e = NULL,
87 return log_error_errno(r, "Failed to generate unit name: %m");
99 return log_error_errno(r, "Failed to generate unit name: %m");
103 return log_error_errno(errno, "Failed to create unit file %s: %m", p);
139 return log_error_errno(r, "Failed to generate unit name: %m");
185 return log_error_errno(r, "Failed to write file %s: %m", p);
191 to = strjoin(arg_dest, "/", d, ".wants/", n, NULL);
192 if (!to)
195 mkdir_parents_label(to, 0755);
196 if (symlink(from, to) < 0)
197 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
199 free(to);
201 to = strjoin(arg_dest, "/cryptsetup.target.requires/", n, NULL);
203 to = strjoin(arg_dest, "/cryptsetup.target.wants/", n, NULL);
204 if (!to)
207 mkdir_parents_label(to, 0755);
208 if (symlink(from, to) < 0)
209 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
212 free(to);
213 to = strjoin(arg_dest, "/dev-mapper-", e, ".device.requires/", n, NULL);
214 if (!to)
217 mkdir_parents_label(to, 0755);
218 if (symlink(from, to) < 0)
219 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
231 return log_error_errno(r, "Failed to write device drop-in: %m");
292 log_warning("Failed to parse luks switch %s. Ignoring.", value);
300 log_warning("Failed to parse luks crypttab switch %s. Ignoring.", value);
354 log_warning("Failed to parse luks name switch %s. Ignoring.", value);
372 log_error_errno(errno, "Failed to open /etc/crypttab: %m");
377 log_error_errno(errno, "Failed to stat /etc/crypttab: %m");
398 log_error("Failed to parse /etc/crypttab:%u, ignoring.", crypttab_line);
486 log_warning_errno(r, "Failed to parse kernel command line, ignoring: %m");