[Bug 767155] New: missing dependencies in mdadm package
https://bugzilla.novell.com/show_bug.cgi?id=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c0 Summary: missing dependencies in mdadm package Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: Other OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: nfbrown@suse.com ReportedBy: suse-beta@cboltz.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- The mdadm package misses some dependencies: a) it comes with a cron.daily script, so it should require or recommend cron b) it can send mails if a raid array breaks etc., so it should require or recommend "/usr/sbin/sendmail" (at least the mdadm binary contains the path to the sendmail binary, therefore I assume mdadm calls sendmail and doesn't connect to port 25) Most features of mdadm probably work without cron and without sendmail, therefore I'd say it doesn't need a hard Requires: - Recommends: is enough. This bug is for reference (and more verbose explanation) - I'll send a SR in a minute. -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c1 --- Comment #1 from Christian Boltz <suse-beta@cboltz.de> 2012-06-14 21:05:32 CEST --- SR 125036 sent. -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c2 --- Comment #2 from Christian Boltz <suse-beta@cboltz.de> 2012-06-21 00:19:52 CEST --- The SR was declined with reason "cron already recommends smtp_daemon., so do not include sendmail" - so let me paste the explanation I used to reopen the SR (it's more verbose and detailed than the bug description): That are two totally different things: a) /etc/cron.daily/mdadm - which obviously needs cron if you expect it to run (and cron needs a way to send out mails of course) b) the built-in function in mdadm to send out mails on failures (for example when an array gets degraded) - this works independent of the cron job. As I wrote in bnc#767155 mdadm seems to call sendmail itsself - see strings /sbin/mdadm | grep sendmail for a rough confirmation, or check the source if you are interested in the details. In other words: Both cron and /usr/bin/sendmail are needed by mdadm, but they are two totally different and independent requirements ;-) BTW: # strings /sbin/mdadm | grep -A3 sendmail /usr/sbin/sendmail -t From: %s To: %s Subject: %s event on %s:%s -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c3 --- Comment #3 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-06-21 10:00:07 CEST --- This is an autogenerated message for OBS integration: This bug (767155) was mentioned in https://build.opensuse.org/request/show/125595 Factory / mdadm -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c4 --- Comment #4 from Bernhard Wiedemann <bwiedemann@suse.com> 2012-06-25 15:00:06 CEST --- This is an autogenerated message for OBS integration: This bug (767155) was mentioned in https://build.opensuse.org/request/show/125982 Factory / mdadm -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c5 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Neil Brown <nfbrown@suse.com> 2012-07-09 23:16:54 UTC --- The current mdadm package for 12.2 "recommends" cron and smtp_daemon. This should be sufficient as neither are hard requirements (most functionality works without them). So marking as 'RESOLVED'. Thanks for the report. -- 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=767155 https://bugzilla.novell.com/show_bug.cgi?id=767155#c6 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED --- Comment #6 from Christian Boltz <suse-beta@cboltz.de> 2012-07-10 11:56:58 CEST --- Yes, Recommends: is a good choice. VERIFIED in Factory. -- 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