[SRU] bitcoin: Mandatory upgrade on May 15

Bug #1159832 reported by Scott Howard
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
bitcoin (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Won't Fix
Medium
Unassigned
Precise
Won't Fix
Medium
Unassigned
Quantal
Won't Fix
Medium
Unassigned
Raring
Fix Released
High
Unassigned

Bug Description

[Impact]

http://bitcoin.org/may15.html

What is happening

If you are using Bitcoin-Qt/bitcoind version 0.7.2 or earlier, you must take action before 15 May, 2013. If you do nothing, you are likely to be left behind and will be out of sync with the rest of the Bitcoin network.

We recommend that you upgrade to version 0.8.1 before the 15th of May to avoid any issues. If you are a solo miner or mining pool operator, please see the the notes at the end of this page for how to upgrade safely.
If you cannot upgrade to version 0.8.1

If you cannot upgrade to the latest version, you can still avoid the problem. Create a file called DB_CONFIG in the bitcoin data directory, containing these two lines:

    set_lg_dir database
    set_lk_max_locks 120000

Attached is a patch to fix this mandatory upgrade. I'll apply for a FFE.

[Test Case]

After May 15th, affected clients won't propagate large blocks

[Regression Potential]

none that i can think of, this is just lifting an artificial constraint BDB was putting on databases

Revision history for this message
Scott Howard (showard314) wrote :

Attached debdiff.

As an alternative to the mandatory upgrade, I added to our wrapper script to tell BDB to use a bigger DB. Taken from upstream:
http://bitcoin.org/may15.html

Changed in bitcoin (Ubuntu):
status: Triaged → New
summary: - Mandatory bitcoin upgrade on May 15
+ [FFE] bitcoin: Mandatory upgrade on May 15
Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [FFE] bitcoin: Mandatory upgrade on May 15

Can you test the newer version? We're possibly better off to go with it for raring and do the work-around via SRU.

Changed in bitcoin (Ubuntu):
milestone: none → ubuntu-13.04
Revision history for this message
Scott Howard (showard314) wrote :

No problem, there is no rush to do this before raring.

For those interested, I have a test version for raring here:
https://launchpad.net/~showard314/+archive/ppa

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Since Debian has bitcoin 0.8.1-1 I'd rather just sync it.
For earlier releases we will want an SRU & hopefully same as Debian will do.

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

Does the proposed patch works for all currently supported versions of bitcoin in Ubuntu?
   bitcoin | 0.3.24~dfsg-1 | oneiric/universe | source
   bitcoin | 0.3.24~dfsg-1 | precise/universe | source
   bitcoin | 0.6.2.2-1ubuntu1 | quantal/universe | source

Revision history for this message
Scott Kitterman (kitterman) wrote : Re: [Bug 1159832] Re: [FFE] bitcoin: Mandatory upgrade on May 15

You can skip oneiric. It is EOL on May 9.

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [FFE] bitcoin: Mandatory upgrade on May 15

This bug was fixed in the package bitcoin - 0.8.1-1
Sponsored for Scott Howard (showard314)

---------------
bitcoin (0.8.1-1) experimental; urgency=low

  * New upstream release (Closes: #700910, Closes: #701085, Closes: #703213)
    (LP: #1130638)
  * debian/patches
    - Removed 1004_conservative_qt-dbus.patch applied upstream
    - New 1005_use_system_libleveldb.patch
      use system leveldb, build convenience copy of libmemenv.a but only
      linked against test suite which is not distributed
  * removed depricated Encoding key from bitcoin-qt.desktop

 -- Scott Howard <email address hidden> Tue, 26 Feb 2013 14:10:15 -0500

Changed in bitcoin (Ubuntu):
status: New → Fix Released
Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 1159832] Re: [FFE] bitcoin: Mandatory upgrade on May 15

Yes, the proposed patches should work with previous releases. Debian
has never released a package of bitcoin (kfreebsd FTBFS eventually led
it to be removed from wheezy before freeze). There is a package in
squeeze backports which I'll request to be removed.

On Fri, Mar 29, 2013 at 5:14 PM, Dmitrijs Ledkovs
<email address hidden> wrote:
> Since Debian has bitcoin 0.8.1-1 I'd rather just sync it.
> For earlier releases we will want an SRU & hopefully same as Debian will do.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1159832
>
> Title:
> [FFE] bitcoin: Mandatory upgrade on May 15
>
> Status in “bitcoin” package in Ubuntu:
> New
>
> Bug description:
> http://bitcoin.org/may15.html
>
> What is happening
>
> If you are using Bitcoin-Qt/bitcoind version 0.7.2 or earlier, you
> must take action before 15 May, 2013. If you do nothing, you are
> likely to be left behind and will be out of sync with the rest of the
> Bitcoin network.
>
> We recommend that you upgrade to version 0.8.1 before the 15th of May to avoid any issues. If you are a solo miner or mining pool operator, please see the the notes at the end of this page for how to upgrade safely.
> If you cannot upgrade to version 0.8.1
>
> If you cannot upgrade to the latest version, you can still avoid the
> problem. Create a file called DB_CONFIG in the bitcoin data directory,
> containing these two lines:
>
> set_lg_dir database
> set_lk_max_locks 120000
>
>
> Attached is a patch to fix this mandatory upgrade. I'll apply for a
> FFE.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/bitcoin/+bug/1159832/+subscriptions

Changed in bitcoin (Ubuntu Oneiric):
status: New → Won't Fix
Changed in bitcoin (Ubuntu Precise):
status: New → Triaged
Changed in bitcoin (Ubuntu Quantal):
status: New → Triaged
Changed in bitcoin (Ubuntu Precise):
importance: Undecided → Medium
Changed in bitcoin (Ubuntu Quantal):
importance: Undecided → Medium
Revision history for this message
Sebastien Bacher (seb128) wrote : Re: [FFE] bitcoin: Mandatory upgrade on May 15

unsubscribing sponsors, it seems there is nothing left to sponsor there at the moment

Revision history for this message
Scott Howard (showard314) wrote :

precise debdiff

summary: - [FFE] bitcoin: Mandatory upgrade on May 15
+ [SRU] bitcoin: Mandatory upgrade on May 15
description: updated
Revision history for this message
Scott Howard (showard314) wrote :

quantal debdiff

Revision history for this message
Scott Howard (showard314) wrote :

resubscribing sponsors, thanks

Changed in bitcoin (Ubuntu Raring):
milestone: ubuntu-13.04 → none
Revision history for this message
Felix Geyer (debfx) wrote :

Uploaded to precise- and quantal-proposed, pending approval.

Revision history for this message
Dave Walker (davewalker) wrote : Please test proposed package

Hello Scott, or anyone else affected,

Accepted bitcoin into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/bitcoin/0.3.24~dfsg-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in bitcoin (Ubuntu Precise):
status: Triaged → Fix Committed
tags: added: verification-needed
Changed in bitcoin (Ubuntu Quantal):
status: Triaged → Fix Committed
Revision history for this message
Dave Walker (davewalker) wrote :

Hello Scott, or anyone else affected,

Accepted bitcoin into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/bitcoin/0.6.2.2-1ubuntu1.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote : [bitcoin/precise] verification still needed

The fix for this bug has been awaiting testing feedback in the -proposed repository for precise for more than 90 days. Please test this fix and update the bug appropriately with the results. In the event that the fix for this bug is still not verified 15 days from now, the package will be removed from the -proposed repository.

tags: added: removal-candidate
Revision history for this message
Steve Langasek (vorlon) wrote :

This SRU has remained unverified after 175 days in the -proposed queue. I've removed it now from quantal-proposed and am marking the task 'wontfix'.

The package has already been removed from precise-proposed for the same reason.

Changed in bitcoin (Ubuntu Quantal):
status: Fix Committed → Won't Fix
Changed in bitcoin (Ubuntu Precise):
status: Fix Committed → Won't Fix
Mathew Hodson (mhodson)
tags: removed: verification-needed
tags: removed: removal-candidate
Revision history for this message
Chris J Arges (arges) wrote :

Bitcoin is being removed from the Precise archive: see bug 1314616.
Therefore this bug will 'fix' this task in that one will need to use the supported PPA instead of the Ubuntu archive version.
Marking this fix committed and verification done, as the current package in proposed accomplishes this task.

Changed in bitcoin (Ubuntu Precise):
status: Won't Fix → Fix Committed
tags: added: verification-done
Revision history for this message
Chris J Arges (arges) wrote :
Mathew Hodson (mhodson)
Changed in bitcoin (Ubuntu Oneiric):
importance: Undecided → Medium
Changed in bitcoin (Ubuntu Precise):
status: Fix Committed → Won't Fix
tags: removed: verification-done
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.