Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Sep 1999 19:14:55 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        current@FreeBSD.org
Cc:        kheuer@gwdu60.gwdg.de
Subject:   Two fixes for lpd/lpc (printing)
Message-ID:  <v04210101b3f9f62ce135@[128.113.24.47]>

next in thread | raw e-mail | index | archive | help
I noticed problem-report bin/9362, which reported that the
'lpc start' command no longer works.  (it claims to start
the queue, but it doesn't actually start it).

I came up with a two or three line fix for that bug, and
sent it in as problem-report bin/13549.  This patch should
work on both freebsd-current and freebsd-stable.

I also noticed problem report bin/12912.  This PR includes
a patch to make sure that if a lockfile does not already
exist, then it will be created such that the queue is both
"enabled" and "started".  I have not tried this exact patch
yet, but here at RPI we've had a similar patch to lpd for a
long time.  We add printer queues to a master printcap file,
which is then copied to a few hundred workstations.  We really
don't want to have to run around all those workstations to
'enable' and 'start' a queue that we have just added.  Perhaps
we have a different 'umask' setting when lpd starts up than
most freebsd sites do...

Could some other people try these simple patches, and see
how well they work?  I am hoping these could make it into
the next official release, although I realize that time is
rapidly running out for that!   :-)


---
Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer          or  drosih@rpi.edu
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v04210101b3f9f62ce135>