[Bug 958337] New: hylafax+: cronjob /etc/cron.daily/hylafax runs /usr/sbin/faxcron even if hylafax is not configured to run
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 Bug ID: 958337 Summary: hylafax+: cronjob /etc/cron.daily/hylafax runs /usr/sbin/faxcron even if hylafax is not configured to run Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: PC OS: openSUSE 42.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: comes@naic.edu QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- The cronjob /etc/cron.daily/hylafax contains the single line: /usr/sbin/faxcron | mail -s "HylaFAX Usage Report" faxmaster Every day I receive a mail bounced back because the user faxmaster does not exist. Such mail contain the message: FATAL ERROR: /var/spool/hylafax/etc/setup.cache is missing! The file /var/spool/hylafax/etc/setup.cache is not present. This probably means the machine has not been setup using the faxsetup(8C) command. Read the documentation on setting up HylaFAX before you startup a server system. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |axel.braun@gmx.de, | |pth@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c1 Axel Braun <axel.braun@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |comes@naic.edu Flags| |needinfo?(comes@naic.edu) --- Comment #1 from Axel Braun <axel.braun@gmx.de> --- The cron files are installed during installation, this is correct. If this should be done during configuration of the server, it should be solved upstream, as this would then be a matter of the configuation script. faxmaster is created during the setup (not the installation!) of the server as well. We could create him during installation...but I would only consider this as a workaound. Magic question...why do you install hylafax and dont configure it? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c2 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(comes@naic.edu) | --- Comment #2 from Giacomo Comes <comes@naic.edu> --- In openSUSE 13.2 the package hylafax has a similar cronjob: /etc/cron.daily/suse.de-faxcron which contains: ------------------------------------------------ # test if hylafax is running /usr/sbin/rchylafax status &>/dev/null || exit 0 /usr/sbin/faxcron ------------------------------------------------ why hylafax+'s cron job is not doing the same? That is test if the hylafax+ service is running (or has been setup) and if so then run faxcron. I'm sure you have plenty of packages installed but not configured in your own PC. nis and samba are two that first came to my mind. That's a normal practice. Not everything installed has to be configured. If and when I need to run an application I will configure it. And to answer your magic question, I didn't install hylafax explicitly. I installed a pattern and hylafax came with it. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c4 --- Comment #4 from Giacomo Comes <comes@naic.edu> --- The hylafax+ rpm currently available in network:telephony download.opensuse.org/repositories/network:/telephony/openSUSE_Leap_42.1/x86_64/hylafax+-5.5.6-43.22.x86_64.rpm does not have any change in the cronjob file and has the same problem as the one shipped in leap 42.1 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c5 --- Comment #5 from Giacomo Comes <comes@naic.edu> --- A new rpm appeared today (5.5.6-48.1) Unfortunately it does not work. the cron daily job contains the command: /usr/sbin/rchylafax status &>/dev/null || exit 0 which is not correct (/usr/sbin/rchylafax does not exist). Hylafax+ does not provide /etc/init.d/hylafax (sysvinit style) but /usr/lib/systemd/system/hylafax-faxq.service (systemd) The proper test command should be: systemctl is-active -q hylafax-hfaxd.service || exit 0 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c7 --- Comment #7 from Giacomo Comes <comes@naic.edu> --- Is it true that /usr/sbin/rchylafax+ does exist, but when you run: /usr/sbin/rchylafax+ status it says: hylafax+ is neither service nor target!? However, if I create the symbolic link you suggested it works. I have tested now the new rpm: hylafax+-5.5.6-50.1.x86_64.rpm and it has still issues. When I run: /usr/sbin/rchylafax status which is the test in /etc/cron.daily/hylafax, I get: rchylafax: no such service hylafax That's because /etc/init.d/hylafax does not exist. If I do: mv /etc/init.d/hylafax+ /etc/init.d/hylafax then /usr/sbin/rchylafax status works. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c8 Axel Braun <axel.braun@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(comes@naic.edu) --- Comment #8 from Axel Braun <axel.braun@gmx.de> --- can you check against the latest hylafax+ package? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c9 Giacomo Comes <comes@naic.edu> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(comes@naic.edu) | --- Comment #9 from Giacomo Comes <comes@naic.edu> --- This bug was for Leap 42.1 which reached end of life with the bug still present. This bug does not appears in 42.2 or 42.3 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=958337 http://bugzilla.opensuse.org/show_bug.cgi?id=958337#c10 Axel Braun <axel.braun@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(pth@suse.com) --- Comment #10 from Axel Braun <axel.braun@gmx.de> --- Hi Philipp, do you intend ot fix this anyhow? -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com