Bug 89090 - On Redhat 9 mgetty FAX_NOTIFY_PROGRAM new_fax is not executed
Summary: On Redhat 9 mgetty FAX_NOTIFY_PROGRAM new_fax is not executed
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: mgetty
Version: 9
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jason Vas Dias
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-04-17 15:09 UTC by Hubert Thumfart
Modified: 2007-04-18 16:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-08-20 18:52:19 UTC
Embargoed:


Attachments (Terms of Use)

Description Hubert Thumfart 2003-04-17 15:09:19 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3; Linux)

Description of problem:
After Upgrade from RH80 to RH90 with the same configuration for mgetty, the FAX_NOTIFY_PROGRAM (new_fax) is not exececuted. The faxfile is stored correctly in fax/spool/incoming. Under RH80 with mgetty-1.1.30-0.8.0 it works ok.

Version-Release number of selected component (if applicable):
mgetty-1.1.30-2

How reproducible:
Always

Steps to Reproduce:
1. RH80 works ok
2. RH90 the /etc/mgetty+sendfax/new_fax is not beeing executed
3. Copying /etc/mgetty+sendfax/* to a machine with RH80 works ok
4. Compiling mgetty from original source-tarball does the same
    

Actual Results:  Works on older versions of redhat linux but not on RH90

Expected Results:  Should work on RH90 too.

Additional info:

Maybe a problem of the newer version of gcc ???

Comment 1 Brian Johnson 2003-05-21 15:07:21 UTC
I downloaded and installed the source rpm and found a doc that suggested running
# strings /sbin/mgetty | grep new_fax
to get expected location of new_fax script

It returned:
/etc/mgetty+sendfax/new_fax

I checked permissions of path to /etc/mgetty+sendfax/new_fax and on my system is
read and exec to all users all the way from /


Comment 2 Brian Johnson 2003-05-23 14:10:01 UTC
I guess I never pointed out that it still isn't working

Receiving faxes would be a useful feature to many people (when working), could
it be setup by default when installing the sendfax rpm?  That way the user would
just have to get the modem configured and maybe uncomment some default inittab
lines to get it to work.



Comment 3 Brian Johnson 2003-05-24 04:38:13 UTC
Any chance for a cron script to run every five minutes to process any NEW faxes
in the incoming fax spool directory with the new_fax script until this gets fixed?

It's not a preferrable solution since the caller_id and time will likely be lost
and multi-page faxes won't be grouped together in email notifications but is
better than nothing

PS I have confirmed that the new_fax script works as a command line script as
per the docs in the new_fax.all directory



Comment 4 Brian Johnson 2003-06-09 19:52:39 UTC
With mgetty -x6 /dev/ttyS4 in /etc/inittab I get
06/09 15:41:57 yS4   notify: '/etc/mgetty+sendfax/new_fax 0 '15195555555' 
1  /var/spool/fax/incoming/ffee4e2c1S4-15192715353.01 >/dev/console 2>&1 
</dev/null'

and the sucker works!  I wonder why it didn't before

Back to testing .. I'll let you know

Comment 5 Jason Vas Dias 2004-08-20 18:52:19 UTC
Just clearing out old bugs here.
This does seem to work OK (mgetty-1.1.31)


Note You need to log in before you can comment on or make changes to this bug.