Changes between Version 81 and Version 82 of CompileClient


Ignore:
Timestamp:
Jan 31, 2015, 4:04:44 PM (10 years ago)
Author:
Bluefin Tuna
Comment:

Added infor about separate user and install gotcha

Legend:

Unmodified
Added
Removed
Modified
  • CompileClient

    v81 v82  
    1111== Unix and Linux ==
    1212
     13It is recommended to create a dedicated user for BOINC processing, e.g. {{{boinc}}} and perform the operations below in this user's home directory! Details depend on the system, on Linux one would do
     14
     15{{{
     16useradd boinc
     17su - boinc
     18}}}
     19
     20...to create a new user called ''boinc'' who cannot log in by default (because he has no password), then switch to that user.
     21
    1322First, download and install the [SoftwarePrereqsUnix prerequisites], then [SourceCodeGit download the current source].
    1423
     
    4554}}}
    4655
    47 or you may want to create a distribution package:
     56This will probably fail because.
     57
     58{{{
     59/bin/install: cannot create regular file ‘/etc/init.d/boinc-client’: Permission denied
     60}}}
     61
     62The installer tries to put an init file into {{{/etc/init.d/}}} to start boinc client at boot time. This is not a good idea because
     63
     64   1 This works only if you are currently root, and shouldn't be root when building
     65   2 Your system may well be running {{{systemd}}} and no longer use System V-style init files.
     66
     67Solution: Remove the make target {{{install-exec-hook}}} from the make target {{{install-exec-am}}} by editing {{{client/scripts/Makefile}}}
     68
     69{{{
     70install-exec-am:
     71        @$(NORMAL_INSTALL)
     72        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
     73}}}
     74
     75to
     76
     77{{{
     78install-exec-am:
     79        @$(NORMAL_INSTALL)
     80#        $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
     81}}}
     82
     83=== Distribution package ===
     84
     85Alternatively, you may want to create a distribution package:
    4886
    4987{{{