Package: hylafax-server
Version: 3:6.0.7-3.1
Severity: important
X-Debbugs-Cc:
debian...@dc0wh17f.mooo.com
Dear Maintainer,
as mentioned in
https://debianforum.de/forum/viewtopic.php?t=185052 (German, VERY long) there seems to be an issue with faxgetty's service unit in combination with the shipped udev rules of the package when hylafax is configured with iaxmodem.
When properly configured, iaxmodem creates a device /dev/ttyIAX<n> which is a symlink to /dev/pts/<n>. The appearance of the device does not result in an udev event, since events under /dev/pts/ didn't seem to be covered by udev.
The symlink is also created by iaxmodem itself. Hence, the shipped udev rules (/lib/udev/rules.d/60-hylafax-server.rules) do not come into action, so a line like
KERNEL=="ttyIAX0", SYMLINK="ttyIAX0", TAG+="systemd"
is ignored.
This is fatal, because the attached systemd-tag is necessary for creating device files which are required by faxgetty's systemd-unit (/lib/systemd/system/faxgetty@.service):
[Unit]
Description=HylaFAX faxgetty %I
BindsTo=dev-%i.device
After=dev-%i.device
So, faxgetty.service is waiting for a device that never shows up.
As a temporary workaround the BindsTo and After lines were replaced with a more soft dependency, so it looks like this:
[Unit]
Description=HylaFAX faxgetty %I
Wants=iaxmodem.service dev-%i.device
After that faxgetty started successfully.
Please provide a fix for this.
Thanks,
Tino
-- System Information:
Debian Release: 11.1
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 5.10.0-21-686-pae (SMP w/1 CPU thread)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages hylafax-server depends on:
ii adduser 3.118
ii bsd-mailx [mailx] 8.1.2-0.20180807cvs-2
ii debconf [debconf-2.0] 1.5.77
ii exim4-daemon-light [mail-transport-agent] 4.94.2-7
ii ghostscript 9.53.3~dfsg-7+deb11u2
ii hylafax-client 3:6.0.7-3.1
ii init-system-helpers 1.60
ii libc6 2.31-13+deb11u5
ii libcrypt1 1:4.4.18-4
ii libgcc-s1 10.2.1-6
ii libjbig0 2.1-3.1+b2
ii libpam0g 1.4.0-9+deb11u1
ii libstdc++6 10.2.1-6
ii libtiff-tools 4.2.0-1+deb11u3
ii libtiff5 4.2.0-1+deb11u3
ii lsb-base 11.1.0
ii psmisc 23.4-2
ii sed 4.7-1
ii systemd 247.3-6
ii zlib1g 1:1.2.11.dfsg-2+deb11u2
hylafax-server recommends no packages.
Versions of packages hylafax-server suggests:
pn mgetty <none>
pn psrip <none>
-- Configuration Files:
/etc/hylafax/hosts.hfaxd [Errno 13] Keine Berechtigung: '/etc/hylafax/hosts.hfaxd'
-- debconf information excluded