[Bug 202135] nscd does not accept a value of zero for negative-time-to-live for passwd nor group

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Aug 6 16:05:48 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202135

            Bug ID: 202135
           Summary: nscd does not accept a value of zero for
                    negative-time-to-live for passwd nor group
           Product: Base System
           Version: 10.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: Trond.Endrestol at ximalas.info

System is FreeBSD/i386, stable/10, r286362.

This config is acceptable by nscd:

threads                         8

enable-cache            passwd  yes
positive-time-to-live   passwd  600
negative-time-to-live   passwd  1
check-files             passwd  no

enable-cache            group   yes
positive-time-to-live   group   3600
negative-time-to-live   group   1
check-files             group   no

This config is NOT acceptable by nscd:

threads                         8

enable-cache            passwd  yes
positive-time-to-live   passwd  600
negative-time-to-live   passwd  0
check-files             passwd  no

enable-cache            group   yes
positive-time-to-live   group   3600
negative-time-to-live   group   0
check-files             group   no

nscd simply dies with the latter configuration, although this gets logged:

Aug  6 15:45:35 <kern.info> hostname kernel: pid 730 (nscd), uid 0: exited on
signal 6 (core dumped)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list