Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 900943 - net-nds/openldap: init script modernization
Summary: net-nds/openldap: init script modernization
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo LDAP project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-12 20:28 UTC by Tomáš Mózes
Modified: 2023-04-01 17:05 UTC (History)
2 users (show)

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


Attachments
slapd.initd (slapd.initd,1.48 KB, text/plain)
2023-03-12 20:28 UTC, Tomáš Mózes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomáš Mózes 2023-03-12 20:28:08 UTC
Created attachment 857405 [details]
slapd.initd

Remove direct start-stop-daemon calls, add command/command_args, etc.
Comment 1 Tomáš Mózes 2023-03-12 20:28:53 UTC
This is a wip initd version, once finished I'll open a PR for it. Comments welcome of course.
Comment 2 Joakim Tjernlund 2023-03-14 15:33:15 UTC
command="/usr/lib64/openldap/slapd"

That will probably fail for 32 bit builds
Comment 3 Tomáš Mózes 2023-03-14 17:59:45 UTC
(In reply to Joakim Tjernlund from comment #2)
> command="/usr/lib64/openldap/slapd"
> 
> That will probably fail for 32 bit builds

Yeah, good point. The current init script points to /usr/lib instead.