Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33323

Summary: ._protect_* support
Product: Portage Development Reporter: Luke-Jr <luke-jr+gentoobugs>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Luke-Jr 2003-11-12 12:43:52 UTC
It would be nice if one could make a ._protect_* script which enabled config protection for the one file and was called to update it.
For example, if I had a /etc/._protect_make.conf, Portage would make the new file be ._cfg5435_make.conf (even if CONFIG_PROTECT did not include it) and would run "./._protect_make.conf /etc/make.conf /etc/._cfg5435_make.conf".
Alternatively, it might be better to have Portage ignore ._protect_* and have etc-update just use it instead, though.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-12-22 23:53:59 UTC
per-file protection has a bug somewhere already.