Lines Matching refs:home
1779 _cleanup_free_ char *home = NULL, *root = NULL, *secondary_root = NULL, *srv = NULL, *generic = NULL;
1989 if (home && nr >= home_nr)
1995 r = free_and_strdup(&home, node);
2113 if (home) {
2114 *home_device = home;
2115 home = NULL;
2212 r = mount_device(home_device, arg_directory, "/home", home_device_rw);
2214 return log_error_errno(r, "Failed to mount home directory: %m");
2452 _cleanup_free_ char *home = NULL;
2554 r = change_uid_gid(arg_user, &home);
2565 if ((asprintf((char**)(envp + n_env++), "HOME=%s", home ? home: "/root") < 0) ||
2645 chdir(home ?: "/root");