[arch-commits] Commit in nss-pam-ldapd/trunk (PKGBUILD nslcd.service)

Johannes Löthberg demize at archlinux.org
Fri Feb 9 16:50:06 UTC 2018


    Date: Friday, February 9, 2018 @ 16:50:05
  Author: demize
Revision: 290472

Run with --nofork

No reason to fork to the background, and systemd 237 broke shit with pidfiles when the path is owned by the service user.
https://github.com/systemd/systemd/issues/8085

Modified:
  nss-pam-ldapd/trunk/PKGBUILD
  nss-pam-ldapd/trunk/nslcd.service

---------------+
 PKGBUILD      |    4 ++--
 nslcd.service |    5 +----
 2 files changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-02-09 16:02:28 UTC (rev 290471)
+++ PKGBUILD	2018-02-09 16:50:05 UTC (rev 290472)
@@ -4,7 +4,7 @@
 
 pkgname=nss-pam-ldapd
 pkgver=0.9.8
-pkgrel=2
+pkgrel=3
 
 pkgdesc='LDAP module for NSS and PAM'
 url="https://arthurdejong.org/nss-pam-ldapd/"
@@ -28,7 +28,7 @@
 
 md5sums=('8c99fdc54f4bf9aca8c5f53fdb1403ff'
          'SKIP'
-         'c2edd35bab384c907eb442c606de856f'
+         'c0d4921737bdbb38924e6774cd1d3bb1'
          'f7a52c4e0eae1a5d525d0e2f374f9114'
          'd78a702ae9e81af03ae0a85a6af4d2f3')
 

Modified: nslcd.service
===================================================================
--- nslcd.service	2018-02-09 16:02:28 UTC (rev 290471)
+++ nslcd.service	2018-02-09 16:50:05 UTC (rev 290472)
@@ -3,10 +3,7 @@
 After=syslog.target network.target
 
 [Service]
-Type=forking
-PIDFile=/var/run/nslcd/nslcd.pid
-ExecStart=/usr/bin/nslcd
+ExecStart=/usr/bin/nslcd --nofork
 
 [Install]
 WantedBy=multi-user.target
-



More information about the arch-commits mailing list