[Bug 400921] New: missing-dependency-to-cron warning although cron or logrotate are explicitly required
https://bugzilla.novell.com/show_bug.cgi?id=400921 Summary: missing-dependency-to-cron warning although cron or logrotate are explicitly required Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: dmueller@novell.com ReportedBy: bitdealer@gmail.com QAContact: adrian@novell.com Found By: --- I have a package which contains a logrotate script and get rpmlint warnings (missing-dependency-to-cron) for my 11.0 builds although I explicitly added the requirements (tried cron as well as logrotate). Further the error message is kinda misleading: openvas-server.i586: W: missing-dependency-to-cron for logrotate script /etc/logrotate.d/openvas-server This package installs a file in /etc/logrotate.d/ or in /etc/cron.*/ but doesn't require cron to be installed. as cron is not part of the essential packages, your package should explicitely require cron to make sure that your logrotate or cron job is executed. IMHO a logrotate script should require logrotate and cron scripts cron since logrotate already requires cron but not the other way iirc. Examples where this warning is raised although the .spec file contains "Requires: logrotate" are: https://build.opensuse.org/package/show?package=openvas-server&project=home%3Abitshuffler%3Aopenvas https://build.opensuse.org/package/show?package=apache2&project=Apache -- 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=400921
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=400921#c1
Dirk Mueller
https://bugzilla.novell.com/show_bug.cgi?id=400921
User bitdealer@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=400921#c2
Stephan Kleine
https://bugzilla.novell.com/show_bug.cgi?id=400921
User dmueller@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=400921#c3
Dirk Mueller
participants (1)
-
bugzilla_noreply@novell.com