Date: Tue, 13 Feb 2018 18:54:51 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 130749] [libc] [patch] nscache.c/nscachedcli.c - return error if string of /etc/group is long Message-ID: <bug-130749-8-HOPqPwAcEV@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-130749-8@https.bugs.freebsd.org/bugzilla/> References: <bug-130749-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D130749 vladimir.pushkar@gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |vladimir.pushkar@gmail.com --- Comment #3 from vladimir.pushkar@gmail.com --- The similar error is with 11.1-RELEASE and groups from LDAP via nslcd. # cat /etc/nsswitch.conf | grep ^group group: cache files ldap Without nscd: # getent group | wc -l 1857 With nscd (1st run): # getent group | wc -l 1857 With nscd (2nd run): # getent group | wc -l 1891 nscd output: # nscd -t -n -s M1 from main: request agents registered successfully M2 from cache: cache was successfully initialized M2 from runtime environment: using socket /var/run/nscd M2 from runtime environment: successfully initialized M1 from main: working in single-threaded mode E3 from on_mp_read_session_read_response_write1: write failed E3 from on_mp_read_session_read_response_write1: write failed Local groups appears twice in output after nscd errors: # diff -u /tmp/nscd.off /tmp/nscd.on --- /tmp/nscd.off 2018-02-13 20:48:31.812740000 +0200 +++ /tmp/nscd.on 2018-02-13 20:46:11.192560000 +0200 @@ -32,6 +32,40 @@ nogroup:*:65533 nobody:*:65534 nslcd:*:928 +wheel:*:0:root +daemon:*:1 +kmem:*:2 +sys:*:3 +tty:*:4 +operator:*:5:root +mail:*:6 +bin:*:7 +news:*:8 +man:*:9 +games:*:13 +ftp:*:14 +staff:*:20 +sshd:*:22 +smmsp:*:25 +mailnull:*:26 +guest:*:31 +video:*:44 +bind:*:53 +unbound:*:59 +proxy:*:62 +authpf:*:63 +_pflogd:*:64 +_dhcp:*:65 +uucp:*:66 +dialer:*:68 +network:*:69 +audit:*:77 +www:*:80 +_ypldap:*:160 +hast:*:845 +nogroup:*:65533 +nobody:*:65534 +nslcd:*:928 recovery:*:2868 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-130749-8-HOPqPwAcEV>