Bug#733599: cups: Should not load parallel port modules if there are none
On Thu 02 Jan 2014 at 15:29:43 +0000, 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.
Reply to: