llimport(8): Import lastlog into utmpx
Ed Schouten
ed at 80386.nl
Fri Jun 3 21:07:12 UTC 2011
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20110603/cabf36df/attachment.pgp
More information about the freebsd-current
mailing list