Bug 16742 - nslcd fails to start at boot due to trying to start too early
Summary: nslcd fails to start at boot due to trying to start too early
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 5
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: advisory MGA5-32-OK mga5-64-ok
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2015-09-12 00:15 CEST by David Walser
Modified: 2015-09-18 18:19 CEST (History)
1 user (show)

See Also:
Source RPM: nss-pam-ldapd-0.8.14-3.mga5.src.rpm
CVE:
Status comment:


Attachments

Description David Walser 2015-09-12 00:15:59 CEST
Similar to dhcp in Bug 16642, nslcd.service (from nss-pam-ldapd) uses After=network.target, but for some services in Mageia 5, this no longer works correctly, and you have to set it to After=network-online.target, otherwise the service tries to start before the network is up and fails.

For users upgrading from Mageia 4 to Mageia 5, this is a non-obvious and unpleasant surprise, so let's fix this now.

Advisory:
-----------------------------------------

The nslcd service in nss-pam-ldapd was not correctly waiting for the network
to be up before attempting to start, causing it to fail to start at boot time.

-----------------------------------------

Updated packages in core/updates_testing:
-----------------------------------------
nss-pam-ldapd-0.8.14-3.1.mga5

from nss-pam-ldapd-0.8.14-3.1.mga5

Reproducible: 

Steps to Reproduce:
Comment 1 David Walser 2015-09-12 00:17:00 CEST
I can verify that the updated service file fixes the issue on Mageia 5 i586.

Whiteboard: (none) => MGA5-32-OK

Comment 2 claire robinson 2015-09-18 13:24:41 CEST
Testing complete mga5 64

Verified with rpmdiff on madb the only changes in the srpm are bumping sebrel and..

-After=syslog.target network.target
+After=syslog.target network-online.target named.service slapd.service

Ensured the package updates cleanly.

Keywords: (none) => validated_update
Whiteboard: MGA5-32-OK => MGA5-32-OK mga5-64-ok
CC: (none) => sysadmin-bugs

Comment 3 claire robinson 2015-09-18 16:59:20 CEST
Advisory uploaded.

Whiteboard: MGA5-32-OK mga5-64-ok => advisory MGA5-32-OK mga5-64-ok

Comment 4 claire robinson 2015-09-18 18:09:15 CEST
Sorry, forgot to svn ci. Done now :)
Comment 5 Mageia Robot 2015-09-18 18:19:37 CEST
An update for this issue has been pushed to Mageia Updates repository.

http://advisories.mageia.org/MGAA-2015-0130.html

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.