Hehey Zusammen
Also ich probiere meine Probleme so genau wie möglich zu beschrieben, jedoch ist ein Problem, dass in den Logs nicht wirklich was sichtbar ist.
Folgender IST Zustand:
HP ProLiant DL380p G8 mit openSUSE leap 15.2 als KVM Host Server. Ein openSUSE leap 15.2 als Gast system mit openldap2 und nfs Server.
Ich erstelle unter /etc/slapd.d/ files für z.b. new_user.ldif und das sind Posix obejctClass.
Ein beispiel:
-> # cat /etc/openldap/slapd.d/new_user.ldif
dn: uid=tegoth,ou=people,dc=opennode,dc=dev
objectClass: posixAccount
objectClass: shadowAccount
objectClass: inetOrgPerson
cn: soth
sn: tegoth
uid: tegoth
uidNumber: 1666
gidNumber: 100
loginShell: /bin/zsh
userPassword: {SSHA}he00gtpW7Zw1LDzlI4eBajSzO4xZlrah
homeDirectory: /home/tegoth
Alles anzeigen
Ich erstelle ausserdem diesen User genau noch so mit :
Die home directories, sind alle unter /usr/files/home/ und werden per nfs server bereitgestellt, hier die /etc/exports:
Soweit so gut. Bin ich jetzt an einem Arbeitsrechner sehen die files so aus:
NSSWITCH.CONF
-> % cat /etc/nsswitch.conf
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat systemd ldap
group: compat systemd ldap
shadow: compat systemd ldap
gshadow: files
hosts: files mdns4_minimal [NOTFOUND=return] dns myhostname mymachines
networks: files nis
protocols: db files
services: db files
ethers: db files
rpc: db files
Alles anzeigen
/etc/auto.home
-> % cat /etc/auto.home
* -fstype=nfs4,rw,hard,intr,rsize=32768,wsize=32768,async,file_mode=0600,dir_mode=0700 yig:/usr/files/home/&
/etc/auto.master
-> % cat /etc/auto.master
#
# Sample auto.master file
# This is a 'master' automounter map and it has the following format:
# mount-point [map-type[,format]:]map [options]
# For details of the format look at auto.master(5).
#
/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
#/net -hosts
#
# Include /etc/auto.master.d/*.autofs
# To add an extra map using this mechanism you will need to add
# two configuration items - one /etc/auto.master.d/extra.autofs file
# (using the same line format as the auto.master file)
# and a separate mount map (e.g. /etc/auto.extra or an auto.extra NIS map)
# that is referred to by the extra.autofs file.
#
#+dir:/etc/auto.master.d
#
# If you have fedfs set up and the related binaries, either
# built as part of autofs or installed from another package,
# uncomment this line to use the fedfs program map to access
# your fedfs mounts.
#/nfs4 /usr/sbin/fedfs-map-nfs4 nobind
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
#+auto.master
/home /etc/auto.home
Alles anzeigen
Ok, also ich teste und loge mich ein als user: thegoth, es läuft alles. ich habe mein homedir wie soll und es läuft soweit nach ausser tip top.
ABER: 1. Wenn ich einen File-manager wie z.b. thunar öffne, geht es fast 2 minuten bis er sich überhaupt öffnet. Netzwerk wurde aber getestet und läuft wie muss mit, also kein 5Base2 Net. ![]()
Wenn ich z.b. den Atom editor installiere, geht dieser gar nicht auf und crasht immer wieder.
Daedalus (Cardano) lässt sich gar nicht erst installieren, da es ein "error cannot remove attr nfs4_acl_" error gibt.
Wenn ich den fertig installierten, vom backup öffnen will -> crash wegen falschem file-descriptor. Jedoch habe ich die backups gemacht wenn nichts läuft und auch die .lock files entfernt. Ich importieren also wie sonst auch das ganze programm sauber, aber ... crash wegen diesem fehlerhaften FD.
Also nach aussen und soweit nach logs, sieht es gut aus, aber man merkt, dass da iwas gar nicht rund läuft.
Weiss da wer rat, oder wo ich direkt nachschauen kann, wo was falsch eingestellt ist ?
Ich grüsse Euch