[Bug 624473] New: Missing path to ctl_mboxlist executable in cron job /etc/cron.daily/suse.de-cyrus-imapd
http://bugzilla.novell.com/show_bug.cgi?id=624473 http://bugzilla.novell.com/show_bug.cgi?id=624473#c0 Summary: Missing path to ctl_mboxlist executable in cron job /etc/cron.daily/suse.de-cyrus-imapd Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: x86-64 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: christian.esken-services@arcor.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.6) Gecko/20100626 SUSE/3.6.6-1.2 Firefox/3.6.6 The Cronjob /etc/cron.daily/suse.de-cyrus-imapd, which is run from cron.daily fails with the following error message: --- cut here start --- running daily cronjob scripts SCRIPT: output (stdout && stderr) follows -bash: ctl_mboxlist: Kommando nicht gefunden. SCRIPT: suse.de-cyrus-imapd ------- END OF OUTPUT --- cut here end --- Sorry, but I cannot make the Cronjob print in english right now. Should you have a problem with that, I can try to change the system language. But essentialy, it is just a "file not found". Reproducible: Always Steps to Reproduce: 1. Install the Cyrus imapd 2. Configure the system via YaST to deliver mails to the IMAP storage. 3. Wait until the Cronjob /etc/cron.daily/suse.de-cyrus-imapd is running Actual Results: Cronjob fails (see bug description) Expected Results: Cronjob should not fail. The OS has just been upgraded from openSUSE 11.2 to 11.3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624473 http://bugzilla.novell.com/show_bug.cgi?id=624473#c1 --- Comment #1 from Christian Esken <christian.esken-services@arcor.de> 2010-07-21 21:10:56 UTC --- Obviously the problematic line is: su - cyrus -c 'ctl_mboxlist -d' > $dumpfile The easiest fix would be to just use the full path /usr/lib/cyrus/bin/ctl_mboxlist -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624473 http://bugzilla.novell.com/show_bug.cgi?id=624473#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |hvogel@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=624473 http://bugzilla.novell.com/show_bug.cgi?id=624473#c2 Wilfred van Velzen <wvvelzen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wvvelzen@gmail.com --- Comment #2 from Wilfred van Velzen <wvvelzen@gmail.com> 2010-07-30 20:37:05 UTC --- I've experienced this myself and done the suggested fix (before finding this bugreport ;)). And can confirm it works. -- Configure bugmail: http://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=624473 https://bugzilla.novell.com/show_bug.cgi?id=624473#c3 Michael Buchau <mike@m-buchau.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mike@m-buchau.de --- Comment #3 from Michael Buchau <mike@m-buchau.de> 2010-08-18 21:16:02 UTC --- The cyrus user's home directory user used to be /usr/lib/cyrus. This has been changed to /var/lib/cyrus and now /usr/lib/cyrus/bin is not automatically added to $PATH any more. -- 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=624473 https://bugzilla.novell.com/show_bug.cgi?id=624473#c4 Marcelo Rodrigues <paternot@snap.com.br> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |paternot@snap.com.br --- Comment #4 from Marcelo Rodrigues <paternot@snap.com.br> 2010-09-22 15:52:51 UTC --- I can confirm this bug. Either change the line in the script or include "/usr/lib/cyrus/bin" in the cyrus user path. -- 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=624473 https://bugzilla.novell.com/show_bug.cgi?id=624473#c5 Bjoern Lotz <bjoern.lotz@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bjoern.lotz@novell.com --- Comment #5 from Bjoern Lotz <bjoern.lotz@novell.com> 2010-09-28 07:44:44 UTC --- A variant of this bug / additional information (didn't consider it different enough to create a new bug report): --- cut here start --- running daily cronjob scripts SCRIPT: output (stdout && stderr) follows su: incorrect password SCRIPT: suse.de-cyrus-imapd --- cut here start --- The reason for that is a ! (locked account) instead of a * (no password matches this hash) in /etc/shadow as the password hash entry for the cyrus user. Fixing that I ran into the bug described above. The system was also an update from 11.2 to 11.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=624473 https://bugzilla.novell.com/show_bug.cgi?id=624473#c6 Hendrik Vogelsang <hvogel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #6 from Hendrik Vogelsang <hvogel@suse.com> 2012-07-20 13:04:40 UTC --- please try with the newest version of 12.1 and reopen this bug if it's still true -- 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