Bug #1305

We miss utmpx.h and related stuff

Added by hasso about 4 years ago. Updated over 1 year ago.

Status:Closed Start date:
Priority:Low Due date:
Assignee:- % Done:

0%

Category:-
Target version:-

Description


Related todos

History

Updated by Beket about 4 years ago

Updated by alexh over 3 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

Updated by Beket over 3 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

Updated by alexh over 3 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

Updated by Beket over 3 years ago

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

Cheers,
Stathis

Updated by alexh over 3 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

Updated by alexh over 3 years ago

grab

Updated by alexh over 2 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

Updated by alexh over 2 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.

Updated by swildner over 1 year ago

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

Was added in 59a92d1877d6bb6c4fc9d7be5e51943661e50c2f

Also available in: Atom PDF