[ovs-dev] Bug#681880: openvswitch-switch - Automatic changed file in /etc/

Bastian Blank waldi at debian.org
Thu Jul 26 08:59:05 UTC 2012


On Wed, Jul 18, 2012 at 07:01:42AM -0700, Ben Pfaff wrote:
> On Wed, Jul 18, 2012 at 10:00:49AM +0200, Bastian Blank wrote:
> > No. It is no configuration file if it is not static.
> The FHS defines "static" as:
>     "Static" files include binaries, libraries, documentation files and
>     other files that do not change without system administrator
>     intervention.  "Variable" files are files that are not static.
> 
> The system administrator runs ovs-vsctl to change
> /etc/openvswitch/conf.db.

You forget all virtualization stuff. There no admin intervention is
used.

> > How does modifying this file with an editor work? 
> It's somewhat challenging, because you have to calculate a sha1sum with
> the sha1sum program, and the format isn't really intended for direct
> human editing.  But, as I said before (you dropped the quote), I do not
> see anything in 10.7 that says that the administrator must be able to
> edit a configuration file with a text editor.

So it is not meant to be modified by a user.

> > How does it survive read-only /etc?
> If you have read-only /etc, then you can't modify your configuration, in
> the same way you can't modify other parts of your configuration.

conf.db is open read-write by ovsdb-server.

Bastian

-- 
Deflector shields just came on, Captain.



More information about the dev mailing list