HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /etc/utmp file and faxgetty



Miguel Gualdron wrote:
    
    I'm having a small problem with utmp and faxgetty.  I have a Linux box with 
    kernel 2.0.30 and Hylafax 4.0pl1.  I have had both inbound and outboud fax 
    services working ok for a couple of months now.  When I get a data call, and 
    the user logs in, both /etc/utmp, and /etc/wtmp are updated correctly.  When 
    the user logs out, the 'last' command reports correctly the length of time the 
    user was logged in, but the 'who' command tells me the user is still logged 
    in.  Apparently faxgetty is not cleaning up the utmp file after a logout.
    
    I have successfully used agetty and getty_ps as the data-side of faxgetty, but 
    the logout problem persists with both of them.
    
    I used to use a sym-link for /dev/ttyS2 called /dev/modem; but I got rid of 
    it, and the problem still exists.
    
    Any help or ideas on this would be appreciated.
    
    --Miguel

Run strace(1) on the faxgetty proc (use also the -f flag to monitor
forked childs) and dial-in. Check the output to find out why
it isn't updating the utmp file. Don't post the strace file
to the list (it contains your typed password).

	matthias




Project hosted by iFAX Solutions