1 |
On 30/04/12 08:57, Michał Górny wrote: |
2 |
> Hello, |
3 |
> |
4 |
> Since lately Gentoo devs force you to replace collision-protect with |
5 |
> protect-owned [1] and sometimes packages just spit out files randomly |
6 |
> on the filesystem due to random errors, I thought it may be a good idea |
7 |
> to provide a new feature limiting the locations where packages can |
8 |
> install. |
9 |
|
10 |
You're not forced to do anything. |
11 |
|
12 |
> In order to do that, we should first compose a complete include/exclude |
13 |
> list where packages can install. I'd suggest the following: |
14 |
> |
15 |
> + /bin |
16 |
> + /boot (but maybe just subdirectories so packages can't overwrite |
17 |
> kernels?) |
18 |
> [potentially + /dev? but that's useful only when tmpfs isn't mounted] |
19 |
> + /etc |
20 |
> + /lib, /lib32, /lib64 |
21 |
> + /opt |
22 |
> + /sbin |
23 |
> [potentially + /service for ugly daemontools] |
24 |
> + /usr |
25 |
> + /var |
26 |
> - /usr/local |
27 |
> - /usr/portage |
28 |
> |
29 |
> What are your thoughts on this? |
30 |
> |
31 |
> [1]:https://bugs.gentoo.org/show_bug.cgi?id=410691#c4 |
32 |
|
33 |
I think it's feature creep - you can just set INSTALL_MASK="/usr/local |
34 |
/usr/portage", no need for new features. |
35 |
|
36 |
PS. I (and few other folks) don't have /usr/portage. |
37 |
|
38 |
-- |
39 |
Krzysztof Pawlik <nelchael at gentoo.org> key id: 0xF6A80E46 |
40 |
desktop-misc, java, vim, kernel, python, apache... |