Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#8592 - rlocate needs a "rlocate" group.
Attached to Project:
Community Packages
Opened by Alessio Bolognino (mOLOk) - Saturday, 10 November 2007, 02:43 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 11 November 2007, 13:36 GMT
Opened by Alessio Bolognino (mOLOk) - Saturday, 10 November 2007, 02:43 GMT
Last edited by Roman Kyrylych (Romashka) - Sunday, 11 November 2007, 13:36 GMT
|
DetailsLooks like rlocate needs a rlocate group. Actually it installs a "locate" group.
$> locate foocrap locate: warning: Could not find the group: rlocate in the /etc/group file. locate: fatal error: This is a result of the group missing or a corrupted group file. Moreover, shouldn't rlocate stay in community/modules instead of community/daemons ? Not really important anyway... |
This task depends upon
- chown $(root_uid):$(rlocate_group) $(DESTDIR)$(bindir)/$(rlocate)
- chown $(root_uid):$(rlocate_group) $(RLOCATE_DB_DIR)
Maybe that this patch isn't working ?
IMHO the best solution is remove this patch and add --with-rlocate-group=locate, as Attila said.
But we need to wait Romashka :D
-rw------- 1 root root 183 2007-11-10 17:35 module.cfg
-rw-r----- 1 root locate 17439426 2007-11-10 17:35 rlocate.db
-rw-r----- 1 root root 1603 2007-11-10 17:44 rlocate.db.diff
shouldn't rlocate.db.diff owned by root:locate ?
Typical issue:
$> touch ~/foocrap
$> sudo locate foocrap
/home/my_user/foocrap
$> locate foocrap
$>
as you can see this works for root only.
$ sudo updatedb
$ sudo rm /var/lib/rlocate/rlocate.db.diff
$ sudo updatedb
Probably it was an old file with old permissions.
So, you can ignore my last comment. Thanks Attila for pointing that out.
-rw------- 1 root root 183 2007-11-10 17:35 module.cfg
-rw-r----- 1 root locate 17439426 2007-11-10 17:35 rlocate.db
-rw-r----- 1 root root 1603 2007-11-10 17:44 rlocate.db.diff
shouldn't rlocate.db.diff owned by root:locate ?
Typical issue:
$> touch ~/foocrap
$> sudo locate foocrap
/home/my_user/foocrap
$> locate foocrap
$>
as you can see this works for root only.
I refreshed the page and the new comment came out.
Ignore it ( - Saturday, 10 November 2007, 18:27 GMT )