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

Bug 900943

Summary: net-nds/openldap: init script modernization
Product: Gentoo Linux Reporter: Tomáš Mózes <hydrapolic>
Component: Current packagesAssignee: Gentoo LDAP project <ldap-bugs>
Status: CONFIRMED ---    
Severity: normal CC: gentoo, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: slapd.initd

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.