Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834502 - sys-cluster/glusterfs: provide systemd service file
Summary: sys-cluster/glusterfs: provide systemd service file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-03-03 01:35 UTC by Yachen Wang
Modified: 2022-03-04 09:55 UTC (History)
4 users (show)

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


Attachments
ebuild patch (file_834502.txt,533 bytes, text/plain)
2022-03-03 01:35 UTC, Yachen Wang
Details
ebuild unified diff (file_834502.txt,1.24 KB, text/plain)
2022-03-04 03:13 UTC, Yachen Wang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yachen Wang 2022-03-03 01:35:56 UTC
Created attachment 766169 [details]
ebuild patch

sys-cluster/glusterfs does not install systemd service files.
I have use this patch to make glusterfs supporting systemd, tested on 8.6 and 9.4.
Comment 1 Jaco Kroon 2022-03-03 22:05:37 UTC
(In reply to Yachen Wang from comment #0)
> Created attachment 766169 [details]
> ebuild patch
> 
> sys-cluster/glusterfs does not install systemd service files.
> I have use this patch to make glusterfs supporting systemd, tested on 8.6
> and 9.4.

Would you mind posting that as a unified diff please?

-u to diff.

Appreciate the contribution.
Comment 2 Yachen Wang 2022-03-04 03:13:53 UTC
Created attachment 766200 [details]
ebuild unified diff
Comment 3 Yachen Wang 2022-03-04 03:14:27 UTC
(In reply to Jaco Kroon from comment #1)
> (In reply to Yachen Wang from comment #0)
> > Created attachment 766169 [details]
> > ebuild patch
> > 
> > sys-cluster/glusterfs does not install systemd service files.
> > I have use this patch to make glusterfs supporting systemd, tested on 8.6
> > and 9.4.
> 
> Would you mind posting that as a unified diff please?
> 
> -u to diff.
> 
> Appreciate the contribution.

Done
Comment 4 Larry the Git Cow gentoo-dev 2022-03-04 09:33:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20a6555584c15ee0c3e2c852c6a84cd3738f65dd

commit 20a6555584c15ee0c3e2c852c6a84cd3738f65dd
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2022-03-04 09:02:16 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2022-03-04 09:32:36 +0000

    sys-cluster/glusterfs: systemd support.
    
    Closes: https://bugs.gentoo.org/834502
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/gentoo/pull/24401
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 .../glusterfs/{glusterfs-10.1.ebuild => glusterfs-10.1-r1.ebuild}     | 4 +++-
 .../glusterfs/{glusterfs-8.6.ebuild => glusterfs-8.6-r1.ebuild}       | 4 +++-
 .../glusterfs/{glusterfs-9.4.ebuild => glusterfs-9.4-r1.ebuild}       | 4 +++-
 .../glusterfs/{glusterfs-9.5.ebuild => glusterfs-9.5-r1.ebuild}       | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)
Comment 5 Jaco Kroon 2022-03-04 09:55:33 UTC
As per policy these files are installed unconditionally, if anyone really don't want them, they can use INSTALL_MASK to filter them out.