Bitcoin Forum
November 16, 2024, 03:32:51 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 [3] 4 5 »  All
  Print  
Author Topic: Bitcoin RPM packages for Fedora and Red Hat Enterprise Linux  (Read 31450 times)
gmaxwell
Staff
Legendary
*
Offline Offline

Activity: 4284
Merit: 8808



View Profile WWW
October 19, 2013, 05:06:16 AM
 #41

Interesting, how are the Bitcoin devs going to get around the ECDSA patent shit-fight that is causing all these problems in RH-derivative OpenSSL anyway?
The patent situation for ECC is highly over hyped. Mostly it's just optimizations which are patented (and mostly for characteristic 2 curves). In my prior review, it looked like what we were doing was fine.  There is also a lot of ecc patents expiring this year and next, further solidifying the situation.
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
March 22, 2014, 11:21:50 PM
 #42

Bitcoin 0.9.0 is now available in the repos. Sorry for the delay; this was a very large change and I had to spend extra time testing it and working out issues related to the large code refactoring that took place between 0.8.6 and 0.9.0.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
June 05, 2014, 03:29:22 PM
 #43

Several OpenSSL-related security issues were announced today, some of which impact Bitcoin. OpenSSL in the repo has been updated. Please update and then restart bitcoind/bitcoin-qt to apply the updates.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
June 10, 2014, 04:21:59 PM
Last edit: June 10, 2014, 05:03:05 PM by error
 #44

We are now providing Bitcoin packages for RHEL 7, which was made generally available today.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 14, 2014, 07:41:49 PM
 #45

Getting this error when trying "sudo yum install bitcoin"

Code:
http://linux.ringingliberty.com/bitcoin/el20/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found

It seems the repo isn't where it's expected to be on the ringingliberty.com server.


Manually installing "bitcoin-0.9.2.1-1.fc20.x86_64.rpm" is a problem also, I'm getting:

Code:
error: Failed dependencies:
libboost_chrono.so.1.54.0()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64
libboost_filesystem.so.1.54.0()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64
libboost_program_options.so.1.54.0()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64
libboost_thread.so.1.54.0()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64
libdb_cxx-4.8.so()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64
libminiupnpc.so.10()(64bit) is needed by bitcoin-0.9.2.1-1.fc20.x86_64

Which is strange, as I've already used yum to install those packages...

Code:
Installing : boost-program-options-1.54.0-9.fc20.i686                                                                 1/6 
  Installing : boost-thread-1.54.0-9.fc20.i686                                                                          2/6
  Installing : boost-chrono-1.54.0-9.fc20.i686                                                                          3/6
  Installing : libdb4-cxx-4.8.30-11.fc20.i686                                                                           4/6
  Installing : boost-filesystem-1.54.0-9.fc20.i686                                                                      5/6
  Installing : miniupnpc-1.9-1.fc20.i686                                                                                6/6
Running post transaction command: /usr/lib/qubes/qubes-trigger-sync-appmenus.sh
  Verifying  : miniupnpc-1.9-1.fc20.i686                                                                                1/6
  Verifying  : boost-filesystem-1.54.0-9.fc20.i686                                                                      2/6
  Verifying  : libdb4-cxx-4.8.30-11.fc20.i686                                                                           3/6
  Verifying  : boost-chrono-1.54.0-9.fc20.i686                                                                          4/6
  Verifying  : boost-thread-1.54.0-9.fc20.i686                                                                          5/6
  Verifying  : boost-program-options-1.54.0-9.fc20.i686

...which is making me think I've somehow got the wrong packages.

Has anyone else figured this one out? I'm a little stumped where I am now  Embarrassed

Vires in numeris
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 14, 2014, 09:53:37 PM
 #46

Well, the supposedly failed dependencies are present in /usr/lib/, and it's difficult to see how they're the wrong libraries, as the filenames are identical to those in the error output from rpm. Very mysterious.

It seems like whenever I try to use Fedora, there's always some teeth pulling job with a sparsely documented or plain cryptic solution!

Vires in numeris
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
July 14, 2014, 11:54:12 PM
 #47

I see your problem.

You installed the RHEL/CentOS repo file instead of the fedora - so it is looking for el20 (enterprise linux 20) which doesn't exist.

Install the fedora repo file and it should work.

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 15, 2014, 01:32:59 AM
 #48

I see your problem.

You installed the RHEL/CentOS repo file instead of the fedora - so it is looking for el20 (enterprise linux 20) which doesn't exist.

Install the fedora repo file and it should work.

Legendary. Did the names of the failed dependencies give it away? Thanks for the help  Smiley

Still issues though. An error is thrown complaining that /var/lib/bitcoin cannot be created as the datadir. Running it from the commmand line as root has a different issue, it doesn't write the blocks it downloads to disk, and then refuses to shutdown. /var/lib/bitcoin doesn't get created, but /etc/bitcoin does.

Vires in numeris
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 15, 2014, 01:02:51 PM
 #49

Tried creating /var/lib/bitcoin as root before launching Bitcoin from the App Menu, here is the encouraging result:

Runaway exception

Exception: N5boot12interprocess22interprocess_exceptionE
No such file or directory

Vires in numeris
AliceWonder
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile
July 19, 2014, 02:56:26 AM
 #50

I think it wants /var/lib/bitcoin/username

where username is your user and owned by your user.

I moved mine to /misc/bitcoin/username because I didn't want it on /var (/misc is a mount point I created for an additional drive) - I'm out of town until August so I can't look at my config unfortunately.

QuarkCoin - what I believe bitcoin was intended to be. On reddit: http://www.reddit.com/r/QuarkCoin/
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 19, 2014, 08:55:34 PM
 #51

Huh. I don't think notifications are working because I didn't get any.

Anyway the GUI shouldn't be prompting you to create /var/lib/bitcoin, it should be $HOME/.bitcoin instead, so I think that's a bug. I'll take a look at that this evening. /var/lib/bitcoin is meant to be used by the server.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 19, 2014, 10:07:10 PM
 #52

Huh. I don't think notifications are working because I didn't get any.

Anyway the GUI shouldn't be prompting you to create /var/lib/bitcoin, it should be $HOME/.bitcoin instead, so I think that's a bug. I'll take a look at that this evening. /var/lib/bitcoin is meant to be used by the server.

Yes, I've set ~/.bitcoin for the datadir. bitcoind still wants to use /var/lib/bitcoin even once bitcoin-qt has set datadir to ~/.bitcoin, and Armory reports stderr output from bitcoind that bitcoin.conf should be created at /var/lib/bitcoin/ with RPC user and password set. So I'm currently using Armory with bitcoin-qt to serve the blocks to it, instead of Armory launching bitcoind itself from /usr/sbin.

What's the purpose of /etc/bitcoin and /var/lib/bitcoin? bitcoind wallet in one and block data in the other?

Vires in numeris
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 19, 2014, 10:10:17 PM
 #53

Huh. I don't think notifications are working because I didn't get any.

Anyway the GUI shouldn't be prompting you to create /var/lib/bitcoin, it should be $HOME/.bitcoin instead, so I think that's a bug. I'll take a look at that this evening. /var/lib/bitcoin is meant to be used by the server.

Yes, I've set ~/.bitcoin for the datadir. bitcoind still wants to use /var/lib/bitcoin even once bitcoin-qt has set datadir to ~/.bitcoin, and Armory reports stderr output from bitcoind that bitcoin.conf should be created at /var/lib/bitcoin/ with RPC user and password set. So I'm currently using Armory with bitcoin-qt to serve the blocks to it, instead of Armory launching bitcoind itself from /usr/sbin.

What's the purpose of /etc/bitcoin and /var/lib/bitcoin? bitcoind wallet in one and block data in the other?

The (no-GUI) server uses these directories so that SELinux policies can be applied to restrict access to the Bitcoin configuration and wallet in server scenarios. This can't be done effectively if Bitcoin's data is in a user home directory.

Anyway I found the bug (it was something really obvious and stupid) and I'm rebuilding Bitcoin now. Though it will take a couple of hours before all the builds finish.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 19, 2014, 10:38:25 PM
 #54

The (no-GUI) server uses these directories so that SELinux policies can be applied to restrict access to the Bitcoin configuration and wallet in server scenarios. This can't be done effectively if Bitcoin's data is in a user home directory.

The blockchain data is written to $HOME/.bitcoin with the setup you're describing, right?

Vires in numeris
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 19, 2014, 10:39:15 PM
 #55

The (no-GUI) server uses these directories so that SELinux policies can be applied to restrict access to the Bitcoin configuration and wallet in server scenarios. This can't be done effectively if Bitcoin's data is in a user home directory.

The blockchain data is written to $HOME/.bitcoin with the setup you're describing, right?

Only for the GUI (when the fixed builds are done). The server never uses anything in $HOME by default.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 20, 2014, 11:56:37 AM
 #56

Anyway I found the bug (it was something really obvious and stupid) and I'm rebuilding Bitcoin now. Though it will take a couple of hours before all the builds finish.

So, your update has stopped bitcoin-qt working, stderror says:

EXCEPTION: N5boost12interprocess22interprocess_exceptionE       
Permission denied       
bitcoin in Runaway exception

Where is the config that tells Bitcoin-Qt to use /var/lib/bitcoin? How can I find out the contents of /var/lib/bitcoin and /etc/bitcoin if I can't access them as root?

Vires in numeris
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 20, 2014, 12:29:55 PM
 #57

Anyway I found the bug (it was something really obvious and stupid) and I'm rebuilding Bitcoin now. Though it will take a couple of hours before all the builds finish.

So, your update has stopped bitcoin-qt working, stderror says:

EXCEPTION: N5boost12interprocess22interprocess_exceptionE       
Permission denied       
bitcoin in Runaway exception

Where is the config that tells Bitcoin-Qt to use /var/lib/bitcoin? How can I find out the contents of /var/lib/bitcoin and /etc/bitcoin if I can't access them as root?

The Qt config is hidden in the $HOME/.config/Bitcoin directory.

For you, I would recover this way:

* Stop Bitcoin (you probably already have).
* Make sure the user .bitcoin directory exists, e.g. mkdir $HOME/.bitcoin
* (as root) Move your wallet and blockchain back to $HOME/.bitcoin, e.g. mv /var/lib/bitcoin/* /home/username/.bitcoin
* (as root) Reset the ownership for $HOME/.bitcoin recursively to your own user, e.g. chmod -R username.groupname /home/username/.bitcoin
* Fix SELinux security contexts, e.g. restorecon -r -v $HOME/.bitcoin
* Edit the $HOME/.config/Bitcoin-Qt.conf file and $HOME/.config/Bitcoin-Qt-testnet.conf file if it exists. and fix the path.
* Start Bitcoin-Qt.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Carlton Banks
Legendary
*
Offline Offline

Activity: 3430
Merit: 3080



View Profile
July 20, 2014, 12:40:59 PM
 #58

[user@bitcoin .bitcoin]$ find Bitcoin-Qt.conf
find: 'Bitcoin-Qt.conf': No such file or directory
[user@bitcoin .bitcoin]$ sudo find /var/lib/bitcoin/Bitcoin-Qt.conf
find: '/var/lib/bitcoin/Bitcoin-Qt.conf': No such file or directory
[user@bitcoin .bitcoin]$ sudo find /etc/bitcoin/Bitcoin-Qt.conf
find: '/etc/bitcoin/Bitcoin-Qt.conf': No such file or directory

So apparently it's not in any of those locations... unless running find as root works as well as the other commands I've tried to use involving the system directories

Edit: found it...

Vires in numeris
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 20, 2014, 12:42:14 PM
 #59

[user@bitcoin .bitcoin]$ find Bitcoin-Qt.conf
find: 'Bitcoin-Qt.conf': No such file or directory
[user@bitcoin .bitcoin]$ sudo find /var/lib/bitcoin/Bitcoin-Qt.conf
find: '/var/lib/bitcoin/Bitcoin-Qt.conf': No such file or directory
[user@bitcoin .bitcoin]$ sudo find /etc/bitcoin/Bitcoin-Qt.conf
find: '/etc/bitcoin/Bitcoin-Qt.conf': No such file or directory

So apparently it's not in any of those locations... unless running find as root works as well as the other commands I've tried to use involving the system directories

I never said it was in any of those locations.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
error (OP)
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 20, 2014, 12:43:33 PM
 #60

Anyway I've pulled this build as it's exposed an upstream bug that needs to be fixed. For now just do the manual recovery described in #57. And if you happened to install the bad GUI build, run
Code:
yum clean all; yum distro-sync
to back it out.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Pages: « 1 2 [3] 4 5 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!