|Summary:||File lastlog becomes huge when using large uid's|
|Product:||[Retired] Red Hat Linux||Reporter:||Jos Vos <jos>|
|Component:||shadow-utils||Assignee:||Bernhard Rosenkraenzer <bero>|
|Status:||CLOSED WONTFIX||QA Contact:|
|Fixed In Version:||Doc Type:||Bug Fix|
|Doc Text:||Story Points:||---|
|Last Closed:||2000-05-23 08:19:35 UTC||Type:||---|
|oVirt Team:||---||RHEL 7.3 requirements from Atomic Host:|
|Cloudforms Team:||---||Target Upstream Version:|
Description Jos Vos 1999-08-11 18:00:27 UTC
When using some high uid numbers (we use 50000 and up for some special situations), the /var/log/lastlog file becomes huge, 15+ MB in our case. Is this according to specs? On an old RHL 3.0.3 system, the file is only 100 KB, using the same set of uid's.
Comment 1 Cristian Gafton 1999-09-23 03:17:59 UTC
The bug is in useradd from the shadow-utils. Fixed in the internal devel tree
Comment 2 Cristian Gafton 1999-09-23 03:30:59 UTC
More information - the size of the struct lastlog is increased under glibc to ~ 300 bytes. That means that fo 50k uids one would need 15000k space for the lastlog, so the result is expected. ------- Additional Comments From 09/23/99 04:08 ------- I didn't test this with 50k uids, only with about 1500 uids in total, but some uid numbers were above 50000. So the question is whether unused uids also occupy a struct (which would be very bad behaviour, IMHO).
Comment 3 Cristian Gafton 2000-05-22 15:52:59 UTC
assign to laroche
Comment 4 Bernhard Rosenkraenzer 2000-08-08 15:21:39 UTC
Can't be fixed without changing the internal format of /var/log/lastlog, which we shouldn't do for interoperability reasons.