Hi,
I have a shell script and it calls kmdr-executor to execute the kommander dialogs in many places throughout the script.
When I execute the script as root, I always got those messages and the running process becomes slow:
kbuildsycoca running…
ALSA lib confmisc.c:768(parse_card) cannot find card ‘0’
ALSA lib conf.c:3512 (_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392(snd_func_concat) error evaluating strings
ALSA lib conf.c:3513:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251(snd_func_refer) error evaluating name
ALSA lib conf.c:3513(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144(snd_pcm_open_noupdate) Unknown PCM default
akode: Could not open auto-sink
KNotify:: playTimeout
ICE default IO error handler doing an exit(), pid = 4038, errno = 11
So the kmdr-executor would actually return “auto_sink:” plus the original return value back to the caller, which I don’t like and it would mess up the rest of the process based on the wrong return value.
However, if I run the script as a normal user, none of above would happen.
Why “kbuildsycoca running…” only happens when being the root and how can I fix the problem?
Thanks