Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1189219 > unrolled thread

Bug#1031200: /usr/sbin/faxgetty: Re: hylafax-server: faxgetty.service doesn't work with iaxmodem

Started byBenoit Panizzon <panizzon@woody.ch>
First post2024-03-06 08:30 +0100
Last post2024-03-06 09:40 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.bugs.dist

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Bug#1031200: /usr/sbin/faxgetty: Re: hylafax-server: faxgetty.service doesn't work with iaxmodem Benoit Panizzon <panizzon@woody.ch> - 2024-03-06 08:30 +0100
    Bug#1031200: /usr/sbin/faxgetty: Re: hylafax-server: faxgetty.service doesn't work with iaxmodem Giuseppe Sacco <giuseppe@sguazz.it> - 2024-03-06 09:40 +0100

#1189219 — Bug#1031200: /usr/sbin/faxgetty: Re: hylafax-server: faxgetty.service doesn't work with iaxmodem

FromBenoit Panizzon <panizzon@woody.ch>
Date2024-03-06 08:30 +0100
SubjectBug#1031200: /usr/sbin/faxgetty: Re: hylafax-server: faxgetty.service doesn't work with iaxmodem
Message-ID<IeTSV-eKXS-1@gated-at.bofh.it>
Package: hylafax-server
Version: 3:6.0.7-5
Followup-For: Bug #1031200

Dear Maintainer,

Experienced same issue and I'm not sure when it was introduced and what the exact cause ist but I
don't recall I experiencing it on the last reboot (probably several months ago)

But what I suspect the cause to be:

iaxmodem creates a link from /dev/ttyIAX to a dynamic /dev/pts device.

The faxgetty systemd script contains:

BindsTo=dev-%i.device
After=dev-%i.device

And if %i is a link and not a real device, udev never triggers an event and the device binding is never true.

Commenting out those two statements solved the issue for me for now.

-Benoit-

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

Kernel: Linux 6.1.0-9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_SOFTLOCKUP
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8), LANGUAGE=de_CH:de
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.134
ii  bsd-mailx [mailx]                    8.1.2-0.20220412cvs-1
ii  debconf [debconf-2.0]                1.5.82
ii  ghostscript                          10.0.0~dfsg-11+deb12u3
ii  hylafax-client                       3:6.0.7-5
ii  init-system-helpers                  1.65.2
ii  libc6                                2.36-9+deb12u4
ii  libcrypt1                            1:4.4.33-2
ii  libgcc-s1                            12.2.0-14
ii  libjbig0                             2.1-6.1
ii  libpam0g                             1.5.2-6+deb12u1
ii  libstdc++6                           12.2.0-14
ii  libtiff-tools                        4.5.0-6+deb12u1
ii  libtiff6                             4.5.0-6+deb12u1
ii  lsb-base                             11.6
ii  psmisc                               23.6-1
ii  sed                                  4.9-1
ii  sendmail-bin [mail-transport-agent]  8.17.1.9-2
ii  systemd                              252.22-1~deb12u1
ii  sysvinit-utils [lsb-base]            3.06-4
ii  zlib1g                               1:1.2.13.dfsg-1

hylafax-server recommends no packages.

Versions of packages hylafax-server suggests:
pn  mgetty  <none>
pn  psrip   <none>

-- Configuration Files:
/etc/hylafax/hosts.hfaxd changed:
localhost


-- debconf information:
  hylafax-server/start_now: true
  hylafax-server/setup_failed:

-- debsums errors found:
debsums: changed file /lib/systemd/system/faxgetty@.service (from hylafax-server package)

[toc] | [next] | [standalone]


#1189227

FromGiuseppe Sacco <giuseppe@sguazz.it>
Date2024-03-06 09:40 +0100
Message-ID<IeUYF-eLAh-3@gated-at.bofh.it>
In reply to#1189219
Hello Benoit,
thank you for adding this information. The problem is indeed that one: udev
is not triggering any event when the IAX modem device is created. This lead
to a not existing dev-%i.device and hence, to a non activation of the
faxgetty by systemd.

The solution is to start the device manually. In your case, if the IAX modem
are started at boot, you may just leave the changes you have done to the
unit, and enable it for starting at boot time.

I am looking for a different approach that could starts faxgetty when an IAX
device is created, and stops it when it is removed. I do not have a solution
yet.

Bye,
Giuseppe

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web