Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303014 - eix-sync: RootTest() call should be optional
Summary: eix-sync: RootTest() call should be optional
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Martin Väth
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 19:44 UTC by Jimmy.Jazz
Modified: 2010-07-23 15:56 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2010-01-31 19:44:40 UTC
eix-sync works well with portage uid/gid and is more secure in that way. Also, I had to move eix.{,previous} into /var/cache/edb and set the g+rws to 
/var/cache/edb, /usr/portage, /etc/portage. The directories belong to the portage user/group.

eix--sync can be run with fcron from a shell script. Also, runas(portage) won't work because of portage 'shell' /bin/false declared in /etc/passwd. To avoid the issue, the script calls 'setuidgid portage eix--sync' instead.

IMO, eix-sync RootTest() should not be called unconditionally. The option -e isn't necessary with the setting described above.

Thx

Reproducible: Always
Comment 1 Martin Väth 2010-01-31 19:59:34 UTC
As long as the mention permissions of the directories are not the default
settings after installation, it would be wrong to let eix-sync choose a
different default for RootTest:
The non-experienced users would run into troubles without the tests.

When you change the directory defaults, you can choose the -e default as well:
For instance, using
printf '%s\n' -e >>/etc/eix-sync.conf