Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654756 - =sys-block/targetcli-fb-2.1.48: targetcli crashes when creating a block-based backstore
Summary: =sys-block/targetcli-fb-2.1.48: targetcli crashes when creating a block-based...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Diogo Pereira
URL: https://github.com/open-iscsi/targetc...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 655542
  Show dependency tree
 
Reported: 2018-05-03 19:17 UTC by Dyweni
Modified: 2018-05-14 13:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dyweni 2018-05-03 19:17:57 UTC
Upstream bug:

https://bugzilla.redhat.com/show_bug.cgi?id=1569666


Upstream fix:

https://github.com/open-iscsi/targetcli-fb/commit/ed5ff9b9505e50b545e86dfbdd32077f0ddda0cb




Can we get this specific fix added?

The problem does not occur if running 'targetcli' via the python2 package (only the python3 package).
Comment 1 Larry the Git Cow gentoo-dev 2018-05-14 13:53:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97bf3ffb0f4e0ae46d041e4f288e982654f1f8c2

commit 97bf3ffb0f4e0ae46d041e4f288e982654f1f8c2
Author:     Diogo Pereira <sir.suriv@gmail.com>
AuthorDate: 2018-05-14 01:21:20 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-14 13:53:33 +0000

    sys-block/targetcli-fb: fix python3 compatibility
    
    Fix a crash under python3 when creating a block-based backstore.
    
    Closes: https://bugs.gentoo.org/654756
    Closes: https://github.com/gentoo/gentoo/pull/8393
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../files/targetcli-fb-2.1.48-python3.patch        | 23 ++++++++++++++
 .../targetcli-fb/targetcli-fb-2.1.48-r2.ebuild     | 36 ++++++++++++++++++++++
 2 files changed, 59 insertions(+)