Bug #1305

We miss utmpx.h and related stuff

Added by hasso almost 6 years ago. Updated almost 3 years ago.

Status:ClosedStart date:
Priority:LowDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

History

#1 Updated by Anonymous almost 6 years ago

#2 Updated by alexh over 5 years ago

Imho this just requires straight-forward porting of these functions from
NetBSD (src/lib/libc/gen/utmpx.c and src/include/utmpx.h).

Cheers,
Alex Hornung

#3 Updated by Anonymous over 5 years ago

Salute!

I have a very fundamental port here:
http://gitweb.dragonflybsd.org/~beket/dragonfly.git/shortlog/refs/heads/utmpx

The thing is that the userland utilities must be switched to use it utmpx rather
than what they use now (utmp?). Such as login, w, shutdown, etc

Cheers,
Stathis

#4 Updated by alexh over 5 years ago

I agree that the userland utilities have to be switched from utmp, too, but
the first step is to get utmpx working, tested and commited (probably not
until the release has been branched/tagged, though).
Once that is done we can easily take care of all current consumers of utmp.

Cheers,
Alex Hornung

#5 Updated by Anonymous over 5 years ago

Ok, I'm reviving (rebasing on top of master/HEAD) the utmpx port.

Cheers,
Stathis

#6 Updated by alexh over 5 years ago

Now that the release has been tagged, I think the basic utmpx infrastructure in
your branch should be commited so we can start switching the utmp consumers to
utmpx.

Cheers,
Alex Hornung

#7 Updated by alexh about 5 years ago

grab

#8 Updated by alexh about 4 years ago

I did some work on this back then but haven't continued since. If anyone else
wants to take this over, see [1] for what was done and what wasn't. Overall it's
not too hard; it's mostly about updating pam a bit.

Cheers,
Alex

[1]:
http://gitweb.dragonflybsd.org/~alexh/dragonfly.git/shortlog/refs/heads/utmpx

#9 Updated by alexh about 4 years ago

Actually I am having another go at this and it's looking good; I'll probably be
able to commit the utmpx and related support stuff, as well as modified base
utils to make use of utmpx within the next few weeks.

#10 Updated by swildner almost 3 years ago

  • Status changed from New to Closed
  • Assignee deleted (0)

Was added in 59a92d1877d6bb6c4fc9d7be5e51943661e50c2f

Also available in: Atom PDF