[patch] small fixes

Havoc Pennington hp at redhat.com
Mon Oct 23 17:04:43 PDT 2006


Hi,

For people using a name we might want to use, I think the solution is to 
just put in the spec that they have to start the name with "X-" in that 
case. Also, I'm guessing nobody is going to do this.

The issue I think is just making it easy for app developers to support 
both 1.0 and 1.2. Perhaps this isn't an issue at all since system bus 
.service files will be for 1.2 only and 1.0 will just not even have a 
service dir in system.conf.

But say from version 1.2 to 1.4, say we add a more optional key than 
User (I don't know, Version= or something), then it might be nice if 
apps could ship a .service file that had that key but worked with 1.2 
anyway. That's the argument I'd say for ignoring unknown keys.

The thing that bugs me about ignoring unknown keys is that it makes it 
really annoying to debug typos when parsers silently ignore the typo. 
One solution would be to warn about unknown keys, but still accept the file.

Anyway, it seems like this isn't a 1.0 stopper? It's probably worth 
linking to this thread in TODO though.

Havoc



More information about the dbus mailing list