#8834 BLOC 8.2.1: removing /etc/olpc-security causes activity lanch failures
Zarro Boogs per Child
bugtracker at laptop.org
Tue Oct 21 15:25:59 EDT 2008
#8834: removing /etc/olpc-security causes activity lanch failures
-----------------------+----------------------------------------------------
Reporter: erikg | Owner: mstone
Type: defect | Status: reopened
Priority: blocker | Milestone: 8.2.1
Component: sugar | Version: not specified
Resolution: | Keywords:
Next_action: package | Verified: 0
Blockedby: | Blocking:
-----------------------+----------------------------------------------------
Comment(by bert):
Replying to [comment:17 mikus]:
> Replying to [comment:14 bert]:
> > A workaround is to specify "bin/activity-executable" as cmd line in
the activity.info file. Tomeu is looking into a proper fix.
>
> I'm wondering whether this workaround is applicable to all situations.
Currently (e.g., 767), with security enabled, PATH only includes
${SUGAR_BUNDLE_PATH}/bin. It does not appear to include the plain
$SUGAR_BUNDLE_PATH. I do not at this moment know whether, with security
disabled, PATH does/does_not include the plain $SUGAR_BUNDLE_PATH (which
would be needed for plain "bin/<whatever>" to work).
The workaround has nothing to do with the search path, it avoids the
(broken) search path problem. The bundle directory ($SUGAR_BUNDLE_PATH) is
the current working directory. So "bin/some-executable" simply is a path
relative to the current directory. No searching is necessary.
The workaround would not work if $SUGAR_BUNDLE_PATH was not the current
directory - see #6286.
--
Ticket URL: <http://dev.laptop.org/ticket/8834#comment:18>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list