This queue is for tickets about the User-Utmp CPAN distribution.

Report information
The Basics
Id:
75509
Status:
new
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
ed [...] 80386.nl
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: User::Utmp: Remove dependency on utmp
Date: Sat, 3 Mar 2012 19:58:48 +0100
To: bug-User-Utmp@rt.cpan.org
From: Ed Schouten <ed@80386.nl>
Hi all, It seems the User::Utmp module only works when utmp is present. As of FreeBSD 9, utmp is gone, so utmpx is the only way of accessing the user accounting database. The following patch makes the User::Utmp module work on FreeBSD. All tests pass, except test 4, as FreeBSD's implementation does not offer utmpxname(). Opening other files must be done using the setutxdb() function, but its API is incompatible with utmpxname(). http://80386.nl/pub/user-utmp.txt Maybe we can somehow run test 4 only when utmpxname() is present? -- Ed Schouten <ed@80386.nl> WWW: http://80386.nl/


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.