<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">&lt;<a href="mailto:dwalsh@redhat.com" target="_blank">dwalsh@redhat.com</a>&gt;</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>
&gt; On 04/01/13 03:30, Richard Vickery wrote:<br>
&gt;&gt;<br>
&gt;&gt; No.  The file /etc/selinux/targeted/contexts/files/file_contexts is<br>
&gt;&gt; provided by selinux-policy-targeted.  cups and hplip are not mutually<br>
&gt;&gt; exclusive.<br>
&gt;&gt;<br>
&gt;&gt; I just checked and earlier versions of the policy did have<br>
&gt;&gt; hplip_var_lib....<br>
&gt;&gt;<br>
&gt;&gt; So....<br>
&gt;&gt;<br>
&gt;&gt; yum update selinux-policy-targeted<br>
&gt;&gt;<br>
&gt;&gt; Should correct that problem....<br>
&gt;&gt;<br>
&gt;&gt; Can you print with lpr using either -P or setting the default?<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Installing the above and going to print now get an error in the form of<br>
&gt;&gt; the following, forcing me to go back through emails to figure out how I<br>
&gt;&gt; got in recently. If I can&#39;t get a bug report done today, the following is<br>
&gt;&gt; what I have just had returned:<br>
&gt;&gt;<br>
&gt;&gt; SELinux is preventing /usr/sbin/cupsd from using the &#39;transition&#39;<br>
&gt;&gt; accesses on a process.<br>
&gt;<br>
&gt; I would not bugzilla this or create a locale policy quite yet.  One has to<br>
&gt; consider that selinux is not HW sensitive.  Also, this is basic system<br>
&gt; stuff that if one has installed via the normal means it is used by &quot;lots&quot;<br>
&gt; of people.....<br>
&gt;<br>
&gt; I would first do this.....<br>
&gt;<br>
&gt; [root@meimei ~]# ls -dZ /usr/sbin/cupsd -rwxr-xr-x. root root<br>
&gt; system_u:object_r:cupsd_exec_t:s0 /usr/sbin/cupsd<br>
&gt;<br>
&gt; [root@meimei ~]# ls -dZ /usr/lib/cups/notifier/dbus -rwxr-xr-x. root root<br>
&gt; system_u:object_r:bin_t:s0       /usr/lib/cups/notifier/dbus<br>
&gt;<br>
&gt; I&#39;m guessing one of these will not match the above.....<br>
&gt;<br>
&gt; I would then...<br>
&gt;<br>
&gt; [root@meimei ~]# yum check-update (to make sure no updates are<br>
&gt; pending...and update if there are)<br>
&gt;<br>
&gt; followed by<br>
&gt;<br>
&gt; [root@meimei ~]# touch /.autorelabel<br>
&gt;<br>
&gt; And then *reboot*.  The boot process will take longer than normal....<br>
&gt;<br>
&gt; Then try again....<br>
&gt;<br>
&gt;<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>