severity 498823 serious
kthxbye

On Sat, Sep 13, 2008 at 19:08:06 +0400, Stanislav Maslovski wrote:

> xfs still tries to access /var/log/xfs.log and /var/run/xfs.pid (as 'nobody')
> and reports these errors:
> ==================================================================================================
> Sep 12 23:03:05 shota xfs[3307]: terminating 
> Sep 12 23:03:05 shota xfs[3307]: cannot remove process ID file 
> /var/run/xfs.pid: Permission denied
> Sep 13 09:45:24 shota xfs[3281]: can't open error file "/var/log/xfs.log"
> ==================================================================================================

Hrm. AIUI logging should now happen through syslog, so that part is
probably fixable.  The pid file, on the other hand, might be a real
problem with the whole 'running as nobody' thing.  I think the easiest
fix is to have a dedicated user, and an xfs directory in /var/run where
the pidfile would be stored, as that would allow the xfs process to
remove its pid file itself.  But maybe I'm missing something.

Petter, since you made the change to run as nobody, care to cook up a
patch for this?

Cheers,
Julien



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to