[Bug 1248715] Re: Config files in /etc/boinc-client are not owned by boinc user

Githlar 1248715 at bugs.launchpad.net
Wed Nov 6 21:06:21 UTC 2013


** Changed in: boinc (Ubuntu)
       Status: Invalid => New

** Description changed:

- Upon installation, the config files in /etc/boinc-client (most actually
- belong to the manager when it's installed) are owned as root, with the
- exception of cc_config.xml. One of the files affected by this bug is
- gui_rpc_auth.xml, which contains the password for the local
- boincmgr/boinc. However, since boincmgr runs as the boinc user, it's not
- able to put its randomly generated password in this file at start. This
- causes an issue where upon boincmgr being started, it is blank and
- cannot connect to the locally running server. Trying to tell boincmgr to
- connect to localhost manually also fails. The only way to get it to
- connect is to connect to 127.0.0.1 manually.
+ Upon installation, the config files /etc/boinc-client/gui_rpc_auth.cfg
+ is mode 0640. This file contains a randomly generated password by
+ boincmgr on first start. Since boincmgr is unlikely to be run as root,
+ this means that it cannot store the password in the file. Changing the
+ permissions to 0666 doesn't really seem feasible, so boincmgr will have
+ to be run once as root or the install scripts need to write a random
+ password into the file. However, once written all users running boincmgr
+ need to be able to read the file and this isn't possible the way it
+ installs. This leads to boincmgr loading in an "empty" state and it's a
+ backflip to get it to connect to the running client. In order to do so
+ you have to tell boincmcgr to connect to 127.0.0.1 (localhost doesn't
+ work). It should "just work."
  
  Updating the permissions of the files in /etc/boinc-client fixes this
  issue.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: boinc-manager 7.2.7+dfsg-1
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.5-0ubuntu2.1
  Architecture: amd64
  Date: Wed Nov  6 14:43:13 2013
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/boincmgr
  InstallationDate: Installed on 2013-10-19 (18 days ago)
  InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
  MarkForUpload: True
  ProcEnviron:
-  TERM=xterm
-  SHELL=/bin/bash
-  PATH=(custom, user)
-  LANG=en_US.UTF-8
-  XDG_RUNTIME_DIR=<set>
+  TERM=xterm
+  SHELL=/bin/bash
+  PATH=(custom, user)
+  LANG=en_US.UTF-8
+  XDG_RUNTIME_DIR=<set>
  SourcePackage: boinc
  UpgradeStatus: No upgrade log present (probably fresh install)

** Summary changed:

- Config files in /etc/boinc-client are not owned by boinc user
+ Change /etc/boinc-client/gui_rpc_auth.cfg to 0644

-- 
You received this bug notification because you are a member of Debian
BOINC Maintainers, which is subscribed to boinc in Ubuntu.
https://bugs.launchpad.net/bugs/1248715

Title:
  Change /etc/boinc-client/gui_rpc_auth.cfg to 0644

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boinc/+bug/1248715/+subscriptions



More information about the pkg-boinc-devel mailing list