G'day,
  I have received two reports (82476 and 82711) from people running on
Alphas stating that lpd dies immediately it runs.  Once of them has
found the problem. A big thnkayou to Doug.
--- src/common/vars.c~  Mon Jan 15 16:04:15 200
+++ src/common/vars.c   Mon Jan 15 16:47:46 2001
@@ -186,7 +186,7 @@
    /* printers that we should query for status information */
 { "destinations", 0, STRING_K, &Destinations_DYN,0,0},
    /* allow LPR to make direct socket connection to printer */
-{ "direct", 0, STRING_K, &Direct_DYN,0,0},
+{ "direct", 0, INTEGER_K, &Direct_DYN,0,0},
    /* drop root permissions after binding to listening port */
 { "drop_root", 0, FLAG_K, &Drop_root_DYN,0,0},
    /* exit linger timeout to wait for socket to close */

Assigning a char* to an int, enough to ruin your day on some
architectures :/

Now, i'm also getting a fair few reports from people upgrading to 3.7.4
and finding remote printing doesn't work (82501). They have things
like 
  lprng-->lprng-->hp printer

They're upgrading the leftmost lprng.
Could this flag problem do it?  I'm also guessing it may be the lack of
root permissions to get the low TCP ports.

I'd love to get a one-liner about under what conditions having lpc and
friends should be setuid root.

  - Craig
* If you want to see a bug report, like bug #123 go to
http://bugs.debian.org/123 all lprng bugs are at
http://bugs.debian.org/lprng
This is obviously Debian package bugs.

-- 
Craig Small VK2XLZ  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
Eye-Net Consulting http://www.eye-net.com.au/        <[EMAIL PROTECTED]>
MIEEE <[EMAIL PROTECTED]>                 Debian developer <[EMAIL PROTECTED]>

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