Further investigation narrowed the problem to the following 2:
1) I manually created the /var/log/hp/tmp directory (see error message above). In Selinux Permissive mode the fax started working fine. However i do not see anythin spooling into the tmp directory. Looks like it is not really needed however python code looking for it. I am not sure why?
2) Although fax is working I am getting the following AVC denial report. Seems some policy chagesrequired:
Further investigation narrowed the problem to the following 2:
1) I manually created the /var/log/hp/tmp directory (see error message above). In Selinux Permissive mode the fax started working fine. However i do not see anythin spooling into the tmp directory. Looks like it is not really needed however python code looking for it. I am not sure why?
2) Although fax is working I am getting the following AVC denial report. Seems some policy chagesrequired:
type=AVC msg=audit( 1349021534. 436:1191) : avc: denied { write } for pid=10757 comm="hpfax" name="tmp" dev="dm-6" ino=17434475 scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= unconfined_ u:object_ r:var_log_ t:s0 tclass=dir 1349021534. 436:1191) : avc: denied { add_name } for pid=10757 comm="hpfax" name="hpfax- pipe-155" scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= unconfined_ u:object_ r:var_log_ t:s0 tclass=dir 1349021534. 436:1191) : avc: denied { create } for pid=10757 comm="hpfax" name="hpfax- pipe-155" scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= system_ u:object_ r:var_log_ t:s0 tclass=fifo_file 1349021534. 436:1191) : arch=c000003e syscall=133 success=yes exit=0 a0=282f48c a1=11b6 a2=0 a3=393dd400c4 items=0 ppid=1790 pid=10757 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="hpfax" exe="/usr/ bin/python2. 7" subj=system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 key=(null) 1349021534. 436:1192) : avc: denied { write } for pid=10757 comm="hpfax" name="hpfax- pipe-155" dev="dm-6" ino=17434480 scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= system_ u:object_ r:var_log_ t:s0 tclass=fifo_file 1349021534. 436:1192) : avc: denied { open } for pid=10757 comm="hpfax" name="hpfax- pipe-155" dev="dm-6" ino=17434480 scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= system_ u:object_ r:var_log_ t:s0 tclass=fifo_file 1349021534. 436:1192) : arch=c000003e syscall=2 success=yes exit=6 a0=2ad3340 a1=1 a2=1ff a3=676f6c2f7261762f items=0 ppid=1790 pid=10757 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="hpfax" exe="/usr/ bin/python2. 7" subj=system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 key=(null) 1349021534. 561:1193) : avc: denied { remove_name } for pid=10757 comm="hpfax" name="hpfax- pipe-155" dev="dm-6" ino=17434480 scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= unconfined_ u:object_ r:var_log_ t:s0 tclass=dir 1349021534. 561:1193) : avc: denied { unlink } for pid=10757 comm="hpfax" name="hpfax- pipe-155" dev="dm-6" ino=17434480 scontext= system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 tcontext= system_ u:object_ r:var_log_ t:s0 tclass=fifo_file 1349021534. 561:1193) : arch=c000003e syscall=87 success=yes exit=0 a0=2ad3340 a1=ffffffff a2=393dfb8408 a3=676f6c2f7261762f items=0 ppid=1790 pid=10757 auid=4294967295 uid=0 gid=7 euid=0 suid=0 fsuid=0 egid=7 sgid=7 fsgid=7 tty=(none) ses=4294967295 comm="hpfax" exe="/usr/ bin/python2. 7" subj=system_ u:system_ r:hplip_ t:s0-s0: c0.c1023 key=(null)
type=AVC msg=audit(
type=AVC msg=audit(
type=SYSCALL msg=audit(
type=AVC msg=audit(
type=AVC msg=audit(
type=SYSCALL msg=audit(
type=AVC msg=audit(
type=AVC msg=audit(
type=SYSCALL msg=audit(
Can someone, please, take a look on these two problems ? Thanks.