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

Bug#202096: xfs: plan for running as non-root user and better FPE handling



On Wed, Jul 30, 2003 at 11:11:33PM +0900, ISHIKAWA Mutsumi wrote:
>  How about to use `/var/log/fs' ?

I'm nervous about:

1) creating a subdirectory of /var/log, though if apache and boa can do
   it, I suppose we can;
2) calling it "fs", given the multiple meanings of this abbreviation.

Maybe /var/log/fontservers?

>  1) xfs write Error log to
> 
>     LOGDIRECTORY = /var/log
>     FSERRORS = $(LOGDIRECTORY)/xfs.log
>     (from xc/programs/xfs/Imakefile)
> 
>     But xfs will run in non-root privillage, /var/log/xfs.log
>    can not write (if the file does not exists owned by xfntserv
>    before running xfs) because /var/log is owned by root.root.
> 
>     I think it is one of the solution to use /var/log/fs/xfs.log
>    for it. /var/log/fs directory will own by xfntserv.

Sounds good.

>  2) xfs-xtt write Error log to
> 
>     LOGDIRECTORY = /var/log
>     FSERRORS = $(LOGDIRECTORY)/xfs-xtt/xfs-xtt.log
>     (from xc/programs/xfs/Imakefile)
> 
>     It is easy to move to /var/log/fs/xfs-xtt.log

Yup.

>  3) Currently xfstt does not write any log (I believe).
>     So it will not use /var/log/fs

Okay.

Thanks for your suggestion!  Except for calling the directory "fs", I
find myself in agreement.

-- 
G. Branden Robinson                |    Ambition: an overmastering desire
Debian GNU/Linux                   |    to be vilified by enemies while
branden@debian.org                 |    living and ridiculed by friends
http://people.debian.org/~branden/ |    when dead.        -- Ambrose Bierce

Attachment: pgpRrjtv3xBcl.pgp
Description: PGP signature


Reply to: