[Bug 708768] New: dovecot - Auth process died too early - shutting down
https://bugzilla.novell.com/show_bug.cgi?id=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c0 Summary: dovecot - Auth process died too early - shutting down Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hnsz2002@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0 Mostly on logrotate, after dovecot reload, wrote these message to the log: Jul 24 04:30:02 dovecot: Fatal: Auth process died too early - shutting down And all dovecot process (auth, imap, pop, managesieve) is shutting down. I use currently dovecot12 from obs://build.opensuse.org/server:mail repository, but this is a very old bug, also availabe in the oss repo dovecot, and previous suse versions too... On my servers, long time ago i need to create a watchdog script, which is check dovecot processes, and start the daemon if not available. I dont know on whats depend these event, but the time betwheen these dieds is very differents. Sometimes works reload for weeks or months correcly, but it occour, that more day in a week. (I know exactly, when it happens, because my script send an email if dovecot needed to start after logrotate). Reproducible: Sometimes Steps to Reproduce: 1. Use dovecot daemon 2. sometimes on reload, it happens to died. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c zj jia <zjjia@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |zjjia@novell.com AssignedTo|bnc-team-screening@forge.pr |mrueckert@suse.com |ovo.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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c1 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |hnsz2002@gmail.com --- Comment #1 from Marcus Rückert <mrueckert@suse.com> 2011-07-28 08:47:09 UTC --- you really need to provide more details 1. how is your logging configured? do you log to syslog or have files configured in dovecot? 2. if you have configured log files in the dovecot.conf does your logrotate script recreate them with the correct permissions? 3. any complains from dovecot in /var/log/mail about log files? my current assumption would be you recreate the log files with wrong permissions, which dovecot might fix on restart, but it breaks your running instance. my own server runs dovecot with logging to syslog and runs rocksolid. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c2 --- Comment #2 from Norbert Hornyak <hnsz2002@gmail.com> 2011-07-28 11:22:57 UTC --- 1. Dovecot logging into files directly. The relevant lines from dovecot.conf: log_path = /var/log/dovecot/dovecot info_log_path = /var/log/dovecot/dovecot_info 2. Yeah. As i said, not every rotate causes died. The logrotate config for these files: /var/log/dovecot/dovecot /var/log/dovecot/dovecot_info { compress create 660 root vmail missingok dateext maxage 365 rotate 99 #size=+2048k daily notifempty copytruncate postrotate /etc/init.d/dovecot reload > /dev/null endscript } 3. Nothing error except this line as I pasted above. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c3 Norbert Hornyak <hnsz2002@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|hnsz2002@gmail.com | --- Comment #3 from Norbert Hornyak <hnsz2002@gmail.com> 2011-07-28 11:31:07 UTC --- Do a test, run this command as root: for i in `sqe 1 100`; do rcdovecot reload; done It's guaranteed to die with same error. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c4 --- Comment #4 from Marcus Rückert <mrueckert@suse.com> 2011-07-28 12:12:23 UTC --- I just spoke to upstream about the bug. for reopening the log files you only need to send SIGUSR1 instead of a HUP. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c5 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |hnsz2002@gmail.com --- Comment #5 from Marcus Rückert <mrueckert@suse.com> 2011-07-28 12:20:10 UTC --- another option to avoid the race with the calling rcdovecot reload twice would be "sharedscripts" in your logrotate config for the dovecot files. that way it will only be called once. as a general note... I would *not* use copytruncate. my suggestion would be: [[[ /var/log/dovecot/dovecot /var/log/dovecot/dovecot_info { compress create 660 root vmail missingok dateext maxage 365 rotate 99 #size=+2048k daily notifempty sharedscripts postrotate killproc -USR1 /usr/sbin/dovecot > /dev/null endscript } ]]] please test if that works better 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c6 --- Comment #6 from Marcus Rückert <mrueckert@suse.com> 2011-08-11 14:49:37 UTC --- please reopen the bug when the solution provided in comment #5 doesnt solve your issue. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c7 Marcus Rückert <mrueckert@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|hnsz2002@gmail.com | Resolution| |FIXED --- Comment #7 from Marcus Rückert <mrueckert@suse.com> 2011-08-11 14:50:06 UTC --- closing after comment #6 -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c8 --- Comment #8 from Norbert Hornyak <hnsz2002@gmail.com> 2011-08-11 19:05:21 UTC --- Until now, it's not died on logrotate... But I think this is a workaround. -- 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=708768 https://bugzilla.novell.com/show_bug.cgi?id=708768#c9 --- Comment #9 from Marcus Rückert <mrueckert@suse.com> 2011-08-11 19:39:09 UTC --- upstream classified it as a wontfix as the correct logrotate script wouldnt trigger it. -- 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