[Bug 414955] New: syslog-ng and LDAP (slapd) cause system-locks
https://bugzilla.novell.com/show_bug.cgi?id=414955 Summary: syslog-ng and LDAP (slapd) cause system-locks Product: openSUSE 11.0 Version: Final Platform: i386 OS/Version: openSUSE 11.0 Status: NEW Severity: Critical Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: michael@neuweiler.biz QAContact: qa@suse.de Found By: Other Installed opensuse 11.0 in text mode server. Installed DHCP, DNS, NFS, TFTP, SAMBA, NTP, LDAP and Kerberos server. Where possible, the services use the local LDAP to store the configuration. When logrotate is called by crond.daily, the syslog and ldap seem to lock eachother: syslog-ng wants to access ldap but ldap wants to write to syslog before responding. The result is that every service that wants to write to syslog stops responding - even "su -" or "sudo" is not possible anymore. Unless you already have a shell as root open, there's no other way than to hard-reboot the server. Usually the last entry in /var/log/messages is "syslog-ng [xxx] : SIGHUP received, restarting syslog-ng". Sometimes the slapd process starts to use up all CPU cycles (but not always). The cause seems to be related with what is described in http://lists.opensuse.org/opensuse-de/2005-11/msg00129.html (german). During the installation/configuration of one of the above mentioned services, the file /etc/nssswitch.conf is modified (and a nssswitch.confbak is created). I suspect it might help if I change the line passwd_compat : ldap to passwd_compat : files ldap -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c1 --- Comment #1 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-06 02:36:22 MDT --- Created an attachment (id=231964) --> (https://bugzilla.novell.com/attachment.cgi?id=231964) The nsswitch.conf as it was after configuring all services -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c2 --- Comment #2 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-06 02:37:38 MDT --- Created an attachment (id=231966) --> (https://bugzilla.novell.com/attachment.cgi?id=231966) The nsswitch.confbak file as it was after configuring the services (note, there was no dot before "bak") -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c3 --- Comment #3 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-06 02:38:58 MDT --- To note: I configured all services via Yast -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mt@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |rhafer@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c4 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |michael@neuweiler.biz Priority|P5 - None |P4 - Low --- Comment #4 from Ralf Haferkamp <rhafer@novell.com> 2008-08-11 11:30:52 MDT --- Please attach /etc/ldap.conf and the output of "chkconfig". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c5 --- Comment #5 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-12 13:18:08 MDT --- Created an attachment (id=233043) --> (https://bugzilla.novell.com/attachment.cgi?id=233043) chkconfig -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c6 --- Comment #6 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-12 13:19:39 MDT --- Created an attachment (id=233044) --> (https://bugzilla.novell.com/attachment.cgi?id=233044) ldap.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c7 --- Comment #7 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-12 13:21:47 MDT --- changing the entries of nsswitch.conf (passwd_compat) did not help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 Michael Neuweiler <michael@neuweiler.biz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|michael@neuweiler.biz | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c8 Ralf Haferkamp <rhafer@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|rhafer@novell.com |mt@novell.com Status|ASSIGNED |NEW --- Comment #8 from Ralf Haferkamp <rhafer@novell.com> 2008-08-18 08:58:52 MDT --- We are able to reproduce the problem now. The deadlock seems to be fixable in syslog-ng. Re-assigning to syslog-ng maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c9 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |security-team@suse.de Status|NEW |NEEDINFO Info Provider| |michael@neuweiler.biz --- Comment #9 from Marius Tomaschewski <mt@novell.com> 2008-08-19 02:46:36 MDT --- I've submitted a workaround to the server:syslog-ng opensuse build service project, package syslog-ng. RPM's will appear at: http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ Please test. Fix for 2.x version in server:syslog-ng:v2 (factory) follows. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c11 --- Comment #11 from Marius Tomaschewski <mt@novell.com> 2008-08-19 06:14:35 MDT --- Test RPMs for syslog-ng 2.x as in factory will appear soon at: http://download.opensuse.org/repositories/server:/syslog-ng:/v2/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c12 --- Comment #12 from Ralf Haferkamp <rhafer@novell.com> 2008-08-21 02:22:34 MDT --- For Factory I am no longer able to reproduce the issue here with the above packages. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c13 --- Comment #13 from Michael Neuweiler <michael@neuweiler.biz> 2008-08-25 06:18:17 MDT --- Installed v2, now testsing (will take 2-5 days) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c14 --- Comment #14 from Michael Neuweiler <michael@neuweiler.biz> 2008-09-04 04:07:16 MDT --- Works fine with v2. Will test also with http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User furlongm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c15 Marcus Furlong <furlongm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |furlongm@gmail.com --- Comment #15 from Marcus Furlong <furlongm@gmail.com> 2008-09-27 09:21:44 MDT --- Same issue here on opensuse 11.0, daily lockups requiring hard reboot. Syslog-ng version is syslog-ng-1.6.12-76.1 which seems to be newer than the one in the server:/syslog-ng repo? /etc/nsswitch.conf contains passwd: files ldap shadow: files ldap group: files ldap hosts: files dns wins -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
Same issue here on opensuse 11.0, daily lockups requiring hard reboot.
Syslog-ng version is syslog-ng-1.6.12-76.1 which seems to be newer than the one in the server:/syslog-ng repo? It's most probably not newer. The build number probably just don't match up, as
https://bugzilla.novell.com/show_bug.cgi?id=414955 User rhafer@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c17 --- Comment #17 from Ralf Haferkamp <rhafer@novell.com> 2008-09-29 01:42:53 MDT --- (In reply to comment #15 from Marcus Furlong) they a separate repositories. Btw, if you don't want to install the above packages, there is a workaround until a fixed package is available. In your /etc/syslog-ng/syslog-ng.conf there should be some lines containing the keywords: owner(-1) group(-1) perm(-1) Just remove those keywords from the lines (not the complete lines and only those owner,group and perm statements that contain "-1") and everything should be fine again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User michael@neuweiler.biz added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c18 Michael Neuweiler <michael@neuweiler.biz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|michael@neuweiler.biz | --- Comment #18 from Michael Neuweiler <michael@neuweiler.biz> 2008-09-29 03:11:17 MDT --- Also works fine with http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |dmueller@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|dmueller@novell.com |ast@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c28 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pczanik@genesi-usa.com --- Comment #28 from Marius Tomaschewski <mt@novell.com> 2008-11-06 10:07:46 MST --- *** Bug 432590 has been marked as a duplicate of this bug. *** https://bugzilla.novell.com/show_bug.cgi?id=432590 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User manfred.knops@3ds.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c29 Manfred Knops <manfred.knops@3ds.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manfred.knops@3ds.com --- Comment #29 from Manfred Knops <manfred.knops@3ds.com> 2008-11-17 04:44:16 MST --- We have this bug under opensuse 10.3 and 11.0. We use ldap for authentication, login, automount and postfix aliases. On one machine with 11.0, x86_64, I deinstalled syslog-ng and installed syslog. On another machine with 11.0, i586, I updated to syslog-ng version 1.6.12-71-1. To test this version I changed loglevel from ldap to any, the loglevel from autofs to debug and logrotate to cron.hourly. Then I started one finite elemente calculation job with loglevel verbose=3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c30 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |manfred.knops@3ds.com --- Comment #30 from Marius Tomaschewski <mt@novell.com> 2008-11-17 08:12:21 MST --- And does the RPM from http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ work for you? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User manfred.knops@3ds.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c31 --- Comment #31 from Manfred Knops <manfred.knops@3ds.com> 2008-11-17 08:22:08 MST --- The test is still running on i586. I will inform you in three days. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c32 --- Comment #32 from Marius Tomaschewski <mt@novell.com> 2008-11-17 11:28:42 MST --- Hmm... You just need to execute "rcsyslog reload" to trigger the problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User bj@sernet.de added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c33 --- Comment #33 from Bjoern Jacke <bj@sernet.de> 2008-11-27 03:33:30 MST --- a few minutes ago I was able to reproduce the problem with a factory syslog-ng nt containing the bnc#414955 fix with bind not responding any more after syslog reload. I can confirm syslog-ng packages containing the bnc#414955 fix are working fine now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User st-schaefer@fsproductions.de added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c34 --- Comment #34 from Stefan Schäfer <st-schaefer@fsproductions.de> 2008-11-28 02:19:29 MST --- Same to me, i was able to reproduce the bug under openSuSE 11.0 i586 and x86_64 with the packages from the syslog-ng repository. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c35 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|manfred.knops@3ds.com |st-schaefer@fsproductions.de --- Comment #35 from Marius Tomaschewski <mt@novell.com> 2008-11-28 09:36:15 MST --- (In reply to comment #34 from Stefan Schäfer)
Same to me, i was able to reproduce the bug under openSuSE 11.0 i586 and x86_64 with the packages from the syslog-ng repository.
Hmm... when I see correctly, this is inconsistent with the comment 33 above. Stefan, when you're able to reproduce the problem using the RPMs from http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ please attach your /etc/syslog-ng/syslog-ng.conf file. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User st-schaefer@fsproductions.de added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c36 --- Comment #36 from Stefan Schäfer <st-schaefer@fsproductions.de> 2008-11-28 10:33:48 MST --- Created an attachment (id=256661) --> (https://bugzilla.novell.com/attachment.cgi?id=256661) syslog-ng.conf as requested by Marius Tomaschewski I did no modifications in this file. I use syslog-ng as shipped by the distribution. Stefan -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User manfred.knops@3ds.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c37 --- Comment #37 from Manfred Knops <manfred.knops@3ds.com> 2008-12-02 00:30:23 MST --- Last week I installed the rpm file from http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_11.0/ on two SuSE 11.0 system. And I installed http://download.opensuse.org/repositories/server:/syslog-ng/openSUSE_10.3/ on over ten 10.3 machines. Since this time we had no more problems with syslog and ldap. At the moment it seems to work. Thanks for the support. Manfred -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c38 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|st-schaefer@fsproductions.d | |e | Resolution| |FIXED --- Comment #38 from Marius Tomaschewski <mt@novell.com> 2009-01-13 02:56:16 MST --- Thanks for verifying it! Resolving as fixed, patches are on the way. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 User swamp@suse.com added comment https://bugzilla.novell.com/show_bug.cgi?id=414955#c39 Swamp Script User <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.0:22087 | |maint:released:10.3:22087 --- Comment #39 from Swamp Script User <swamp@suse.com> 2009-01-27 00:54:38 MST --- Update released for: syslog-ng Products: openSUSE 10.3 (i386, ppc, x86_64) openSUSE 11.0 (debug, i386, ppc, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=414955 Michael Neuweiler <michael@neuweiler.biz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com