From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Feb 7 18:00:05 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAC4216A41B for ; Thu, 7 Feb 2008 18:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C550F13C46A for ; Thu, 7 Feb 2008 18:00:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m17I05aU088822 for ; Thu, 7 Feb 2008 18:00:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m17I05b1088821; Thu, 7 Feb 2008 18:00:05 GMT (envelope-from gnats) Resent-Date: Thu, 7 Feb 2008 18:00:05 GMT Resent-Message-Id: <200802071800.m17I05b1088821@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Fred Wilson Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32E7516A477 for ; Thu, 7 Feb 2008 17:51:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1BAAD13C4E5 for ; Thu, 7 Feb 2008 17:51:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m17HnmI8076056 for ; Thu, 7 Feb 2008 17:49:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m17HnlWN076052; Thu, 7 Feb 2008 17:49:47 GMT (envelope-from nobody) Message-Id: <200802071749.m17HnlWN076052@www.freebsd.org> Date: Thu, 7 Feb 2008 17:49:47 GMT From: Fred Wilson To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/120359: cups port pkg_info improvement -- FreeBSD lp* not compataible X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Feb 2008 18:00:06 -0000 >Number: 120359 >Category: ports >Synopsis: cups port pkg_info improvement -- FreeBSD lp* not compataible >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Feb 07 18:00:05 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Fred Wilson >Release: i386 FreeBSD 6.2-RELEASE #0 >Organization: personal >Environment: FreeBSD gibbs.local 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 11:05:30 UTC 2007 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP i386 >Description: The versions of lp, lpr, lpq and lprm placed in /usr/bin when FreeBSD is copied are not compatible with cups (at least in some cases). Where the port install tells you how to provide cups access to the printer device (pkg_info ?) it would be valuable to include a line telling the installer to disable lp* in /usr/bin by moving them to save-lp* (incase you want to restore them) or removing them. It took me several days and a lot of time on the web to find this out and no I did not go directly to cups.org but eventually did find a thread where someone else went through the same trial and the cups organization told them what to do. >How-To-Repeat: If you can print the test page but lp or lpr gives messages like: no lp can't find /dev/lp or you do lp -d file and lpq shows your file as spooled but says there is no daemon (even if lpd is running). You may need to do this. Basically if you are running lpd, set lpd_enable="NO" and disable the four associated files in /usr/bin. >Fix: Add a couple of lines to the package setup information: To enable printing with local printer you need to .. 2) Edit /etc/rc.conf: ADD: devfs_system_ruleset="system" cupsd_enable="YES" inetd_enable="YES" (see man cups-lpd) REMOVE (if it exists): lpd_enable="YES" 3) move /usr/bin/lp* to /usr/bin/save-lp* 4) Restart devfs: ... >Release-Note: >Audit-Trail: >Unformatted: