Re: llimport(8): Import lastlog into utmpx

From: Ed Schouten <ed_at_80386.nl>
Date: Fri, 3 Jun 2011 23:07:11 +0200
Hi Doug,

* Doug Barton <dougb_at_FreeBSD.org>, 20110603 22:57:
> FWIW I'm not enthusiastic about either option. I definitely don't
> think an rc.d script is desirable, since it would be run at every
> boot for what (if I understand it correctly) is a one-time thing.
> More or less the same argument applies to adding this to mergemaster.

True. I just looked at mergemaster, but adding it to mergemaster could
be unreliable. Say, you're running mergemaster on a different destdir,
it would call llimport from the host system, meaning it uses the user
database (and byte order) of the host, instead of the target.

> In my mind the best way to handle this would be to add it to tools/
> and let users who need it access it that way. But perhaps I'm missing
> something?

I could do that as well, but the reason why I picked the current
approach, is because I don't want to cause people to get confused when
they upgrade to 9.0, to discover that their lastlog database is
`missing'.

Groetjes,
-- 
 Ed Schouten <ed_at_80386.nl>
 WWW: http://80386.nl/

Received on Fri Jun 03 2011 - 19:07:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:14 UTC