[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



[ Sorry to follow-up so late, also I'm doing a little bug collage ]

To summarize the discussion:

On Thu, Jul 24, 2003 at 02:31:49AM +0900, ISHIKAWA Mutsumi wrote:
> On Sat, Jul 19, 2003 at 12:11:15PM -0500, Branden Robinson wrote:
> > On Sat, Jul 19, 2003 at 12:11:15PM -0500, Branden Robinson wrote:
> > > 1) Petition debian-policy for dynamically allocated user id under which
> > >    to run X font servers.  Username possibly "xfntserv"?

Need to be done before using the name, so Mutsumi, could you wait
doing this change to the next xfs-xtt upload until we have the
-policy aproval?

I'm not convinced with xfntserv, it's only a subjective aesthetic
opinion. What about "fontserv" or "fontserver", it's a little more
descriptive and it may be used by other non-X font servers (if they
exist one day :).

> 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.

I've seen Mutsumi's proposal, and I've looked my system for other
daemons using log as the home dir and none appeared. So why not use
run, anyway we'll have to create a subdir there as well to be able to
create and remove the pid files, and run is more commonly used.

So /var/log/fontserver(s) and /var/run/fontserver(s) ? Also it
resembles the user name ;>.

> > > 3) Modify xfs* init scripts to ensure proper ownership of temp
> > >    directory.

Also about the creation of temp dir, we can use what xfs has in its
maint scripts. But could we print only when creating (not if it
exists) ? because having two or three xfs* will repeat boot messages.

> > > 4) Use shared template to store font path elements.

[...]

> > > 5) dexconf uses these shared templates instead of
> > >    hardcoding FPEs.

> > Joey Hess pointed out that we only need to use debconf for the above if
> > we need access to this information during pre-configuration.

> > So, unless we have debconfage for FPEs in the font servers or X servers,
> > which I feel we probably shouldn't, the above will be implemented by
> > using /etc.  (Likely similar to the way /etc/X11/fonts/*/fonts.alias
> > files currently work.)

Do you have any prototype of this new implementation ?


regards,
guillem




Reply to: