Bug#562022: [boinc-client] Doesn't work (Auth failure)
severity 562022 important tag 562022 + unreproducible thanks Hi Vedran, and thanks for your bug report, On Tue, Dec 22, 2009 at 01:18:14AM +0100, Vedran Furač wrote: % boinccmd --get_state Authorization failure: -155 # cd /etc/boinc-client # echo test gui_rpc_auth.cfg # boinccmd --get_state --passwd test Please be sure that if you set a password the order of this option must be put before any command, this can be found on the boinccmd(1) «Notice that the order of the options is important. The --host and --passwd options must precede any command.» Authorization failure: -155 So either boinc is broken or its documentation is. Boinc-manager doesn't work either (gets disconnected immediately after starting). I tried to reproduce this bug on 4 boxes, I was able to pass commands using boinccmd without any password set on gui_rpc_auth.cfg If I set a password I could connect properly if the --passwd option was set before the command option: @tepitzin:~ $ boinccmd --passwd foo --get_disk_usage boinccmd --get_state --passwd foo Disk usage total: 55000715264.00 free: 37275279360.00 Authorization failure: -155 I'm downgrading the severity to Important, I'll keep trying to reproduce the bug. Cheers -- René Mayorga signature.asc Description: Digital signature
Bug#562022: [boinc-client] Doesn't work (Auth failure)
Hi! René Mayorga wrote: I tried to reproduce this bug on 4 boxes, I was able to pass commands using boinccmd without any password set on gui_rpc_auth.cfg If I set a password I could connect properly if the --passwd option was set before the command option: @tepitzin:~ $ boinccmd --passwd foo --get_disk_usage boinccmd --get_state --passwd foo Disk usage total: 55000715264.00 free: 37275279360.00 Authorization failure: -155 Thanks for quick answer. I don't have time for more testing now, but it works if i start boinc (the daemon) as root: # boinc --check_all_logins --redirectio --dir /var/lib/boinc-client % boinccmd --get_disk_usage Disk usage total: 29526847488.00 free: 20935532544.00 Regards, Vedran -- http://vedranf.net | a8e7a7783ca0d460fee090cc584adc12 attachment: vedran_furac.vcf
Bug#562022: [boinc-client] Doesn't work (Auth failure)
Package: boinc-client Version: 6.10.17+dfsg-2 Severity: grave Freshly installed boinc-client: % boinccmd --get_state Authorization failure: -155 ...reading README.Debian, googling a bit... # cd /etc/boinc-client # echo test gui_rpc_auth.cfg # boinccmd --get_state --passwd test Authorization failure: -155 So either boinc is broken or its documentation is. Boinc-manager doesn't work either (gets disconnected immediately after starting). Regards, Vedran --- System information. --- Architecture: amd64 Kernel: Linux 2.6.32-trunk-amd64 Debian Release: squeeze/sid 900 unstablewww.debian-multimedia.org 900 unstableftp.debian.org 800 experimentalwww.debian-multimedia.org 800 experimentalftp.debian.org 500 testing secure-testing.debian.net 500 testing ftp.debian.org 500 stable mirrors.reflected.net 500 lucid packages.medibuntu.org 500 jaunty ppa.launchpad.net --- Package information. --- Depends (Version) | Installed =-+-== libc6 (= 2.2.5) | 2.10.2-2 libcurl3(= 7.16.2-1) | 7.19.7-1 libgcc1 (= 1:4.1.1) | 1:4.4.2-6 libssl0.9.8 (= 0.9.8k-1) | 0.9.8k-7 libstdc++6 (= 4.1.1) | 4.4.2-6 zlib1g (= 1:1.1.4) | 1:1.2.3.3.dfsg-15 debconf (= 0.5) | 1.5.28 OR debconf-2.0 | python (= 2.3) | 2.5.4-4 adduser | 3.111 lsb-base (= 3.0-6) | 3.2-23 ca-certificates | 20090814 Recommends (Version) | Installed =-+-=== schedtool | 1.3.0-1 Suggests(Version) | Installed =-+-=== boinc-app-seti| boinc-manager | 6.10.17+dfsg-2 --- Output from package bug script --- -- Contents of /etc/default/boinc-client: # This file is /etc/default/boinc-client, it is a configuration file for the # /etc/init.d/boinc-client init script. # Set this to 1 to enable and to 0 to disable the init script. ENABLED=1 # Set this to 1 to enable advanced scheduling of the BOINC core client and # all its sub-processes (reduces the impact of BOINC on the system's # performance). SCHEDULE=1 # The BOINC core client will be started with the permissions of this user. BOINC_USER=boinc # This is the data directory of the BOINC core client. BOINC_DIR=/var/lib/boinc-client # This is the location of the BOINC core client, that the init script uses. # If you do not want to use the client program provided by the boinc-client # package, you can specify here an alternative client program. #BOINC_CLIENT=/usr/local/bin/boinc BOINC_CLIENT=/usr/bin/boinc # Here you can specify additional options to pass to the BOINC core client. # Type 'boinc --help' or 'man boinc' for a full summary of allowed options. #BOINC_OPTS=--allow_remote_gui_rpc BOINC_OPTS= -- http://vedranf.net | a8e7a7783ca0d460fee090cc584adc12 attachment: vedran_furac.vcf