[Bug 8921] New: koha-common*.deb should depend on cron
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Priority: P5 - low Change sponsored?: --- Bug ID: 8921 CC: robin@catalyst.net.nz Assignee: koha-bugs@lists.koha-community.org Summary: koha-common*.deb should depend on cron Severity: minor Classification: Unclassified OS: Linux Reporter: johannes_graumann@web.de Hardware: PC Status: NEW Version: rel_3_8 Component: Packaging Product: Koha koha-common installation does currently not automatically pull in cron, which makes the indexing cron-job (zebra) not functional. Virtualized environments do not necessarily provide cron out of the box, so the dependency is particularly necessary there. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 M. Tompsett <mtompset@hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtompset@hotmail.com --- Comment #1 from M. Tompsett <mtompset@hotmail.com> --- "In Debian the cron package is installed as part of the base system, and will be running by default." (http://www.debian-administration.org/articles/56) I also looked at Ubuntu. (https://help.ubuntu.com/community/CronHowto) is written such that one can assume it is installed as well. What virtual environment are you talking about? Can you cite an example? I know this would be a problem from RPM-based Linux variants, but then you wouldn't be installing from packages. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #2 from Robin Sheat <robin@catalyst.net.nz> --- There's no harm on depending on it, but it shouldn't really be necessary. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #3 from johannes_graumann@web.de --- I had the experience of cron being missed despite it not being listed as a prerequisite in an lxc container (minimal system setup via debbootstrap). Joh -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #4 from johannes_graumann@web.de --- You may note that the prior comment doesn't really mak sense ... new attempt: in an debbootstrapped lxc container's minimal system cron is not necessarily present. Zebra's cron job functionality may thus break despite cron not being listed as a prerequisite. Joh -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #5 from Robin Sheat <robin@catalyst.net.nz> --- Yeah, it's an easy fix and I shouldn't imagine there are side-effects from it. Probably should also include 'at' in the list if it's not there already. Johannes, if you want you could make a patch for it easily enough. Just edit debian/control.in and stick cron and at into the one or two places they need to go. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com Patch complexity|--- |Trivial patch Version|3.8 |master -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 23307 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23307&action=edit Bug 8921: koha-common*.deb should depend on cron Trivial patch to add 'cron' as dependency for the koha-common package. 'cron' is usually pulled in any minimal Ubuntu/Debian install, but in some circumstances (using debootstrap) it might be absent. As Robin said, this doesn't seem to have any side effects. Regards To+ -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #7 from M. Tompsett <mtompset@hotmail.com> --- What if some administrator chose some other cron other than cron? For example, anacron? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 --- Comment #8 from Robin Sheat <robin@catalyst.net.nz> --- (In reply to M. Tompsett from comment #7)
What if some administrator chose some other cron other than cron? For example, anacron?
Anacron is a different thing that relies on cron to work. However, this is a fair point. We should depend on cron-daemon, which is a virtual package. 'cron' is the only thing that provides this, but in the future, this may change. $ apt-cache showpkg cron-daemon Package: cron-daemon Versions: Reverse Depends: request-tracker4,cron-daemon lyskom-server,cron-daemon logrotate,cron-daemon Dependencies: Provides: Reverse Provides: cron 3.0pl1-124ubuntu2 -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23307|0 |1 is obsolete| | --- Comment #9 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 23315 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23315&action=edit Bug 8921: koha-common*.deb should depend on cron Trivial patch to add 'cron-daemon' as dependency for the koha-common package. 'cron' is usually pulled in any minimal Ubuntu/Debian install, but in some circumstances (using debootstrap) it might be absent. As Robin said, this doesn't seem to have any side effects. Regards To+ -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Chris Cormack <chris@bigballofwax.co.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23315|0 |1 is obsolete| | --- Comment #10 from Chris Cormack <chris@bigballofwax.co.nz> --- Created attachment 23851 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23851&action=edit Bug 8921: koha-common*.deb should depend on cron Trivial patch to add 'cron-daemon' as dependency for the koha-common package. 'cron' is usually pulled in any minimal Ubuntu/Debian install, but in some circumstances (using debootstrap) it might be absent. As Robin said, this doesn't seem to have any side effects. Regards To+ Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #23851|0 |1 is obsolete| | --- Comment #11 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Created attachment 23859 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23859&action=edit [PASSED QA] Bug 8921: koha-common*.deb should depend on cron Trivial patch to add 'cron-daemon' as dependency for the koha-common package. 'cron' is usually pulled in any minimal Ubuntu/Debian install, but in some circumstances (using debootstrap) it might be absent. As Robin said, this doesn't seem to have any side effects. Regards To+ Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz> Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de> No entry in debian/control yet, but according to comments in the file this file is generated from control.in - so this should be ok. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Galen Charlton <gmcharlt@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |gmcharlt@gmail.com --- Comment #12 from Galen Charlton <gmcharlt@gmail.com> --- Pushed to master. Thanks, Tomás! -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8921 Fridolin SOMERS <fridolyn.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to Master |Pushed to Stable CC| |fridolyn.somers@biblibre.co | |m --- Comment #13 from Fridolin SOMERS <fridolyn.somers@biblibre.com> --- Patch pushed to 3.14.x, will be in 3.14.3. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org