After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 332956 - beagle-crawl-system fails when beagleindex user has no shell
beagle-crawl-system fails when beagleindex user has no shell
Status: RESOLVED DUPLICATE of bug 332955
Product: beagle
Classification: Other
Component: General
0.2.1
Other Linux
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2006-03-01 06:14 UTC by Christopher Aillon
Modified: 2006-03-01 06:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christopher Aillon 2006-03-01 06:14:55 UTC
Upstreaming from: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=183360

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):
beagle-0.2.1-12

How reproducible:
Always

Steps to Reproduce:
1. As root, launch /usr/libexec/beagle-crawl-system
2. Nothing will happen
3.
Comment 1 Christopher Aillon 2006-03-01 06:19:15 UTC
Argh...

*** This bug has been marked as a duplicate of 332955 ***