Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828096 - sys-cluster/rdma-core - Improve OpenRC scripts
Summary: sys-cluster/rdma-core - Improve OpenRC scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-03 17:45 UTC by Brian Evans (RETIRED)
Modified: 2021-12-28 02:36 UTC (History)
0 users

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


Attachments
iwpmd.init (iwpmd.init,205 bytes, text/plain)
2021-12-03 17:45 UTC, Brian Evans (RETIRED)
Details
ibacm.init (ibacm.init,205 bytes, text/plain)
2021-12-03 17:46 UTC, Brian Evans (RETIRED)
Details
srpd.init (srpd.init,535 bytes, text/plain)
2021-12-03 17:46 UTC, Brian Evans (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Evans (RETIRED) gentoo-dev 2021-12-03 17:45:20 UTC
The attached scripts update a couple things which effectively is the same as the current model however it follows the modular nature of the declarative syntax.

Replace start_stop_daemon_args with command_background
Comment 1 Brian Evans (RETIRED) gentoo-dev 2021-12-03 17:45:53 UTC
Created attachment 757338 [details]
iwpmd.init

Update iwpmd script

Signed-off-by: Brian Evans <grknight@gentoo.org>
Comment 2 Brian Evans (RETIRED) gentoo-dev 2021-12-03 17:46:24 UTC
Created attachment 757339 [details]
ibacm.init

Update script

Signed-off-by: Brian Evans <grknight@gentoo.org>
Comment 3 Brian Evans (RETIRED) gentoo-dev 2021-12-03 17:46:42 UTC
Created attachment 757340 [details]
srpd.init

Update srpd script

Signed-off-by: Brian Evans <grknight@gentoo.org>
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2021-12-25 10:36:34 UTC
@Brian, feel free to commit it as I have little clue what openrc changes makes sense these days.
Comment 5 Larry the Git Cow gentoo-dev 2021-12-28 02:36:49 UTC
The bug has been closed via the following commit(s):

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

commit e37e57699e0765d4a2d33e2a445c008cec7119bd
Author:     Brian Evans <grknight@gentoo.org>
AuthorDate: 2021-12-28 01:31:38 +0000
Commit:     Brian Evans <grknight@gentoo.org>
CommitDate: 2021-12-28 02:36:40 +0000

    sys-cluster/rdma-core: Improve OpenRC script variables
    
    Use command_background to allow for portablility instead of using
    start_stop_daemon_args.  This enables users to leverage supervise-daemon.
    
    The changed setting has no effect for working installs.  Fine to wait on new
    builds.
    
    Closes: https://bugs.gentoo.org/828096
    Signed-off-by: Brian Evans <grknight@gentoo.org>

 sys-cluster/rdma-core/files/ibacm.init | 4 ++--
 sys-cluster/rdma-core/files/iwpmd.init | 4 ++--
 sys-cluster/rdma-core/files/srpd.init  | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)