Bug 28757 - NFS Berechtigungen / IDMAP per UCR setzen
NFS Berechtigungen / IDMAP per UCR setzen
Status: RESOLVED DUPLICATE of bug 21556
Product: UCS
Classification: Unclassified
Component: NFS
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 3.x
Assigned To: UCS maintainers
:
Depends on: 28500
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-15 08:29 CEST by Stefan Gohmann
Modified: 2018-04-14 13:52 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-10-15 08:29:14 CEST
Im Template /etc/default/nfs-common sollten die folgenden Eigenschaften per UCR gesetzt werden können:
NEED_LOCKD=
NEED_IDMAPD=
NEED_GSSD=


+++ This bug was initially created as a clone of Bug #28500 +++

Im Rahmen der QA von Bug #20634 aufgefallen.


root@master131:~# grep test2 /etc/exports 
"/mnt/test2"  *(rw,no_root_squash,sync,no_subtree_check)
root@master131:~# ls -la /mnt/test2/
total 8
drwxr-xr-x 2 root root 4096 Sep 12 07:03 .
drwxr-xr-x 4 root root 4096 Sep 12 07:01 ..
-rw-r--r-- 1 root root    0 Sep 12 07:03 bar
-rw-r--r-- 1 root root    0 Sep 12 07:03 foo
root@master131:~# 

root@slave133:/mnt/test2# mount | tail -1
10.201.13.1:/mnt/test2 on /mnt/test2 type nfs
(rw,vers=4,addr=10.201.13.1,clientaddr=10.201.13.3)
root@slave133:/mnt/test2# ls -la /mnt/test2
total 8
drwxr-xr-x 2 4294967294 4294967294 4096 Sep 12 07:03 .
drwxr-xr-x 4 root       root       4096 Sep 12 07:01 ..
-rw-r--r-- 1 4294967294 4294967294    0 Sep 12 07:03 bar
-rw-r--r-- 1 4294967294 4294967294    0 Sep 12 07:03 foo
root@slave133:/mnt/test2# 

Aus Server dmesg:
[20012.157909] svc: failed to register lockdv1 RPC service (errno 97).
[20012.157940] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery
directory
[20012.157961] NFSD: starting 90-second grace period
Comment 1 Stefan Gohmann univentionstaff 2017-06-16 20:37:07 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 2 Philipp Hahn univentionstaff 2017-07-28 16:08:33 CEST
(In reply to Stefan Gohmann from comment #0)
> Im Template /etc/default/nfs-common sollten die folgenden Eigenschaften per
> UCR gesetzt werden können:
> NEED_LOCKD=
deprecated

> NEED_IDMAPD=
→ UCRV nfs/common/idmapd

> NEED_GSSD=
→ UCRV nfs/common/gssd

*** This bug has been marked as a duplicate of bug 21556 ***