Printing jobs
Daniel J Walsh
dwalsh at redhat.com
Mon Apr 1 12:44:16 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/31/2013 06:27 PM, Ed Greshko wrote:
> On 04/01/13 03:30, Richard Vickery wrote:
>>
>> No. The file /etc/selinux/targeted/contexts/files/file_contexts is
>> provided by selinux-policy-targeted. cups and hplip are not mutually
>> exclusive.
>>
>> I just checked and earlier versions of the policy did have
>> hplip_var_lib....
>>
>> So....
>>
>> yum update selinux-policy-targeted
>>
>> Should correct that problem....
>>
>> Can you print with lpr using either -P or setting the default?
>>
>>
>> Installing the above and going to print now get an error in the form of
>> the following, forcing me to go back through emails to figure out how I
>> got in recently. If I can't get a bug report done today, the following is
>> what I have just had returned:
>>
>> SELinux is preventing /usr/sbin/cupsd from using the 'transition'
>> accesses on a process.
>
> I would not bugzilla this or create a locale policy quite yet. One has to
> consider that selinux is not HW sensitive. Also, this is basic system
> stuff that if one has installed via the normal means it is used by "lots"
> of people.....
>
> I would first do this.....
>
> [root at meimei ~]# ls -dZ /usr/sbin/cupsd -rwxr-xr-x. root root
> system_u:object_r:cupsd_exec_t:s0 /usr/sbin/cupsd
>
> [root at meimei ~]# ls -dZ /usr/lib/cups/notifier/dbus -rwxr-xr-x. root root
> system_u:object_r:bin_t:s0 /usr/lib/cups/notifier/dbus
>
> I'm guessing one of these will not match the above.....
>
> I would then...
>
> [root at meimei ~]# yum check-update (to make sure no updates are
> pending...and update if there are)
>
> followed by
>
> [root at meimei ~]# touch /.autorelabel
>
> And then *reboot*. The boot process will take longer than normal....
>
> Then try again....
>
>
systemctl restart cups
Should fix your problem.
No need to relabel. The update plus restarting the service will fix it.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFZgSAACgkQrlYvE4MpobOr4QCgq0DmSeqNjAv7p8TPqUdRIGdm
N5wAni3MWS56uzEJJaRaWA8TcbKeBCaT
=+ATP
-----END PGP SIGNATURE-----
More information about the users
mailing list