Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180337 - CONFIG_PROTECT should follow links
Summary: CONFIG_PROTECT should follow links
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-30 12:22 UTC by Jimmy.Jazz
Modified: 2007-05-31 11:55 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 2007-05-30 12:22:34 UTC
Hello,

I hope i'm not mistaken. I didn't test it for quite a while, but could you take care about the fact that some paths contain links. For instance, CONFIG_PROTECT="/lib/rcscripts/addons" doesn't work on amd64 but "/lib64/rcscripts/addons" will.

The fact that some directories could have many files and be really huge,  CONFIG_PROTECT_MASK should take precedence over CONFIG_PROTECT. For example, CONFIG_PROTECT="/var/vpopmail" should not scan directories declared in CONFIG_PROTECT_MASK like CONFIG_PROTECT_MASK="/var/vpopmail/domains". Also, CONFIG_PROTECT should accept files too.

Thank you.

Jj

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-05-31 10:00:25 UTC
Which portage version are you using? CONFIG_PROTECT certainly works w/ symlinks since 2.1.2_pre days, and it also accepts files (as does CONFIG_PROTECT_MASK). 
Comment 2 Jimmy.Jazz 2007-05-31 11:55:27 UTC
(In reply to comment #1)
> Which portage version are you using? CONFIG_PROTECT certainly works w/ symlinks
> since 2.1.2_pre days, and it also accepts files (as does CONFIG_PROTECT_MASK). 
> 
Sorry i forgot to mention it.

sys-apps/portage-2.1.2.9

Probably you are right, i didn't look out for it. For the link, i'm almost sure it appended recently. I will check it again if you let me a little more time.

Thank you

Jj