Re: kbuildsycoca problem?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


On Friday 01 December 2006 19:01, Rex Dieter wrote:
>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/ (if using FC stock packaging)
>> AFAIK I am. The /etc/kde/env/ contains:
>> ---
>> # from
>> # 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.

I don't know enough about it to call it "reset" Rex.  I put the other var 
in my ~/.bashrc, and that survived rather nicely.  It then existed after 
logging clear out, then back in to a tty shell.

I didn't know we had a mechanism to reset a users env, other than setting 
all the vars back to "" and exporting them.  That, on the face of it, 
seems so far off that its not even wrong, but              

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

Done, albeit probably not concise enough. #218143.

>-- Rex

Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author) and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux