I installed  hylafax-6.0.6p2 on OpenBSD 5.5 and once hylafax was installed
sending any fax got the error:


Your job to 1-XXX-XXX-XXX was not sent because document conversion failed.
The output from the converter program was:



\



Check any PostScript documents for non-standard fonts and invalid constructs



After some work I track the problem down to a message



(process:7587): Gtk-WARNING **: This process is currently running setuid or
setgid.\

This is not a supported use of GTK+. You must create a helper\

program instead. For further details, see:\

\

    http://www.gtk.org/setuid.html\

\

Refusing to initialize GTK+.\


It looks the the authors of GTK believe that any setuid must be running as
root.
faxq running as UUCP was calling gs which cause the error.

ghostscript where the command comes from comes in the following flavors;

ghostscript-9.07-a4-gtk
ghostscript-9.07-a4-no_x11
ghostscript-9.07-a4.tg
ghostscript-9.07-gtk
ghostscript-9.07-no_x11
ghostscript-9.07

The ghostscript-9.07-gtk was installed rather than the ghostscript-9.07  which
called the problem

The ghostscript-9.07-gtk was installed by installing emacs

emacs comes in the following flavors.

emacs-21.4p27-no_x11
emacs-21.4p27
emacs-24.3p4-gtk2
emacs-24.3p4-gtk3
emacs-24.3p4-no_x11.tgz

emacs-24.3p4-gtk2 was chosen because it was the most current release and
matched the emacs on my desktop
and  I was going using X to remote the  machine with hylafax on it

gtk2 was picked because vim was also installed which comes in the following
flavors

vim-7.4.135p0-gtk2-perl-python-ruby
vim-7.4.135p0-gtk2-perl-python3-ruby
vim-7.4.135p0-gtk2
vim-7.4.135p0-no_x11-perl-python-ruby
vim-7.4.135p0-no_x11-perl-python3-ruby
vim-7.4.135p0-no_x11

and the others wanted vim and wanted to accesses it remotely and the only
choice was gtk2.
And I could see no reason to have both gtk2 and gtk3 installed.

There are several problems here.

gtk should be able to run under a setuid to something other root.

There was no hint that hylafax could not run if ghostscript with gtk was
installed.  The error message of '\' was not useful.

Also, it is very hard for an outsider to tell what the flavors of a package
do.
I can only guess at the difference between. For example with vim, I presumed,
maybe wrongly, the no_x11 means that it cannot be used with X.
I have no idea what effect of the perl-python3-ruby in vim flavors does.
With hylafax and ghostscript I  assume the -a4 is default paper size.

I did fix my problem with hylafax by deleting ghostscript which forced the
delete of emacs
Then reinstalling ghostscript-9.07 and emacs-21.4p27

Reply via email to