[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#50859: xfs Bug #50859: use start-stop-daemon --chuid ?



On Fri, May 16, 2008 at 21:52:58 +0200, Sven Joachim wrote:

> On 2008-05-16 13:07 +0200, Julien Cristau wrote:
> 
> > On Fri, May 16, 2008 at 08:16:20 +0200, Sven Joachim wrote:
> >
> >> Just FYI, I've been running xfs with this patch for the last few days
> >> and don't have any problems.  Could this be uploaded to unstable to get
> >> xfs back into testing?
> >> 
> > One question though: how can xfs reopen its log file when running as
> > nobody
> 
> Not at all, good catch.  I just didn't know it even has a log file.
> How about compiling with -DUSE_SYSLOG?
> 
> > (CloneMyself() calls InitErrors() currently, and we may want to
> > have xfs reopen its log file for logrotate, too)?
> 
> If it is worth to rotate the log file, which is currently not done.
> 
So how about creating a dedicated user for xfs, and moving logs to a
/var/log/xfs/ directory where this user can write?

Cheers,
Julien



Reply to: