Red Hat Bugzilla – Bug 183360
Last modified: 2007-11-30 17:11:25 EST
Description of problem:
beagle-0.2.1-12 includes a cron task intended to crawl contents from several system-wide locations,
like documentation files and applications shortcuts. This cron task is implemented by the /usr/libexec/
beagle-crawl-system sh script.
Since beagle refuses to run as root, this crawling task is ran as user beagleindex, storing the indexes
under /var/cache/beagle/indexes. The problem is that beagle-crawl-system runs as root and invokes
beagle through su to impersonate beagleindex user. However, since the beagleindex user has no shell,
the invocation to beable fails.
I have attached a patch to impersonate the beagleindex user and invoking beagle using /bin/bash.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. As root, launch /usr/libexec/beagle-crawl-system
2. Nothing will happen
Created attachment 125406 [details]
invoke beagle using su through /bin/bash shell
fixed in 0.2.1-13