[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 <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |bitdealer@gmail.com --- Comment #1 from Dirk Mueller <dmueller@novell.com> 2008-06-30 05:59:57 MDT --- you should add a requires to cron, not to logrotate. does it help if you do that? -- 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 bitdealer@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=400921#c2 Stephan Kleine <bitdealer@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|bitdealer@gmail.com | --- Comment #2 from Stephan Kleine <bitdealer@gmail.com> 2008-06-30 07:01:52 MDT --- If I add a requires to cron I get the same warning. Also - IMHO - it is wrong / not enough if the existence of a logrotate script triggers a check if cron is required because I need logrotate (which implicitly requires cron then if I'm not mistaken). Therefore the check should be refined so cron scripts trigger a check for requires cron and logrotate script trigger a check for requires logrotate. -- 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#c3 Dirk Mueller <dmueller@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Dirk Mueller <dmueller@novell.com> 2008-07-01 01:17:47 MDT --- fixed for 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