[prev in list] [next in list] [prev in thread] [next in thread] 

List:       poptop-server
Subject:    Re: [Poptop-server] problem with logwtmp and 'who' command
From:       James Cameron <james.cameron () hp ! com>
Date:       2004-12-13 0:18:27
Message-ID: 20041213001827.GE11085 () hp ! com
[Download RAW message or body]

On Sun, Dec 12, 2004 at 06:28:48PM -0500, Eric C. Snowdeal III wrote:
> nope.  a whole bunch of read(8,.... ), but no writes.  as i said when
> i started this thread, it's not really a big deal since i can just use
> last and wtmp for my needs.  it's more the point that when something
> works and then breaks coincident with moving from rpm to source to rpm
> it makes me wonder what else might have broken that might not be so
> obvious.

Yes, I understand.  I'm thinking maybe it's a libutil or libc problem.
The strace proves it.  There's no error reporting or status return from
logwtmp, so if there's a failure our plugin will never know.

Not much more we can do from a PPTP or plugin perspective, unless we
lift the hood on the called function and understand why it is failing.

Perhaps hiding the utmp file and giving the system a new one to play
with may remove a defect from the file that is preventing new record
insertion.

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Poptop-server mailing list
Poptop-server@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/poptop-server
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic