Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 04-18-2011, 02:18 AM   #1
Senior Member
Registered: Jan 2002
Location: Nanjing, China
Distribution: Ubuntu 14.04
Posts: 1,555

Rep: Reputation: 45
hplip and SE Linux

I'm trying to get my new printer working. Well, actually the scanner, as I can print. I don't know if this is the problem, but on doing a reinstall, as recommended by hplip, I get this message:

How do I run SE Linux in the permissive mode??

SELinux must run in permissive mode or it must be disabled for HPLIP to function properly. Please run SELinux in permissive mode or disable it before continuing.
To complete the install in Fedora 12 or 13 or 14 you must quit the installer at the printer setup stage, log out, log back in, and run hp-setup.

Please read the installation notes. Press <enter> to continue or 'q' to quit:

How do I do this??
Old 04-18-2011, 03:28 AM   #2
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,218

Rep: Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517Reputation: 2517

in the fedora repos is the hplip rpm - with the proper SE context
in the SE rpm's

just install the hplip for cups from the fedora repo

This should have been installed by default upon detecting the hp printer at install
SE should NOT be giving an error in "selinuxtroubleshotter" ( no gold star )

-- for the current fedora 14 --
su -
--- your root password when asked for ---
yum search hp
then from that list install lip
su -
yum install ???????
Old 04-18-2011, 03:38 AM   #3
Registered: May 2001
Posts: 29,360
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
I agree. Even on Centos-5 (meaning operating under a slightly older and probably more conservative version of the targeted SELinux policy) installing HPLIP gives zero problems. Anyway four methods to choose from:
0) edit "/etc/selinux/config" and change to "SELINUX=permissive" and reboot or
1) 'echo 0 >/selinux/enforce' or
2) run 'setenforce 0' or
3) add "enforcing=0" at the boot prompt.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
HPlip woes on --current ; Sharing printer gets broken if the hplip gui is launched Old_Fogie Slackware 2 10-28-2010 11:23 AM
LXer: Tutorial: More Than HPLIP Service for Linux LXer Syndicated Linux News 0 08-13-2007 09:11 PM
hplip on a linux from scratch build? behmjoe Linux - Hardware 0 12-19-2005 08:57 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 02:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration