Package: hylafax-server
Version: 2:6.0.5-4.1
Severity: important
Tags: patch


I am using iaxmodem to receive and send faxes from/to Asterisk.
The whole thing works OK, BUT:
every time I (re)start the system, I need to restart Hylafax manually.

Reason:
# faxstat -a:
---
HylaFAX scheduler on squerisk: Running
Modem ttyIAX (+39.030.7242870): Listening to rings from modem
---

Cause:
faxgetty should be started AFTER iaxmodem.
In my system, iaxmodem is in /etc/rc2.d with symlink S21iaxmodem,
and hylafax is in /etc/rc2.d with symlink S19hylafax.

Resolution:
Add Should-Start: iaxmodem to hylafax init script.

Patch:
--- hylafax     2011-09-27 15:28:44.593528275 +0200
+++ hylafax_new 2011-09-27 15:28:24.118034669 +0200
@@ -9,7 +9,7 @@
 # Provides:          hylafax
 # Required-Start:    $syslog $remote_fs
 # Required-Stop:     $syslog $remote_fs
-# Should-Start:      $local_fs $network
+# Should-Start:      $local_fs $network iaxmodem
 # Should-Stop:       $local_fs $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6

After patching the init script, run:
insserv hylafax

hylafax will be moved (on my system) to S23hylafax.

This fixes the problem.


Best regards,
Diego Guella






-- System Information:
Debian Release: 6.0.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hylafax-server depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  debconf [debconf-2 1.5.36.1              Debian configuration management sy
ii  exim4-daemon-light 4.72-6+squeeze2       lightweight Exim MTA (v4) daemon
ii  ghostscript        8.71~dfsg2-9          The GPL Ghostscript PostScript/PDF
ii  hylafax-client     2:6.0.5-4.1           Flexible client/server fax softwar
ii  libc6              2.11.2-10             Embedded GNU C Library: Shared lib
ii  libgcc1            1:4.4.5-8             GCC support library
ii  libpam0g           1.1.1-6.1             Pluggable Authentication Modules l
ii  libstdc++6         4.4.5-8               The GNU Standard C++ Library v3
ii  libtiff-tools      3.9.4-5+squeeze3      TIFF manipulation and conversion t
ii  libtiff4           3.9.4-5+squeeze3      Tag Image File Format (TIFF) libra
ii  lsb-base           3.2-23.2squeeze1      Linux Standard Base 3.2 init scrip
ii  psmisc             22.11-1               utilities that use the proc file s
ii  sed                4.2.1-7               The GNU sed stream editor
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

hylafax-server recommends no packages.

Versions of packages hylafax-server suggests:
pn  mgetty                        <none>     (no description available)
pn  psrip                         <none>     (no description available)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to