Comment 9 for bug 1385838

Revision history for this message
In , NM (nm-redhat-bugs) wrote :

I can not find hp_fax-pipe-5 anymore. I would guess it was in /tmp/ directory.

I rerun the 'hp-sendfax -n -f 18884732963 -l debug test' with SELinux enforcing to observed (among many other messages) the following:

hp-sendfax[28414]: debug: Waiting for fax...
hp-sendfax[28414]: debug: [dbus.String(u'hpfax:/net/Officejet_4620_series?hostname=HP4620.home'), dbus.String(u''), dbus.Int32(0), dbus.String(u'akavalov'), dbus.Int32(9), dbus.String(u''), dbus.Double(0.0), dbus.String(u'')]

ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 230, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/share/hplip/hpssd.py", line 551, in handle_system_signal
    return handle_signal('system', *args, **kwds)
  File "/usr/share/hplip/hpssd.py", line 547, in handle_signal
    return handle_event(event, args[6:])
  File "/usr/share/hplip/hpssd.py", line 464, in handle_event
    handle_fax_event(event, pipe_name)
  File "/usr/share/hplip/hpssd.py", line 252, in handle_fax_event
    pipe = os.open(pipe_name, os.O_RDONLY)
OSError: [Errno 2] No such file or directory: '/tmp/hp_fax-pipe-9'
hp-sendfax[28414]: debug: Waiting for fax...
hp-sendfax[28414]: debug: [dbus.String(u'hpfax:/net/Officejet_4620_series?hostname=HP4620.home'), dbus.String(u''), dbus.Int32(0), dbus.String(u'akavalov'), dbus.Int32(9), dbus.String(u''), dbus.Double(0.0), dbus.String(u'')]

With SELinux in permissive mode the fax works, but with the AVC denial alert as described above.

Thanks for your help. Let me know if you need more information.