Bug#892730: nslcd: Please add systemd .service file

Laurent Bigonville bigon at debian.org
Mon Mar 12 10:26:44 GMT 2018


Package: nslcd
Version: 0.9.9-1
Severity: normal
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: systemd-units

Hi,

nslcd currently doesn't provides a systemd .service file.

This is a problem as nslcd should order itself with the
nss-lookup.target and/or nss-user-lookup.target (see systemd.special(7)
manpage).

Quickly looking at the initscript, it starts two daemon at once.
Spliting that in two .service file would be a good idea.

If it's not possible, adding a .service file doing
ExecStart/ExecStop=/etc/init.d/nslcd start/stop would be a good
workaround as long as the dependencies and ordering with .targets are OK

Kind regards,

Laurent Bigonville

-- System Information:
Debian Release: buster/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.15.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy

Versions of packages nslcd depends on:
ii  adduser                3.117
ii  debconf [debconf-2.0]  1.5.66
ii  libc6                  2.27-2
ii  libgssapi-krb5-2       1.16-2
ii  libldap-2.4-2          2.4.45+dfsg-1
ii  lsb-base               9.20170808

Versions of packages nslcd recommends:
ii  bind9-host [host]                                             1:9.11.2.P1-1
ii  ca-certificates                                               20170717
pn  ldap-utils                                                    <none>
pn  libnss-ldapd | libnss-ldap                                    <none>
pn  libpam-ldapd | libpam-ldap | libpam-krb5 | libpam-heimdal |   <none>
pn  nscd                                                          <none>
pn  nslcd-utils                                                   <none>

Versions of packages nslcd suggests:
pn  kstart  <none>



More information about the Pkg-systemd-maintainers mailing list