Lines Matching refs:state_file
50 s->state_file = strappend("/run/systemd/seats/", id);
51 if (!s->state_file) {
56 s->id = basename(s->state_file);
60 free(s->state_file);
85 free(s->state_file);
103 r = fopen_temporary(s->state_file, &f, &temp_path);
153 if (rename(temp_path, s->state_file) < 0) {
161 (void) unlink(s->state_file);
166 return log_error_errno(r, "Failed to save seat data %s: %m", s->state_file);
457 unlink(s->state_file);