<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 1, 2013 at 5:44 AM, Daniel J Walsh <span dir="ltr"><<a href="mailto:dwalsh@redhat.com" target="_blank">dwalsh@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div><div class="h5"><br>
On 03/31/2013 06:27 PM, Ed Greshko wrote:<br>
> On 04/01/13 03:30, Richard Vickery wrote:<br>
>><br>
>> No. The file /etc/selinux/targeted/contexts/files/file_contexts is<br>
>> provided by selinux-policy-targeted. cups and hplip are not mutually<br>
>> exclusive.<br>
>><br>
>> I just checked and earlier versions of the policy did have<br>
>> hplip_var_lib....<br>
>><br>
>> So....<br>
>><br>
>> yum update selinux-policy-targeted<br>
>><br>
>> Should correct that problem....<br>
>><br>
>> Can you print with lpr using either -P or setting the default?<br>
>><br>
>><br>
>> Installing the above and going to print now get an error in the form of<br>
>> the following, forcing me to go back through emails to figure out how I<br>
>> got in recently. If I can't get a bug report done today, the following is<br>
>> what I have just had returned:<br>
>><br>
>> SELinux is preventing /usr/sbin/cupsd from using the 'transition'<br>
>> accesses on a process.<br>
><br>
> I would not bugzilla this or create a locale policy quite yet. One has to<br>
> consider that selinux is not HW sensitive. Also, this is basic system<br>
> stuff that if one has installed via the normal means it is used by "lots"<br>
> of people.....<br>
><br>
> I would first do this.....<br>
><br>
> [root@meimei ~]# ls -dZ /usr/sbin/cupsd -rwxr-xr-x. root root<br>
> system_u:object_r:cupsd_exec_t:s0 /usr/sbin/cupsd<br>
><br>
> [root@meimei ~]# ls -dZ /usr/lib/cups/notifier/dbus -rwxr-xr-x. root root<br>
> system_u:object_r:bin_t:s0 /usr/lib/cups/notifier/dbus<br>
><br>
> I'm guessing one of these will not match the above.....<br>
><br>
> I would then...<br>
><br>
> [root@meimei ~]# yum check-update (to make sure no updates are<br>
> pending...and update if there are)<br>
><br>
> followed by<br>
><br>
> [root@meimei ~]# touch /.autorelabel<br>
><br>
> And then *reboot*. The boot process will take longer than normal....<br>
><br>
> Then try again....<br>
><br>
><br>
</div></div>systemctl restart cups<br>
<br>
Should fix your problem.<br>
<br>
No need to relabel. The update plus restarting the service will fix it.<br></blockquote><div><br></div><div style>Now the printer clicks on to print a document, then, within a tenth, or a hundredth, of a second, clicks as if printing were completed without printing.</div>
</div></div></div>