[rsbac] Package update problem

Amon Ott ao at rsbac.org
Tue Nov 4 10:21:52 CET 2008


On Tuesday 04 November 2008 09:40, Gergely Loónyai wrote:
> This way is too slow. I'm is 1 TB personal data and ~ 4 billon
> file. This backup is not end on 3 hour. Where is not include this
> very easy backup on emerge python script (or rpm code)?
>
> ebuild package install
> if [ -e /proc/rsbac-info/active ] ; then
> 	for I in $(equery f ${P}) ; do
> 		"get_rsbac_settings" from ${ROOT}/${I}
> 		"set_rsbac_setting" on ${D}/${I} || echo "RSBAC_WARNING: not set
> ${I} !!!" done
> fi
> ebuild qmerge
>
> ...and the rsbac's flags is inheritable

I have created a few scripts for our products, which backup per 
package - but this is for Debian based systems only.

Basically, it goes through all packages once, lists the contained 
files, makes a separate backup for them, and restores the package 
backup after each update.

Amon.
-- 
http://www.rsbac.org - GnuPG: 2048g/5DEAAA30 2002-10-22


More information about the rsbac mailing list