Alan:

>>>> - Alan Coopersmith asked why some scripts are installed to /usr/lib and
>>>>     others to /usr/lib/ConsoleKit/scripts.
>>>>
>>>>     The difference is that the files installs to /usr/lib are libexec
>>>>     programs which would normally be installed to /usr/libexec on Linux.
>>>
>>> So will you be putting them all under /usr/lib/ConsoleKit or not?
>>
>> Currently the ConsoleKit pkgconfig file does not expose the libexecdir
>> that ConsoleKit is configured with, so other modules (such as GDM) can't
>> easily figure out that they are installed to a non-standard directory.
>
> So how is it finding them when they're not installed under libexec?

GDM looks just looks in the libexec directory that it is configured to
use.  Since both ConsoleKit and GDM configure libexec to be /usr/lib on
Solaris, they both work fine.

So, to make it work with a different directory, I'd either need to
configure GDM to also use /usr/lib/ConsoleKit as its libexec directory,
or fix the ConsoleKit pc file to expose what libexec directory it is
using and then fix GDM and any other modules which need to access
ConsoleKit's libexec files to lookup the directory from the ConsoleKit
pc file and use that instead.

Not a huge amount of work, though it tends to be slow-going getting such
changes upstream.

>> Therefore, I do not plan to make this change unless it would otherwise
>> cause a TCR/TCA.
>
> I don't think it's worth a TCR, would just be nicer to be consistent.

I do agree, and will work to address this issue at some point.  If you 
would like to file a bug against ConsoleKit so I do not forget, that
would be helpful.  But I think we can treat this as a bug, since it is
not worth a TCR.

Brian

Reply via email to