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

Bug 230818

Summary: Request to add a new field to CONTENTS file (/var/db/pkg/.../.../CONTENTS)
Product: Portage Development Reporter: Paul <PLRCA2>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED CANTFIX    
Severity: enhancement CC: preed
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=836954
https://bugs.gentoo.org/show_bug.cgi?id=654122
https://bugs.gentoo.org/show_bug.cgi?id=134677
https://bugs.gentoo.org/show_bug.cgi?id=605082
https://bugs.gentoo.org/show_bug.cgi?id=523706
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 193766    

Description Paul 2008-07-05 05:47:51 UTC
It would be useful to have the owner's name, group name, and permissions added to a package's CONTENTS file. This information could be used to ensure package integrity -- much like tripwire or, from what I've heard, linux-audit. The package manager is in the perfect place to record this information, half the information is already in place (checksums used for uninstalls). My personal use for it would be for changing uids and gids en-masse (as when setting up an old install to use ldap et al).

Reproducible: Always

Steps to Reproduce:
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2008-07-05 11:19:10 UTC
Unfortunately the current CONTENTS format isn't extensible at all (existing code assumes a fixed set of fields and would break if the format changes).
There are plans to change the installed package database format itself though, including a more efficient and much more flexible way to track installed files where this information would be added (it's useful for package upgrades as well).