[Bug 294098] security/sssd2: debug level never works when in daemon mode

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 28 Mar 2026 17:23:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294098

            Bug ID: 294098
           Summary: security/sssd2: debug level never works when in daemon
                    mode
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: arrowd@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(arrowd@FreeBSD.org)
          Assignee: arrowd@FreeBSD.org

Trying to figure out why security/sssd2 seems to fail with X11 and xdm (while
nss-pam-ldap works). Trying to debug running sssd, setting, according to the
docs debug_level within daomain (i.e. debug_level = 6) or for the running
daemon, via sssd_flags="-d 6" in /etc/rc.conf.local (or -dddddd).
This never(!) worked for me. Having syslogd configured to capture any

sssd_be, sssd_pam and sssd_nss log messages, the logfile reports only this, no
matter what debug level the daemon has been instructed to run with (-d option):

[...]
 Mar 20 14:04:07 <3.6> host sssd_be[7371]: Starting up
Mar 20 14:04:07 <3.6> host sssd_nss[7372]: Starting up
Mar 20 14:04:07 <3.6> host sssd_pam[7373]: Starting up
Mar 20 14:34:14 <3.6> host sssd_pam[7373]: Shutting down (status = 0)
Mar 20 14:34:14 <3.6> host sssd_nss[7372]: Shutting down (status = 0)
Mar 20 14:34:14 <3.6> host sssd_be[7371]: Shutting down (status = 0)

funny ...

The only way to force sssd into a suitable debug mode producing some noeise is
to start it from the cli with option -i.

But this is annoying.

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