Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: The HP PSC 1315 is recognized by FC4, print but not scan yet.: msg#00190

Subject: Re: The HP PSC 1315 is recognized by FC4, print but not scan yet.
Vinicius wrote:

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"

Can you change classes.conf to cupsd_etc_rw_t?

chcon -t cupsd_etc_rw_t classes.conf

And see if it works?

Vinicius.

--
fedora-selinux-list mailing list
fedora-selinux-list@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-selinux-list


--




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe