[SSSD] Absence of 'mc' directory non-fatal
Jan Engelhardt
jengelh at inai.de
Thu Jul 12 09:12:50 UTC 2012
Hi,
as part of my ongoing investigation on sssd-1.8.93's bugs, here is
another distilled item:
- when /var/lib/sss/db is missing, sssd does not start. That's ok,
though the syslog error message "Cannot load configuration database"
is *very* sparse. (It could, for example, say what file it failed to
open, and strerror(errno)).
- when /var/lib/sss/mc is missing, sssd does start, and emits a
warning message into sssd_nss.log, but only at debug_level=9.
This needs to be "louder". (Perhaps terminate sssd, like in the /db
case.)
- Can't sssd just create all the directories it needs in /var/lib/sss
by itself?
- if /var/lib/sss/mc is missing, the inability to read /mc/group
goes in silence. (Well, that's perhaps a "bug" of id(1)
and getent(1).) It requires that one checks the return code
and errno to see that getgrid returns EBADMSG.
More information about the sssd-devel
mailing list