Re: [Bluez-devel] D-Bus interfaces

Fredrik Noring
2004-02-09T11:53:12Z

Marcel,

mån 2004-02-09 klockan 12.03 skrev Marcel Holtmann:
> I don't wanna support a config file which is intend to be editable by a
> user and changable by a program. This is always a mess.

That's actually the way many other configuration tools in Linux works...
Like it or not, it's the simplest and most robust way to have it working
because you will have to trust the administrator of the system for
certain things anyway.

If the administrator decides to edit a system file, it's very likely
because something really needs to be done. Hiding the real configuration
files behind special binary databases is a true nightmare when stuff
simply isn't working.

> We need to write a command line utility with full support anyway, because
> the interface must be tested.

Emacs/grep/awk/perl et. al. are much more powerful than most special
tools. The user interfaces, DBus interfaces and tools only need to
support the common cases when plain text files are used. This shouldn't
stop anyone from actually implementing _all_ configuration features in some
tool, but the advanced stuff can be also be left to the administrator.

Fredrik