Bug#202096: xfs: plan for running as non-root user and better FPE handling
>>>>> In <[🔎] 20030724010434.GV6121@deadbeast.net>
>>>>> Branden Robinson <branden@debian.org> wrote:
>> [1 <text/plain; us-ascii (quoted-printable)>]
>> On Thu, Jul 24, 2003 at 02:31:49AM +0900, ISHIKAWA Mutsumi wrote:
>> > >> 1) Petition debian-policy for dynamically allocated user id under which
>> > >> to run X font servers. Username possibly "xfntserv"?
>> >
>> > Where is a good place for home directory of this user ?
>> > Home directory for the user is not important things to use
>> > this uid. But, I consider that it is better to have determined.
>>
>> Good question. I'm open to suggestions.
How about to use `/var/log/fs' ?
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.
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
3) Currently xfstt does not write any log (I believe).
So it will not use /var/log/fs
--
ISHIKAWA Mutsumi
<ishikawa@linux.or.jp>, <ishikawa@debian.org>, <ishikawa@netvillage.co.jp>
Reply to: