Ticket #762 (closed Defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Linux manager doesn't start the client

Reported by: Nicolas Assigned to: romw
Priority: Major Milestone: Undetermined
Component: Manager Version: 6.3.17
Keywords: patch Cc:

Description

As reported on boinc_alpha: the BOINC Manager is not auto-starting the core client.

Manager still fails to start the client. This got broken somewhere before the 6.2 release and then fixed. It was broken again in the last alpha release and is still broken.

The cause:

If g_use_sandbox is not set, the manager adds --insecure to the client command line. This is done even if SANDBOX wasn't defined at compile time. The client then promptly quits saying --insecure is not a valid option. It only recognizes the option if SANDBOX was defined at compile time.

Under OS X, the manager adding --insecure is wrapped in #ifdef SANDBOX; but not on Linux.

The fix should come from both sides. The manager shouldn't add that switch if SANDBOX was disabled, but the client shouldn't quit if the switch is passed. If someone says he wants the client --insecure, and the client doesn't even have security compiled in, the client quietly ignoring the option would get the correct behavior: no security.

Attachments

linuxmgr-clientstart.3.diff (2.4 kB) - added by Nicolas on 10/27/08 18:40:15.
patch

Change History

10/27/08 18:40:15 changed by Nicolas

  • attachment linuxmgr-clientstart.3.diff added.

patch

10/27/08 18:41:09 changed by Nicolas

  • keywords set to patch.

10/27/08 19:21:31 changed by davea

  • status changed from new to closed.
  • resolution set to fixed.

(In [16328]) - client: accept --insecure flag even if not compiled with -DSANDBOX

  • manager: pass --insecure flab only if compiled with -DSANDBOX

(from Nicolas; fixes #762)


If this page is incomplete or incorrect, please edit it or add it to the wiki to-do list. To do this, you must be logged in; click Login or Register above.