Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 230818 - Request to add a new field to CONTENTS file (/var/db/pkg/.../.../CONTENTS)
Summary: Request to add a new field to CONTENTS file (/var/db/pkg/.../.../CONTENTS)
Status: RESOLVED CANTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-05 05:47 UTC by Paul
Modified: 2008-07-05 11:19 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 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).