Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line function to allow boinc manager to select target computer #3

Closed
romw opened this issue Feb 3, 2015 · 2 comments
Closed

Comments

@romw
Copy link
Member

romw commented Feb 3, 2015

Reported by romw on 21 Mar 37289979 00:26 UTC
Add command line option to allow boinc manager to select target computer when boinc manager is run.

Migrated-From: http://boinc.berkeley.edu/trac/ticket/3

@romw
Copy link
Member Author

romw commented Feb 4, 2015

Commented by Nicolas on 22 Jan 37576921 12:00 UTC
Both on command line and on GUI, there should be a way to have the manager connect to a different port. The client can currently be set to listen on a different port, but that's useless if you can't get the manager to connect to it.

It would beaAlso useful to connect to a remote client via a ssh tunnel.

@romw
Copy link
Member Author

romw commented Feb 14, 2016

Fixed in 8e5a291

@romw romw closed this as completed Feb 14, 2016
AenBleidd added a commit to AenBleidd/boinc that referenced this issue Jul 20, 2018
Current script_validator implementation contains next statements:

sprintf(cmd, "../bin/%s", init_script[0].c_str());

and

sprintf(cmd, "../bin/%s", compare_script[0].c_str());

It is dangerous to use this arrays
that are filled by parsing command line
without validating whether they contain any elements
and leads to next behavior:

Program received signal SIGSEGV, Segmentation fault.
0x000000000040f838 in compare_results (r1=..., r2=..., match=match@entry=@0x7ffffffb6c17: false) at script_validator.cpp:154
154	script_validator.cpp: No such file or directory.
(gdb) bt
#0  0x000000000040f838 in compare_results (r1=..., r2=..., match=match@entry=@0x7ffffffb6c17: false) at script_validator.cpp:154
#1  0x000000000040e85d in check_set (results=std::vector of length 2, capacity 2 = {...}, wu=..., canonicalid=@0x7ffffffb6dd0: 0,
    retry=@0x7ffffffb6dcf: false) at validate_util2.cpp:134
#2  0x000000000040944e in handle_wu (validator=..., items=std::vector of length 3, capacity 4 = {...}) at validator.cpp:411
BOINC#3  0x000000000040a9f2 in do_validate_scan () at validator.cpp:730
BOINC#4  0x000000000040aae4 in main_loop () at validator.cpp:756
BOINC#5  0x00000000004039f6 in main (argc=5, argv=0x7fffffffdd48) at validator.cpp:929

This fix checks whether these arrays contain some elements
and output a readable error of missed inout parameter.

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
CharlieFenton pushed a commit that referenced this issue Aug 2, 2020
…ersions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64.

CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system.
CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds
CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs.
CharlieFenton pushed a commit that referenced this issue Aug 16, 2020
…elease/7/7.16

* commit 'b2ca098750879d81f96edbb91eb17a20dc941c99': (120 commits)
  update translation
  Mac: Don't offer to run graphics apps if architecture incompatible with CPU type and OS version  - For example, MacOS 10.15 or later can't run 32-bit apps; Intel macs can't run arm apps, etc.
  Manager: Change "Show graphics" button to "Stop graphics" when gfx is running - provides another GUI to stop graphics apps
  Mac: add x86_64-apple-darwin platform to arm64 Macs, since Apple's Rosetta 2 emulator will run x86_64 apps
  Update translations
  Update translations
  Mac: Enable close button when running "Show Graphics" from BOINC Manager under MacOS 11 Big Sur
  Mac: FIx screensaver coordinator to run properly under Mac OS 11 Big Sur
  Mac: Remove some obsolete code from Xcode project
  Mac: Fix script which creates debug build of wxWidgets library for arm64 architecture
  Mac: fixes to client and Manager to support arm64, remove some obsolete PowerPC support. Caution: we need to add code for arm64 CPU to get_cpu_info_mac() in hostinfo_unix.cpp I have not removed is_native_i386_app() in app_start.cpp so it can be modified to identify arm64 apps
  Mac: Screensaver fixes for arm64 and MacOS 11 Big Sur
  Ensured essential menu items remain enabled when client shuts down
  Mac: Remove obsolete references to PowerPC architecture from BOINC Xcode project
  Mac: Automatically build Universal x86_64 / arm64 binaries on Xcode versions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64. CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system. CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs.
  script_validator: make scripts optional.
  Added MENU_OPEN to the event table
  Update Core KTX and desugar_jdk_libs versions.
  Add keyword
  The user can specify 3 priority-related prefs in cc_config.h: bool no_priority_change int process_priority int process_priority_special
  ...

# Conflicts:
#	curl/ca-bundle.crt
AenBleidd pushed a commit that referenced this issue Feb 17, 2022
Add code to use VirtualBox differencing images
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants