[CentOS] Issue with HP Officejet 6500 on CentOS 5.5

Sun Sep 19 15:24:44 UTC 2010
Marc-André Lévesque <malevesque at teksavvy.com>

On Sun, 2010-09-19 at 06:04 -0400, Scott Robbins wrote:

> I found that their CentOS instructions were a bit off.

Well their instructions are off. Their rpm will not install because of
dependencies and file ownership conflict between rpms. To succeed at
installing their hplip rpm, I had to provide the --nodeps argument to
remove hpijs. Otherwise, uninstalling hpijs would remove some packages
required packages by hplip-3.10.6_rhel-5.0 and reinstalling the
requirements would bring back hpijs.

As for setting selinux to permissive, I didn't bother. I'm sticking to
enforcing. I'd rather fix selinux when I'll need a blocked feature than
disabling it. For the record, here's the avc:

avc:  denied  { write } for  pid=23972 comm="hp" name=".index" dev=dm-4
ino=1245300 scontext=system_u:system_r:hplip_t:s0-s0:c0.c1023
tcontext=system_u:object_r:snmpd_var_lib_t:s0 tclass=file

It didn't prevent me from printing but I have not tried scanning.

Hope this helps,

MAL