Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715616

Summary: sys-cluster/drbd-utils-9.12.1 version bump, fixes problem with 5.4 series kernel
Product: Gentoo Linux Reporter: Thomas Witzenrath <witzenrath>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: major CC: ahodgson, jstein, lukasz, olli, sfl, tobias.pal, vovan
Priority: Normal Keywords: EBUILD, PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15195
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: new ebuild

Description Thomas Witzenrath 2020-03-31 12:59:24 UTC
As of now stable drbd-utils do not work with the 5.4 series kernel. I simply copied the old ebuild and fixed the download url to get a working new ebuild.

Reproducible: Always

Steps to Reproduce:
1. install new 5.4 series kernel
2. start drbd

Actual Results:  
drbd fails to start

Expected Results:  
drbd works
Comment 1 Thomas Witzenrath 2020-03-31 13:00:19 UTC
Created attachment 627940 [details]
new ebuild
Comment 2 Thomas Witzenrath 2020-03-31 13:01:17 UTC
the file sys-cluster/drbd-utils/files/drbd-utils-8.9.6-sysmacros.patch needs to be copied to sys-cluster/drbd-utils/files/drbd-utils-9.12.1-sysmacros.patch as well
Comment 3 Jonas Stein gentoo-dev 2020-03-31 21:39:18 UTC
Thank you for your contribution. I had a short look on the ebuild. 
Here a few ideas:

* Please test the ebuild with repoman full -d -x https://wiki.gentoo.org/wiki/Repoman and pkgcheck
* We always try to use the latest EAPI, please bump to EAPI=7
  check, if you need eutils afterwards

* Please remove obsolete lines
* please fix the header. (see /usr/portage/skel.ebuild and https://devmanual.gentoo.org/ebuild-writing/eapi/)
* A bot can look for additional mistakes, if you upload a PR via github
Comment 4 Thomas Witzenrath 2020-04-01 10:25:43 UTC
pull request is here: https://github.com/gentoo/gentoo/pull/15195
Comment 5 Larry the Git Cow gentoo-dev 2021-02-17 09:37:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64bd02f1d3e9dbb8300cfb01af795b5ed374ca95

commit 64bd02f1d3e9dbb8300cfb01af795b5ed374ca95
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-17 09:36:34 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-17 09:36:34 +0000

    sys-cluster/drbd-utils: Bump to 9.15.1
    
    Closes: https://bugs.gentoo.org/690298
    Closes: https://bugs.gentoo.org/698304
    Closes: https://bugs.gentoo.org/705614
    Closes: https://bugs.gentoo.org/715616
    Closes: https://bugs.gentoo.org/716810
    Closes: https://bugs.gentoo.org/718818
    Closes: https://bugs.gentoo.org/721110
    Closes: https://bugs.gentoo.org/725750
    Closes: https://bugs.gentoo.org/728166
    
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-cluster/drbd-utils/Manifest                    |   1 +
 sys-cluster/drbd-utils/drbd-utils-9.15.1.ebuild    | 104 +++++++++++++++++++++
 .../files/drbd-utils-9.15.1-run-lock.patch         |  13 +++
 .../files/drbd-utils-9.15.1-sysmacros.patch        |  41 ++++++++
 4 files changed, 159 insertions(+)