F11 bind-chroot - a question?

Mail Lists lists at sapience.com
Tue Jun 16 03:01:00 UTC 2009


On 06/15/2009 02:11 AM, Tim wrote:
> On Sun, 2009-06-14 at 13:26 -0400, Mail Lists wrote:
>> Either way - there should only be one set of files - period. Links are
>> pointless.
> 
> No, not really.  A GUI tool can work on a chrooted or non-chrooted
> system if there are symlinks to the chrooted files.
> 
> e.g. /etc/named.conf is a symlink to /var/named/chroot/var/etc/named.conf
> And a tool that edits /etc/named.conf doesn't know, nor care, whether
> it's operating directly on that file, or the chrooted one.
> 
> But without the symlinks, you need two tools:  One for the chrooted, or
> another for the non-chrooted files.  Or one that magically works on the
> right file.
> 
> 

  That is just bad app design - the app needs to learn about which root
to use for the config files - should be settable.

   No app should rely on some non-standard links just coz its the easy
way. Its not a lot of work to fix this correctly.




More information about the fedora-list mailing list