Vinicius wrote:
Vinicius wrote:
Daniel J Walsh wrote:
Vinicius wrote:
Hello,
Please see https://www.redhat.com/archives/fedora-list/2005-July/msg03159.html
Any suggestions, please?
Well first put in a bugzilla. Secondly what port is it trying to connect to?
Did you change the port number of the hpssd?
TIA,
Vinicius.
--
Hello,
I filled the bug report number 163434 (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163434).
The port is 32774.
No, I didn't change the port number of the hpssd. And I don't know how to do this.
from /var/log/messages: Jul 16 10:02:54 ronin hpiod: 0.9.3 accepting connections at 32774... Jul 16 10:03:04 ronin python: hpssd [ERROR] Unable to connect to hpiod.
from /var/log/audit/audit.log: type=CWD msg=audit(1121518984.285:13005806): cwd="/usr/share/hplip" type=PATH msg=audit(1121518984.285:13005806): item=0 name="/usr/share/hplip/base/strings.pyc" flags=310 inode=1181808 dev= fd:00 mode=040755 ouid=0 ogid=0 rdev=00:00 type=AVC msg=audit(1121518984.905:13008633): avc: denied { name_connect } for pid=4841 comm="python" dest=32774 scontext =root:system_r:hplip_t tcontext=system_u:object_r:port_t tclass=tcp_socket type=SYSCALL msg=audit(1121518984.905:13008633): arch=40000003 syscall=102 success=no exit=-13 a0=3 a1=bfd6cf50 a2=98b114 a 3=b7c99b48 items=0 pid=4841 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 comm="python" exe="/usr /bin/python" type=SOCKADDR msg=audit(1121518984.905:13008633): saddr=020080067F0000010000000000000000 type=SOCKETCALL msg=audit(1121518984.905:13008633): nargs=3 a0=5 a1=b7c99b60 a2=10
TIA,
Vinicius.
Hello,
after the recent FC4 updates such as gcc and libtool (thanks to them, I think), hplip 0.9.4 from http://sourceforge.net/projects/hpinkjet/ is working fine with FC4, printing e scanning. I think the hplip component from the Fedora development team will work too. But I'm running with SELinux disabled, so I will turn it on and to see what happens.
Cheers,
Vinicius.
I think I have to thank to the SELinux policies updates too.
Just to make the things clear, I compiled the hplip 0.9.4 after the recents updates under.
After SELinux enabled with "enforcing" and "targeted", the PSC 1315 prints but no scans. I see the following avc's: "type=AVC msg=audit(1122548966.016:259603): avc: denied { rename } for pid=2103 comm="cupsd" name="classes.conf" dev=dm-0 ino=3692813 scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:cupsd_etc_t tclass=file type=AVC msg=audit(1122548966.016:259604): avc: denied { write } for pid=2103 comm="cupsd" name="classes.conf" dev=dm-0 ino=3692813 scontext=system_u:system_r:cupsd_t tcontext=system_u:object_r:cupsd_etc_t tclass=file"
Vinicius.