#1273 SSSD should start before NFS processes
Closed: Fixed None Opened 8 years ago by sgallagh.

https://bugzilla.redhat.com/show_bug.cgi?id=805431 (Red Hat Enterprise Linux 6)

Description of problem:
Top level directory of a nfs export is chowned by a LDAP user, Since ldap user
is not available when nfs mounts are mounted when system boot, all ownership
are mapped to user nobody.

Possible solution is to start SSSD should start prior to rpcidmapd.

$ cat /etc/init.d/rpcidmapd |grep chkconfig
# chkconfig: 345 18 85
$ cat /etc/init.d/sssd |grep chkconfig
# chkconfig: 345 30 80

Version-Release number of selected component (if applicable):
RHEL 6 (All versions)
SSSD (All versions)

How reproducible:

Steps to Reproduce:
1. Configure system to mount a NFSv4 share using fstab.
2. Configure NFS client as a LDAP client using SSSD
3. chown the top level nfs directory to LDAP user

Actual results:
NFS directory owner is nobody after system boot.

Expected results:
NFS directory owner should be LDAP user after system boot.

Additional info:
NSLCD is by default configured to start before rpcidmapd
$ cat /etc/init.d/nslcd |grep chkconfig
# chkconfig: - 12 88

Fields changed

blockedby: =>
blocking: =>
coverity: =>
feature_milestone: =>
owner: somebody => sgallagh
patch: 0 => 1
status: new => assigned
tests: => 0
testsupdated: => 0
upgrade: => 0

Fixed by:
- 964cb56 (master)
- e9f4d35 (sssd-1-8)

resolution: => fixed
status: assigned => closed

Metadata Update from @sgallagh:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.8.2 (LTM)

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/2315

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.