Subject: Re: pkg/18681: comms/hylafax 'faxd' started unconditionally
To: Jeremy C. Reed <>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
List: netbsd-bugs
Date: 10/17/2002 21:14:27
At 9:11 Uhr -0700 17.10.2002, Jeremy C. Reed wrote:
>> 	The '/etc/rc.d/hylafax' script starts 'hfaxd' unconditionally,
>> 	blocking the inetd option.
>I think instead of checking for inetd.conf setting for it, the
>rc.d/hylafax script should be fixed to use the proper rc.d file syntax.
>Then it would not run automatically unless "hylafax=yes" was set in

The problem here is that rc.d/hylafax starts _two_ daemons:

o hfaxd, which is used for client communication and can be run from inetd
  as well as standalone

o faxq, which does queue management and runs standalone.

So, you'd have a 'hylafax' script that has two rc.conf switches 'hfaxd' and
'faxq' where the former would be optional.

Or, you'd have two scripts 'hfaxd' and 'faxq' where the former is optional
and depends on the latter (like e.g. Netatalk is set up).

>(By the way, /var/spool/hylafax/etc/config seems like a strange, non-pkg
>file location.)



/~\  The ASCII Ribbon Campaign
\ /    No HTML/RTF in email
 X     No Word docs in email
/ \  Respect for open standards