Installing from .rpm on Fedora 8

Message boards : BOINC client : Installing from .rpm on Fedora 8
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 16391 - Posted: 3 Apr 2008, 13:05:26 UTC - in response to Message 16389.  

In the News column on BOINC main page the March 31 entry informs us there is now a BOINC install package for Fedora 7, an rpm, created by Milos Jakubicek. Thanks Milos :)

I don't know how many Fedora users have tried the rpm. I did and there are a few issues which I think Milos will work out soon. Or maybe I just did it wrong.


I've yet to try the package verison. I'm using the rpm put together by Eric Myers (and probably should make the effort to get the repo version running).

I logged in as root and used the Add/Remove Software facility (K Menu -> System -> Add/Remove Software) rather than yum. Should work the same either way. It installed and reported success.


That's my understanding too. The Add/Remove software is just a GUI front end.

Then I rebooted. As the booted proceeded I clicked "Show details". One of the entrys said like "Starting boinc_client as daemon.... (OK)".




Attached to a few projects, got "platform i386-pc-linux-gnu not found". Boooo!


That's a bug. I'm reporting

2008-04-03 04:15:33 [---] Starting BOINC client version 5.10.21 for i686-pc-linux-gnu



Clicked the manager icon, it said "can't connect", clicked Advanced -> Select computer, gave the password and it connected.


That's how BOINC behaved for me at first. Because I start the manager from a shell, I ended up making a symlink in my home directory that points to the gui_rpc_auth file.

So that's 2 issues, I think. First, the platform identifier string in the binary needs to be corrected. Or do the 3 projects I tried to attach to need to change on their end?

Second, I can see where unprivileged users should have to give the password to get the manager to connect to client but even when logged in as root I had to give the password. Did I install it wrong? Or did I discover a bug?



First one is definitely a bug.

Second one is definitely an issue (not very user friendly to the noobs) but not necessarily a bug.


And just so you have a heads up, the package has a log rotate script in it (actually a config file for logrotate). I think it runs once a week (it been a while since I wrote it and I've since modified mine to run daily). But to get the logs to actually rotate, the script stops BOINC. Mine seems to run at 4:15 AM, but I guess that depends on when cron runs logrotate.

Kathryn :o)
ID: 16391 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 16401 - Posted: 3 Apr 2008, 17:17:18 UTC - in response to Message 16392.  

And just so you have a heads up, the package has a log rotate script in it (actually a config file for logrotate). I think it runs once a week (it been a while since I wrote it and I've since modified mine to run daily). But to get the logs to actually rotate, the script stops BOINC. Mine seems to run at 4:15 AM, but I guess that depends on when cron runs logrotate.


Thanks for that heads up. Logrotate is generally a good thing but it could cause a problem with CPDN slab models. They don't like being interrupted at the ends of each of the 3 phases. That's not to say the logrotate feature should be removed, it's a keeper in my books. I'll try to take a look at it and see if something can be done to make it more friendly to the slab models.


/var/log/boinc.log
{
	weekly
	rotate 8
	create 664 boinc boinc
	sharedscripts
	prerotate
	  if [ -f /var/lock/subsys/boinc ]; then
	    touch /var/run/boinc_was_running
	    /etc/init.d/boinc stop
	  fi
	endscript
	postrotate
	  if [ -f /var/run/boinc_was_running ]; then
	    rm /var/run/boinc_was_running
	    /etc/init.d/boinc start
	  fi
	endscript 	
}


Well, you could change it to run monthly. Comment out the weekly and change it to monthly. I don't know how big the logs would get tho. Like I said, I've been using a daily run since I wrote it. It started as a testing feature, but I kept it because it was easier to find things when I needed them.
Kathryn :o)
ID: 16401 · Report as offensive
Profile KSMarksPsych
Avatar

Send message
Joined: 30 Oct 05
Posts: 1239
United States
Message 16407 - Posted: 3 Apr 2008, 20:54:09 UTC - in response to Message 16405.  


Kathryn, thanks for the script and especially the filename. I had no idea where to find it.




The init.d script is the one that starts and stops the daemon.

The logrotate script should (at least in theory) be in /etc/logrotate.d and is (I think) named boinc.
Kathryn :o)
ID: 16407 · Report as offensive
Milos Jakubicek

Send message
Joined: 19 Feb 08
Posts: 23
Czech Republic
Message 16434 - Posted: 4 Apr 2008, 9:07:29 UTC - in response to Message 16389.  


Attached to a few projects, got "platform i386-pc-linux-gnu not found". Boooo!


Hi,

this has been caused by Koji (the Fedora Build System), which is set to export i386-pc-linux-gnu. I've overridden it in the configure, so it should be fixed now. An update is pending in the updates-testing repository for both F-7/F-8, or you can download the RPMs from Koji to test them:

http://koji.fedoraproject.org/koji/buildinfo?buildID=44887 (F-7)
http://koji.fedoraproject.org/koji/buildinfo?buildID=44886 (F-8)

Please if it works for you set a +1 in the updates system, as soon as it will reach karma +3 it will be pushed into the stable repository (or after pending 14 days):

https://admin.fedoraproject.org/updates/F8/pending/boinc-client-5.10.45-5.20080315svn.fc8
https://admin.fedoraproject.org/updates/F7/pending/boinc-client-5.10.45-5.20080315svn.fc7

In case of any troubles just mail me...or there is also bugzilla.redhat.com:)

Regards,
Milos
ID: 16434 · Report as offensive

Message boards : BOINC client : Installing from .rpm on Fedora 8

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.