Project

General

Profile

Actions

Bug #1008

closed

Missing temp dirs on Fedora, and failure to log

Added by Robin Powell almost 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

"sudo /etc/init.d/foreman start" couldn't work on Fedora because of a lack of tmp dirs (/var/run is tmpfs), which can be fixed like so:

root# cat /etc/tmpfiles.d/foreman.conf
D /var/run/foreman/ 0755 foreman foreman -
D /var/run/foreman/sockets 0755 foreman foreman -
D /var/run/foreman/sessions 0755 foreman foreman -
D /var/run/foreman/pids 0755 foreman foreman -
D /var/run/foreman/cache 0755 foreman foreman -

(Just tested.)

It also didn't appear, via strace, to try to send its failure to create a PID file to syslog or anything, so the failure was silent; having that fixed too would be nice.

-Robin

Actions

Also available in: Atom PDF