FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have Fedora9 installed on my laptop. Today I installed HPlip to enable my printer. The installation went perfect. Even a test page was printed. However, after rebooting the system I am unable to print and get the following Error/Msg:
Quote:
Summary:
SELinux is preventing the python from using potentially mislabeled files (/root/.hplip/hplip.conf).
Detailed Description:
[SELinux is in permissive mode, the operation would have been denied but was permitted due to permissive mode.]
Allowing Access:
If you want python to access this files, you need to relabel them using restorecon -v '/root/.hplip/hplip.conf'. You might want to relabel the entire
directory using restorecon -R -v '/root/.hplip'.
When I tried using the above command, I get the following output:
Code:
[awm@localhost ~]$ restorecon -R -v '/root/.hplip'
bash: restorecon: command not found
[awm@localhost ~]$
Can someone pls help me with this relabeling stuff?
Distribution: Centos, knoppix, Fedora, Mepis, Zenwalk, Mint
Posts: 142
Rep:
try using su - instead of just su, when switching to root. As the first one puts you in the root enviroment where this command is available unlike the last one. This is what i have to do on my machine when running restorecon cmd's.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.