severity 877002 important
tags 877002 + patch
thanks

This bug is causing issues with autopkgtests for FreedomBox package.
Bumping severity as simple install on a minimal machine fails.

On Wed, 27 Sep 2017 17:32:22 +0200 (CEST) Robert Wolf wrote:
[...]
> 
> 
> Either must nslcd depends on ca-certificates or nslcd.conf should not contain 
> configuration:

It seems reasonable to add ca-certificates as dependency as the initial
configuration for nslcd uses the certificates from the package.

The attached patch adds ca-certificates as dependency. I have tested
that bug is indeed resolved after building nslcd package with change in
dependency.

Please consider uploading a fix for the issue.

Thanks,

-- 
Sunil
From e813e8c1a9c5e1653b7dc88eaf59f2e6b0c2e8c6 Mon Sep 17 00:00:00 2001
From: Sunil Mohan Adapa <su...@medhas.org>
Date: Tue, 8 Jan 2019 16:45:47 -0800
Subject: [PATCH] Change ca-certificates as dependency

Change ca-certificates as dependency instead of recommends since initial
configuration uses certificates.

Closes #877002.

Signed-off-by: Sunil Mohan Adapa <su...@medhas.org>
---
 debian/changelog | 5 +++++
 debian/control   | 5 +++--
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7d551c7..94025e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,12 @@
 nss-pam-ldapd (0.9.10-2) UNRELEASED; urgency=medium
 
+  [ Arthur de Jong ]
   * Fix crash in chsh.ldap (closes: 908319)
 
+  [ Sunil Mohan Adapa ]
+  * Change ca-certificates as dependency instead of recommends since
+    initial configuration uses certificates (closes: #877002).
+
  -- Arthur de Jong <adej...@debian.org>  Sat, 08 Sep 2018 17:43:56 +0200
 
 nss-pam-ldapd (0.9.10-1) unstable; urgency=medium
diff --git a/debian/control b/debian/control
index 76734d7..3abef55 100644
--- a/debian/control
+++ b/debian/control
@@ -16,8 +16,9 @@ Architecture: any
 Multi-Arch: foreign
 Provides: nslcd-2
 Pre-Depends: ${misc:Pre-Depends}, debconf (>= 0.5) | debconf-2.0
-Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, lsb-base (>= 3.0-6)
-Recommends: nscd, ca-certificates,
+Depends: ${misc:Depends}, ${shlibs:Depends}, adduser, lsb-base (>= 3.0-6),
+         ca-certificates
+Recommends: nscd,
             libnss-ldapd | libnss-ldap,
             libpam-ldapd | libpam-ldap | libpam-krb5 | libpam-heimdal | libpam-sss,
             nslcd-utils, ldap-utils, bind9-host | host
-- 
2.20.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to