Re: Package update problem
Gergely Loónyai <[email protected]>
| Newsgroups | gmane.linux.rsbac |
|---|---|
| Message-ID | <[email protected]> |
Hi,
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
Aleph
From: kang <[email protected]>
>On Monday 03 November 2008 10:06:50 Gergely Loónyai wrote:
>> Hi,
>>
>> If i updating a packages then the files losing your RSBAC's settings
>> (example: auth_may_setuid). How to avoid this problema? I sick from
>> re-setting. I fint this problem on Gentoo (emerge) and i remember some
>> problem on Mandriva (urmpi/RPM).
>>
>> Aleph
>> _______________________________________________
>> rsbac mailing list
>> [email protected]
>> http://www.rsbac.org/mailman/listinfo/rsbac
>
>Hi,
>
>Either store the settings in some tool or script of your own, either run a
>backup after you're done setting up and re-apply it.
>there's a pre-installed script called backup_all which backups all attributes
>for you.
>eg:
># backup_all > rsbac-backup
>
>
>_______________________________________________
>rsbac mailing list
>[email protected]
>http://www.rsbac.org/mailman/listinfo/rsbac
_______________________________________________
rsbac mailing list
[email protected]
http://www.rsbac.org/mailman/listinfo/rsbac