Bug 189275 - beagle-0.2.4-1.fc5.1 includes two copies of the crawl-system script
Summary: beagle-0.2.4-1.fc5.1 includes two copies of the crawl-system script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: beagle
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Alexander Larsson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-18 18:39 UTC by Gordon Messmer
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-04-24 16:18:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gordon Messmer 2006-04-18 18:39:47 UTC
Description of problem:
beagle-0.2.4-1.fc5.1 includes two files in /etc/cron.daily:
/etc/cron.daily/beagle-crawl-system
/etc/cron.daily/beagle-crawl-system.cron

"beagle-crawl-system.cron" calls /usr/libexec/beagle-crawl-system, which is
exactly the same as the file in /etc/cron.daily of the same name.  As a result,
the system is being indexed twice, every morning.

Comment 1 Gordon Messmer 2006-04-18 18:42:52 UTC
It looks like this section of the spec, as well as "Source2" could simply be
removed:

# use anacron instead of cron, so beagle-crawl-system has 
# a reasonable chance to run
rm -rf $RPM_BUILD_ROOT/etc/cron.d
mkdir -p $RPM_BUILD_ROOT/etc/cron.daily
cp %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/beagle-crawl-system.cron
chmod +x $RPM_BUILD_ROOT/etc/cron.daily/beagle-crawl-system.cron

Comment 2 Alexander Larsson 2006-04-24 16:18:08 UTC
Should be ok in 0.2.5.



Note You need to log in before you can comment on or make changes to this bug.