kbuildsycoca problem?

Rex Dieter rdieter at math.unl.edu
Sat Dec 2 00:01:23 UTC 2006


Gene Heskett wrote:
> On Friday 01 December 2006 16:52, Rex Dieter wrote:
>> Gene Heskett wrote:
>>> On Friday 01 December 2006 07:53, Rex Dieter wrote:
>>>> what does
>>>> # echo $XDG_CONFIG_DIRS
>>>> say?
>>> Nothing, its empty, and I don't recall seeing it in an env output.
>> That's one problem. XDG_CONFIG_DIRS should be getting defined from
>> /etc/kde/env/env.sh (if using FC stock packaging)
> 
> AFAIK I am. The /etc/kde/env/env.sh contains:
> ---
> # from http://standards.freedesktop.org/menu-spec/latest/
> # XDG_CONFIG_DIRS: where to look for menu config(s)
> if [ -z "${XDG_CONFIG_DIRS}" ] ; then
>    XDG_CONFIG_DIRS=/etc/kde/xdg:/etc/xdg
>    export XDG_CONFIG_DIRS
> fi
> ---
>>From man bash:
>  -z string
>               True if the length of string is zero.
> 
> Since its zero, as in doesn't exist at that point, common sense says that 
> this script, _if_ its being exec'd, should properly set it.  But it 
> apparently doesn't.  I can set another junk var and export it to test I 
> think.  This would require an x restart I'd think.
> 
> I added
> JUNQUE_VAR=123456789;export JUNQUE_VAR above the if [conditional], then 
> restarted x.  Its is not visible in an env report.  This I believe 
> confirms that it is not being exec'd at a startx instant.
> 
> Where do we go from here, Rex?

It appears, root's env space is getting reset, whereas normal users
don't.  Does that match with your findings?  There's a buglet in there
somewhere, but I'll be darned if I know where to look for it.

Might be worth filing something in bugzilla (against kdebase initially,
I guess).

-- Rex




More information about the fedora-list mailing list