Customizable script in /etc which is executed during package update

Adam Tkac atkac at redhat.com
Wed Jun 10 13:38:11 UTC 2009


Hi all,

I've been contacted with one man who is using "named" daemon in chroot
environment. In Fedora <= 10 there is script called
"bind-chroot-admin" which synchronized non-chroot and chroot
configuration files (mostly created symlinks to chroot). This script
has been removed in F11 development process due various reasons
(http://fcp.surfsite.org/modules/newbb/viewtopic.php?viewmode=flat&topic_id=63613&forum=11)

As the man suggested it would be nice to have a method to automatically
synchronize chroot and non-chroot during updates because it will simplify
administration.

I would like to add script called "/etc/sysconfig/named-chroot-update-hook"
which will be modified by administrator to sync needed files to chroot
environment during each update. Then every admin will easily maintain his
own "version" of chroot.

What do you think about this? Do you know any better approach?

Regards, Adam

-- 
Adam Tkac, Red Hat, Inc.




More information about the devel mailing list