Bug#733599: cups: Should not load parallel port modules if there are none
On Mon, Dec 30, 2013 at 10:50:25AM +0100, Benoît wrote: Package: cups Version: 1.6.4-2 Severity: minor Dear Maintainer, I am running cups on my laptop which has no parallel port at all. However, the /etc/init.d/cups script always loads lp, ppdev and parport_pc. Would there be a way to cleanly prevent these modules to be loaded ? It's not possible to autodetect if a printer is attached to the parallel port without this step. This is generally harmless, so it's hard to argue against this behaviour being the default, but it's certainly true that parallel port use is a rarity for many people nowadays. I would suggest blacklisting them in /etc/modprobe.d: cat EOF /etc/modprobe.d/blacklist-lp blacklist lp blacklist ppdev blacklist parport_pc and see if this helps. If not, I would suggest just commenting out the loading in /etc/init.d/cups. Regards, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linuxhttp://people.debian.org/~rleigh/ `. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools `-GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#733599: cups: Should not load parallel port modules if there are none
On Thu 02 Jan 2014 at 15:29:43 +, Roger Leigh wrote: On Mon, Dec 30, 2013 at 10:50:25AM +0100, Benoît wrote: Package: cups Version: 1.6.4-2 Severity: minor Dear Maintainer, I am running cups on my laptop which has no parallel port at all. However, the /etc/init.d/cups script always loads lp, ppdev and parport_pc. Would there be a way to cleanly prevent these modules to be loaded ? It's not possible to autodetect if a printer is attached to the parallel port without this step. This is generally harmless, so it's hard to argue against this behaviour being the default, but it's certainly true that parallel port use is a rarity for many people nowadays. I would suggest blacklisting them in /etc/modprobe.d: cat EOF /etc/modprobe.d/blacklist-lp blacklist lp blacklist ppdev blacklist parport_pc and see if this helps. If not, I would suggest just commenting out the loading in /etc/init.d/cups. May I suggest that there is no bug at all here and setting LOAD_LP_MODULE=no is the intended way to achieve what Benoît wants to do. Regards, Brian. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#733599: cups: Should not load parallel port modules if there are none
Le jeudi, 2 janvier 2014, 16.05:06 Brian Potkin a écrit : May I suggest that there is no bug at all here and setting LOAD_LP_MODULE=no is the intended way to achieve what Benoît wants to do. Thanks for pointing that, indeed! (Don't hesitate to do further suggestions, I value them highly, for what is worth!) Unfortunately your mail got caught in my mail fetching delay and I independently discovered that too… Yay. Cheers, OdyX signature.asc Description: This is a digitally signed message part.
Bug#733599: cups: Should not load parallel port modules if there are none
On Thu, Jan 02, 2014 at 06:03:58PM +0100, Didier 'OdyX' Raboud wrote: Le jeudi, 2 janvier 2014, 16.05:06 Brian Potkin a écrit : May I suggest that there is no bug at all here and setting LOAD_LP_MODULE=no is the intended way to achieve what Benoît wants to do. Thanks for pointing that, indeed! (Don't hesitate to do further suggestions, I value them highly, for what is worth!) Seconded. It's a much better answer than my own, and having this in the BTS will be a valuable reference for anyone looking for the answer to this question. Thanks, Roger -- .''`. Roger Leigh : :' : Debian GNU/Linux http://people.debian.org/~rleigh/ `. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/ `-GPG Public Key: 0x25BFB848 Please GPG sign your mail. signature.asc Description: Digital signature
Bug#733599: cups: Should not load parallel port modules if there are none
Package: cups Version: 1.6.4-2 Severity: minor Dear Maintainer, I am running cups on my laptop which has no parallel port at all. However, the /etc/init.d/cups script always loads lp, ppdev and parport_pc. Would there be a way to cleanly prevent these modules to be loaded ? Thank you. -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.11-2-amd64 (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cups depends on: ii cups-client1.6.4-2 ii cups-common1.6.4-2 ii cups-daemon1.6.4-2 ii cups-filters 1.0.34-3+b1 ii cups-ppdc 1.6.4-2 ii cups-server-common 1.6.4-2 ii debconf [debconf-2.0] 1.5.52 ii ghostscript9.05~dfsg-8+b1 ii libavahi-client3 0.6.31-4 ii libavahi-common3 0.6.31-4 ii libc-bin 2.17-97 ii libc6 2.17-97 ii libcups2 1.6.4-2 ii libcupscgi11.6.4-2 ii libcupsimage2 1.6.4-2 ii libcupsmime1 1.6.4-2 ii libcupsppdc1 1.6.4-2 ii libgcc11:4.8.2-10 ii libstdc++6 4.8.2-10 ii libusb-1.0-0 2:1.0.17-1+b1 ii lsb-base 4.1+Debian12 ii poppler-utils 0.18.4-10 ii procps 1:3.3.9-1 Versions of packages cups recommends: ii avahi-daemon 0.6.31-4 ii colord 1.0.5-1 ii cups-filters 1.0.34-3+b1 ii foomatic-filters 4.0.17-1 ii ghostscript-cups 9.05~dfsg-8+b1 ii printer-driver-gutenprint 5.2.9-1 Versions of packages cups suggests: ii cups-bsd 1.6.4-2 pn cups-pdf none ii foomatic-db20131129-2 ii hplip 3.13.11-2 ii printer-driver-hpcups 3.13.11-2 ii smbclient 2:4.1.3+dfsg-2 ii udev 204-5 -- debconf information: cupsys/raw-print: true cupsys/backend: lpd, socket, usb, snmp, dnssd -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org