LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices

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

Rep: Reputation: 42
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??


INSTALLATION NOTES
------------------
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, 02:28 AM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,904

Rep: Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713Reputation: 1713
???????

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 --
Code:
su -
--- your root password when asked for ---
yum search hp
then from that list install lip
Code:
su -
yum install ???????
 
Old 04-18-2011, 02:38 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,279
Blog Entries: 54

Rep: Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854Reputation: 2854
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.
 
  


Reply


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 10:23 AM
LXer: Tutorial: More Than HPLIP Service for Linux LXer Syndicated Linux News 0 08-13-2007 08:11 PM
hplip on a linux from scratch build? behmjoe Linux - Hardware 0 12-19-2005 07:57 PM


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

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