bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-10 Thread Pádraig Brady
tag 72012 notabug close 72012 stop On 10/07/2024 00:31, Paul Eggert wrote: On 7/10/24 00:35, Pádraig Brady wrote: OK so id(1) will always show all groups it knows about. Then the warning message might be along the lines of:   "warning: User '%s' is a member of more groups than the current sy

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Paul Eggert
On 7/10/24 00:35, Pádraig Brady wrote: OK so id(1) will always show all groups it knows about. Then the warning message might be along the lines of:   "warning: User '%s' is a member of more groups than the current system limit" I also am not seeing the point of the proposed diagnostic. I da

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Pádraig Brady
On 09/07/2024 21:15, Otto Kekäläinen wrote: Hi! The point is just to emit a warning when this happens. Sure it is rare but the fix is pretty safe to apply. OK so id(1) will always show all groups it knows about. Then the warning message might be along the lines of: "warning: User '%s' is a

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Otto Kekäläinen
Hi! The point is just to emit a warning when this happens. Sure it is rare but the fix is pretty safe to apply.

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Pádraig Brady
On 09/07/2024 05:22, Otto Kekäläinen wrote: While rare, it is possible for a user to be a member in more groups than what the system limit allows (on Linux typically NGROUPS_MAX=65536) and if that is the case, running `id` or `id user` will not print all of them. This is a minor bug, but easily f

bug#72012: [PATCH] id: Warn if user in more groups than `id` can reliably print

2024-07-09 Thread Otto Kekäläinen
While rare, it is possible for a user to be a member in more groups than what the system limit allows (on Linux typically NGROUPS_MAX=65536) and if that is the case, running `id` or `id user` will not print all of them. This is a minor bug, but easily fixable by emitting a warning if it happens. --