Hello, Am Sonntag, 6. Januar 2019, 16:33:44 CET schrieb Per Jessen:
Per Jessen wrote:
Andrei Borzenkov wrote:
06.01.2019 15:16, Per Jessen пишет:
nscd seems to be getting in the way, very odd:
# systemctl start nscd # id perjessen48 id: ‘perjessen48’: no such user # systemctl stop nscd # id perjessen48 uid=2190(perjessen48) gid=2003(srv000001) groups=2003(srv000001)
So with nscd it doesn't work, without nscd it works fine. ??
Anything in /var/log/nscd.log? Try increasing debug level. Could be apparmor again.
I'll try the debuglevel - currently there is no /var/log/nscd.log. I also suspect apparmor, but no log there either.
Arrrrgg. Sorry, as expected, it was apparmor - and I was SO sure I'd looked for that too. Thanks for reminding me to look again.
nscd did not have read access to the two nss config files:
/etc/libnss-mysql.cfg /etc/libnss-mysql-root.cfg
These files don't exist on my Tumbleweed system. Do you know from which package they are coming? (If you had to create them yourself, do you use the path recommended in the documentation etc.?) Bonus question: will these files only be used by nscd, or will they be used by "everything"? (In other words, should they be allowed in the nscd profile or in abstractions/nameservice?)
I have (as on the other systems) amended /etc/apparmor.d/local/usr.sbin.nscd.
Better / additionally open a bugreport to get it fixed upstream. (We also accept merge requests at gitlab.com/apparmor/apparmor ;-) Regards, Christian Boltz -- The mission statement is simply 'world domination', but we don't tell anybody. :-) [Juergen Weigert in opensuse-project] -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org