Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 2021 01:07:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258418] net/openldap24-server (and openldap25-server) Silence warning at service startup
Message-ID:  <bug-258418-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258418

            Bug ID: 258418
           Summary: net/openldap24-server (and openldap25-server) Silence
                    warning at service startup
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: delphij@FreeBSD.org
          Reporter: romain@FreeBSD.org
          Assignee: delphij@FreeBSD.org
             Flags: maintainer-feedback?(delphij@FreeBSD.org)

Created attachment 227822
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D227822&action=
=3Dedit
Patch to remove the warning

When slapd is configured with slapd_cn_config, each invocation of the servi=
ce
produce a warning:

root@agrajag /usr/home/romain # service slapd status
grep: /usr/local/etc/openldap/slapd.d/cn=3Dconfig/olcDatabase=3D{1}mdb: Is a
directory
slapd is running as pid 32935.

Adding a `-s` to tell grep to be silent fix the issue (patch attached, I did
not include PORTREVISION bump in case you want to integrate this in a future
commit you make).

--=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-258418-7788>