> From [EMAIL PROTECTED] Thu Dec 20 17:07:19 2001
> Date: Thu, 20 Dec 2001 19:00:20 -0500 (EST)
> From: Alan Sundell <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: socket in /dev vs. /var/run [was Re: LPRng: Interesting Packages...]
>
> On Thu, 20 Dec 2001, Patrick Powell wrote:
> > lpd:  the SERVER.  Accepts connections (from TCP/IP port 515, or in the
> >       next release, /dev/lprng <sigh...>),  accepts requests and/or
> >       jobs from lpr, lpq, lprm, and lpc,  and does the requested action.
>
> Perhaps I missed some part of the discussion about this (just joined the
> list a couple of days ago), and I see you've made the path to the socket
> an option to ./configure, but it might be nice to make the default
> location of the UNIX socket something in /var/run.
>
> The FHS (if you care about the FHS) demands that transient sockets go
> there.  Even if you don't care about the FHS, there are a couple of good
> reasons.  If lpd is going to automatically create the socket, then
> putting it in /var/run would make things work for people with / mounted
> read-only, and putting it in a subdir of /var/run would allow the socket
> to be created by a non-root-privileged daemon.
>
> I know there is some tradition of a /dev/printer, but I think NetBSD,
> for instance, puts the socket in /var/run now.  If it's not going to be
> /dev/printer for compatibility, then it seems to me that it might as
> well be in /var/run.  People can always make /dev/printer a symlink and
> retain the two advantages in the paragraph above.
>
> Not a huge issue, but I just thought I'd throw those thoughts in before
> the current default gets established.
>
> --Alan

Excellent argument,  and it is DONE!

Default is now /var/run/lprng

Patrick


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to