ltsp-common-functions: Dereference asterisk in find_opts doesn't work for me
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LTSP5 |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is for net-misc/
(see also https:/
I have some ThinClients that need
CONFIGURE_X = Y
X_MODE_0 = 1600x1200
in lts.conf to start X with the correct resolution.
But after updating ltsp-client:
[ebuild U ] net-misc/
they came up with 800x600. Debugging the startup scripts I finally found that
the XS* scripts (and especially XS90-assembleXo
/usr/share/
/usr/share/
# Run files prefixed with XS* in /usr/share/
if [ -d "/usr/share/
for script in $(run_parts_list /usr/share/
. $script
done
fi
This again was caused by the find command in run_parts_list() of
/usr/share/
find -L "$1" -mindepth 1 -maxdepth 1 -type f $find_opts | ...
not listing the XS* scripts. I had to change the definition of find_opts from
find_
to
find_
to fix this.
So unlike the commit comment of revision 1802
(http://
which says "Dereference asterisk in find_opts. Otherwise, this fails
sometimes." for me it _always_ fails _with_ the asterisk in find_opts.
2 months later there was another commit, 1808, which changed that part of the code to solve the problem you're reporting.
Does commit 1808 work for you?
http:// bazaar. launchpad. net/~ltsp- upstream/ ltsp/ltsp- trunk/revision/ 1808