Issue with group limit

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Apr 24 11:31:06 UTC 2012


On 24 April 2012 10:43, Natanael Copa <natanael.copa at gmail.com> wrote:
> Hi,
>
> I have setup a new build server for the upcoming Alpine Linux v2.4
> release and bumped into an issue with a limit (or bug?) in uclibc.

Are you using adduser from busybox? If so, do you use the
group-handling from libc or busybox (CONFIG_USE_BB_PWD_GRP)?

thanks,
>
> The build failed when trying to add a user called "postgrey". From the
> build log:
>
>>>> postgrey: Creating user postgrey
> adduser: unknown group nogroup
>
> The group "nogroup" is there have have worked up til now.
>
> From the /etc/groups:
> nogroup:x:65533:asterisk,clamav,ldap,dovecot,dovenull,freeswitch,kamailio,vlc,radiusd,icecast,ircservices,mpd,nagios,nsd,ntop,pdnsd
>
> Checking what groups asterisk belongs to:
>
> $ groups asterisk
> 65533groups: unknown ID 65533
>  dialout
>
> So i think this happens due to the way the /etc/group is parsed. When
> the line passes a limit (128 chars?) the parser will simply skip this
> group.
>
> Was reported earlier:
> http://bugs.alpinelinux.org/issues/733
>
> I suppose I could patch uclibc to extend the line buffer length
> __UCLIBC_PWD_BUFFER_SIZE__ for now. Where is it defined?
>
> Any ideas how to fix it properly?
>
> --
> Natanael Copa
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc


More information about the uClibc mailing list