[patch] small fixes

John (J5) Palmieri johnp at redhat.com
Tue Oct 24 07:30:00 PDT 2006


On Mon, 2006-10-23 at 20:04 -0400, Havoc Pennington wrote:
> 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.

I guess it is not.  By the time people start distributing 1.2 service
files we should have had a point release of the daemon which will allow
the service files to still work under 1.0.  However if it is an easy fix
I would like to get it in.

-- 
John (J5) Palmieri <johnp at redhat.com>



More information about the dbus mailing list