Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115601 - sys-apps/slocate-2.7-r7: sandbox violation without /etc/cron.daily
Summary: sys-apps/slocate-2.7-r7: sandbox violation without /etc/cron.daily
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-14 15:58 UTC by Kevin Daughtridge
Modified: 2006-05-07 21:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to force /etc/cron.daily behaviour (slocate-2.7-cron.patch,2.36 KB, patch)
2005-12-14 16:00 UTC, Kevin Daughtridge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Daughtridge 2005-12-14 15:58:53 UTC
When slocate-2.7-r7 (and presumably -r8) is emerged on a system without
/etc/cron.daily present, its makefile calls install-cron.sh instead of copying
/etc/cron.daily/slocate. This script in turn attempts to modify /etc/crontab
without obeying DESTDIR, causing a sandbox violation.
Comment 1 Kevin Daughtridge 2005-12-14 16:00:45 UTC
Created attachment 74768 [details, diff]
Patch to force /etc/cron.daily behaviour

Patch to ignore absence of /etc/cron.daily and always install
/etc/cron.daily/slocate.
Comment 2 SpanKY gentoo-dev 2006-05-07 21:07:55 UTC
slocate-3.1 no longer has these issues