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/Linux http://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
Reply to: