lliurex / home-linker

Application to mount samba shared dirs on user login
0 stars 0 forks source link

Error en clientes al pasar de un modelo de centro sin carpetas montadas a otro con /net montado del maestro #1

Open Canx opened 3 years ago

Canx commented 3 years ago

Hola,

en un esclavo, si parto de un modelo de centro donde en el Wizard la carpeta /net no está enlazada con el maestro, y luego intento reconfigurar con el wizard a la opción con /net enlazado en el master, este script da problemas y el cliente se queda con pantalla en negro al autenticar.

En el "/var/log/syslog" se ve que hay problemas al crear las carpetas montadas si antes se habían creado por el mismo usuario pero sin montar:

Oct 3 14:23:44 client1 sddm-helper[1317]: [PAM] Starting... Oct 3 14:23:44 client1 sddm-helper[1317]: [PAM] Authenticating... Oct 3 14:23:45 client1 sddm-helper[1317]: [PAM] Preparing to converse... Oct 3 14:23:45 client1 sddm-helper[1317]: [PAM] Conversation with 1 messages Oct 3 14:23:45 client1 sddm-helper[1317]: [PAM] returning. Oct 3 14:23:45 client1 sddm[663]: Authenticated successfully Oct 3 14:23:45 client1 sddm-greeter[942]: Message received from daemon: LoginSucceeded Oct 3 14:23:45 client1 kernel: [ 26.446616] FS-Cache: Loaded Oct 3 14:23:45 client1 sddm-helper[839]: [PAM] Closing session Oct 3 14:23:45 client1 kernel: [ 26.539794] FS-Cache: Netfs 'cifs' registered for caching Oct 3 14:23:45 client1 sddm-helper[839]: [PAM] Ended. Oct 3 14:23:45 client1 systemd[1]: Stopping Session 1 of user sddm. Oct 3 14:23:45 client1 systemd[1]: session-1.scope: Succeeded. Oct 3 14:23:45 client1 systemd[1]: Stopped Session 1 of user sddm. Oct 3 14:23:45 client1 sddm[663]: Auth: sddm-helper exited successfully Oct 3 14:23:45 client1 sddm[663]: Greeter stopped. Oct 3 14:23:45 client1 kernel: [ 26.585795] Key type cifs.spnego registered Oct 3 14:23:45 client1 kernel: [ 26.585805] Key type cifs.idmap registered Oct 3 14:23:45 client1 kernel: [ 26.586283] CIFS: Attempting to mount //10.2.1.254/home Oct 3 14:23:45 client1 kernel: [ 26.586306] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. Oct 3 14:23:45 client1 kernel: [ 26.782543] CIFS: Attempting to mount //10.2.1.254/share Oct 3 14:23:45 client1 kernel: [ 26.782566] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. Oct 3 14:23:45 client1 kernel: [ 26.902255] CIFS: Attempting to mount //10.2.1.254/share_teachers Oct 3 14:23:45 client1 kernel: [ 26.902278] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. Oct 3 14:23:45 client1 kernel: [ 27.018126] CIFS: Attempting to mount //10.2.1.254/groups_share Oct 3 14:23:45 client1 kernel: [ 27.018161] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount. Oct 3 14:23:45 client1 systemd[1]: Created slice User Slice of UID 5001. Oct 3 14:23:45 client1 systemd[1]: Starting User Runtime Directory /run/user/5001... Oct 3 14:23:45 client1 systemd[1]: Finished User Runtime Directory /run/user/5001. Oct 3 14:23:45 client1 systemd[1]: Starting User Manager for UID 5001... Oct 3 14:23:46 client1 systemd[1370]: Reached target Paths. Oct 3 14:23:46 client1 systemd[1370]: Reached target Timers. Oct 3 14:23:46 client1 systemd[1370]: Starting D-Bus User Message Bus Socket. Oct 3 14:23:46 client1 systemd[1370]: Listening on GnuPG network certificate management daemon. Oct 3 14:23:46 client1 systemd[1370]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers). Oct 3 14:23:46 client1 systemd[1370]: Listening on GnuPG cryptographic agent and passphrase cache (restricted). Oct 3 14:23:46 client1 systemd[1370]: Listening on GnuPG cryptographic agent (ssh-agent emulation). Oct 3 14:23:46 client1 systemd[1370]: Listening on GnuPG cryptographic agent and passphrase cache. Oct 3 14:23:46 client1 systemd[1370]: Listening on Multimedia System. Oct 3 14:23:46 client1 systemd[1370]: Listening on debconf communication socket. Oct 3 14:23:46 client1 systemd[1370]: Listening on Sound System. Oct 3 14:23:46 client1 systemd[1370]: Listening on REST API socket for snapd user session agent. Oct 3 14:23:46 client1 systemd[1370]: Listening on D-Bus User Message Bus Socket. Oct 3 14:23:46 client1 systemd[1370]: Reached target Sockets. Oct 3 14:23:46 client1 systemd[1370]: Reached target Basic System. Oct 3 14:23:46 client1 systemd[1]: Started User Manager for UID 5001. Oct 3 14:23:46 client1 systemd[1]: Started Session 3 of user rubcan. Oct 3 14:23:46 client1 systemd[1370]: Condition check resulted in Deletes guest files after logout being skipped. Oct 3 14:23:46 client1 systemd[1370]: Starting Sound Service... Oct 3 14:23:46 client1 systemd[1370]: Starting Umount user mount points... Oct 3 14:23:46 client1 systemd[1370]: Finished Umount user mount points. Oct 3 14:23:46 client1 sddm[1384]: + /usr/sbin/home-linker rubcan Oct 3 14:23:46 client1 sddm[1385]: + echo Oct 3 14:23:46 client1 sddm[1385]: + LOG=/var/log/home_linker.log Oct 3 14:23:46 client1 sddm[1385]: + echo Oct 3 14:23:46 client1 sddm[1385]: + echo ** Oct 3 14:23:46 client1 sddm[1385]: + echo WELLCOME TO HOME-LINKER LOG Oct 3 14:23:46 client1 sddm[1385]: + echo Oct 3 14:23:46 client1 sddm[1385]: + date Oct 3 14:23:46 client1 sddm[1385]: + echo ** Oct 3 14:23:46 client1 sddm[1385]: + echo Oct 3 14:23:46 client1 sddm[1385]: + echo Username -> rubcan Oct 3 14:23:46 client1 sddm[1387]: + n4d-vars getvalues SRV_LITE_MODE Oct 3 14:23:46 client1 pulseaudio[1380]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/rubcan/.config/pulse//daemon.conf': S’ha denegat el permís Oct 3 14:23:46 client1 pulseaudio[1380]: W: [pulseaudio] daemon-conf.c: Error en obrir el fitxer de configuració: S’ha denegat el permís Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:46 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:46 client1 systemd[1370]: Reached target Main User Target. Oct 3 14:23:46 client1 systemd[1370]: Startup finished in 256ms. Oct 3 14:23:46 client1 sddm[1385]: + eval SRV_LITE_MODE='False' Oct 3 14:23:46 client1 sddm[1385]: + SRV_LITE_MODE=False Oct 3 14:23:46 client1 sddm[1385]: + OVERRIDE_FILE=/etc/classroom-servermode-override Oct 3 14:23:46 client1 sddm[1385]: + [ -e /etc/classroom-servermode-override ] Oct 3 14:23:46 client1 sddm[1385]: + [ False = True ] Oct 3 14:23:46 client1 sddm[1385]: + USER=rubcan Oct 3 14:23:46 client1 sddm[1390]: + trim rubcan Oct 3 14:23:46 client1 sddm[1390]: + local var=rubcan Oct 3 14:23:46 client1 sddm[1390]: + var=rubcan Oct 3 14:23:46 client1 sddm[1390]: + var=rubcan Oct 3 14:23:46 client1 sddm[1390]: + echo -n rubcan Oct 3 14:23:46 client1 sddm[1385]: + HL_USER=rubcan Oct 3 14:23:46 client1 sddm[1391]: + id -ng rubcan Oct 3 14:23:46 client1 sddm[1385]: + GRP_USER=teachers Oct 3 14:23:46 client1 sddm[1385]: + [ ! -z ] Oct 3 14:23:46 client1 sddm[1392]: + python3 -c Oct 3 14:23:46 client1 sddm[1392]: tmp='/home/rubcan'.split('/') Oct 3 14:23:46 client1 sddm[1392]: last=tmp[-1] Oct 3 14:23:46 client1 sddm[1392]: print('/'.join(tmp[:-1])+'/'+last.strip()) Oct 3 14:23:46 client1 sddm[1385]: + NHOME=/home/rubcan Oct 3 14:23:46 client1 sddm[1385]: + HL_HOME=/home/rubcan Oct 3 14:23:46 client1 sddm[1385]: + echo Group -> teachers Oct 3 14:23:46 client1 sddm[1385]: + [ -e /run/rubcan/home/teachers/rubcan/Documents ] Oct 3 14:23:46 client1 sddm[1385]: + LOCALEPATH=/run/rubcan/home/teachers/rubcan/Documents Oct 3 14:23:46 client1 sddm[1385]: + PATHBASEPLASMALOCALE=/run/rubcan/home/teachers/rubcan/Documents/.moving_profiles Oct 3 14:23:46 client1 sddm[1385]: + PLASMALOCALE=/run/rubcan/home/teachers/rubcan/Documents/.moving_profiles/.config/plasma-localerc Oct 3 14:23:46 client1 sddm[1385]: + locale-fixer -f /run/rubcan/home/teachers/rubcan/Documents/.moving_profiles Oct 3 14:23:46 client1 sddm[1385]: + [ -e /run/rubcan/home/teachers/rubcan/Documents/.moving_profiles/.config/plasma-localerc ] Oct 3 14:23:46 client1 sddm[1385]: + grep -P ^\w.* /etc/default/locale Oct 3 14:23:46 client1 sddm[1385]: + echo LANG=en Oct 3 14:23:46 client1 sddm[1396]: + awk {split($0,a,"="); listvars[a[1]]=a[2];}END{for (key in listvars) {print key"="listvars[key]}} Oct 3 14:23:46 client1 sddm[1395]: + tac /run/locale_homelinker_temp Oct 3 14:23:46 client1 sddm[1385]: + rm /run/locale_homelinker_temp Oct 3 14:23:46 client1 sddm[1385]: + . /run/locale_homelinker Oct 3 14:23:46 client1 sddm[1385]: + LC_TIME=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_MONETARY=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_NAME=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_ADDRESS=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LANG=ca_ES.UTF-8@valencia Oct 3 14:23:46 client1 sddm[1385]: + LC_MEASUREMENT=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_NUMERIC=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_TELEPHONE=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_PAPER=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + LC_IDENTIFICATION=ca_ES.UTF-8 Oct 3 14:23:46 client1 sddm[1385]: + AUX_LANG=ca_ES.UTF-8@valencia Oct 3 14:23:46 client1 sddm[1385]: + USER_DIRS=/home/rubcan/.config/user-dirs.dirs Oct 3 14:23:46 client1 sddm[1385]: + [ ! -r /home/rubcan/.config/user-dirs.dirs ] Oct 3 14:23:46 client1 sddm[1385]: + . /home/rubcan/.config/user-dirs.dirs Oct 3 14:23:46 client1 sddm[1385]: + XDG_DESKTOP_DIR=/home/rubcan/Escriptori Oct 3 14:23:46 client1 sddm[1385]: + XDG_DOWNLOAD_DIR=/home/rubcan/Baixades Oct 3 14:23:46 client1 sddm[1385]: + XDG_DOCUMENTS_DIR=/home/rubcan/Documents Oct 3 14:23:46 client1 sddm[1385]: + LAST_LOGIN_DIRECTORIES=/home/rubcan/.config/user-dirs.created Oct 3 14:23:46 client1 sddm[1385]: + [ ! -r /home/rubcan/.config/user-dirs.created ] Oct 3 14:23:46 client1 sddm[1385]: + . /home/rubcan/.config/user-dirs.created Oct 3 14:23:46 client1 sddm[1385]: + TOKEN_DESKTOP=Escriptori Oct 3 14:23:46 client1 sddm[1385]: + TOKEN_DOCUMENTS=Documents Oct 3 14:23:46 client1 sddm[1385]: + TOKEN_DOWNLOADS=Baixades Oct 3 14:23:46 client1 sddm[1385]: + TOKEN_GROUPSSHARE=Compartit_de_grups Oct 3 14:23:46 client1 sddm[1385]: + [ -d /home/rubcan ] Oct 3 14:23:46 client1 sddm[1385]: + [ -d /home/rubcan/.config ] Oct 3 14:23:46 client1 sddm[1385]: + TEMP_NEW_USER_DIRS=/home/rubcan/.config/aux-user-dirs.create Oct 3 14:23:46 client1 sddm[1385]: + : Oct 3 14:23:46 client1 sddm[1385]: + get_acl_from_server /home/rubcan teachers rubcan Oct 3 14:23:46 client1 INFO util (MainThread) process shutting down Oct 3 14:23:46 client1 systemd[1]: lliurex-statistics.service: Succeeded. Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Scheduled restart job, restart counter is at 1. Oct 3 14:23:46 client1 systemd[1370]: Stopped Sound Service. Oct 3 14:23:46 client1 systemd[1370]: Starting Sound Service... Oct 3 14:23:46 client1 sddm[1400]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Downloads Oct 3 14:23:46 client1 pulseaudio[1399]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/rubcan/.config/pulse//daemon.conf': S’ha denegat el permís Oct 3 14:23:46 client1 pulseaudio[1399]: W: [pulseaudio] daemon-conf.c: Error en obrir el fitxer de configuració: S’ha denegat el permís Oct 3 14:23:46 client1 systemd[1]: lliurex-statistics.service: Scheduled restart job, restart counter is at 3. Oct 3 14:23:46 client1 systemd[1]: Stopped Lliurex statistics collector agent. Oct 3 14:23:46 client1 systemd[1]: Starting Lliurex statistics collector agent... Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:46 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:46 client1 sddm[1385]: + DOWNLOADS_LOCALE=Baixades Oct 3 14:23:46 client1 sddm[1403]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Desktop Oct 3 14:23:46 client1 sddm[1385]: + DESKTOP_LOCALE=Escriptori Oct 3 14:23:46 client1 sddm[1404]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Documents Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Scheduled restart job, restart counter is at 2. Oct 3 14:23:46 client1 systemd[1370]: Stopped Sound Service. Oct 3 14:23:46 client1 systemd[1370]: Starting Sound Service... Oct 3 14:23:46 client1 pulseaudio[1405]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/rubcan/.config/pulse//daemon.conf': S’ha denegat el permís Oct 3 14:23:46 client1 pulseaudio[1405]: W: [pulseaudio] daemon-conf.c: Error en obrir el fitxer de configuració: S’ha denegat el permís Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Oct 3 14:23:46 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:46 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:46 client1 sddm[1385]: + DOCUMENTS_LOCALE=Documents Oct 3 14:23:46 client1 sddm[1406]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Share Oct 3 14:23:47 client1 sddm[1385]: + SHARE_LOCALE=Compartit Oct 3 14:23:47 client1 sddm[1407]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Teachers_Share Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Scheduled restart job, restart counter is at 3. Oct 3 14:23:47 client1 systemd[1370]: Stopped Sound Service. Oct 3 14:23:47 client1 systemd[1370]: Starting Sound Service... Oct 3 14:23:47 client1 sddm[1385]: + SHARETEACHERS_LOCALE=Professorat Oct 3 14:23:47 client1 sddm[1409]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Groups_Share Oct 3 14:23:47 client1 pulseaudio[1408]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/rubcan/.config/pulse//daemon.conf': S’ha denegat el permís Oct 3 14:23:47 client1 pulseaudio[1408]: W: [pulseaudio] daemon-conf.c: Error en obrir el fitxer de configuració: S’ha denegat el permís Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:47 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:47 client1 analytics[1402]: set_loglevel to info, explicitly False, debug is False, default mode True Oct 3 14:23:47 client1 sddm[1385]: + GROUPSSHARE_LOCALE=Compartit_de_grups Oct 3 14:23:47 client1 sddm[1411]: + LANG=ca_ES.UTF-8@valencia LANGUAGE= /usr/bin/xdg_translator Data_Alum Oct 3 14:23:47 client1 sddm[1385]: + DATA_ALUM=Dades_Alumnes Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Escriptori ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Baixades ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Documents ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Compartit ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Professorat ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Compartit_de_grups ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z Dades_Alumnes ] Oct 3 14:23:47 client1 sddm[1385]: + NEEDLE=Escriptori|Documents|Compartit|Professorat|Compartit_de_grups|Dades_Alumnes Oct 3 14:23:47 client1 sddm[1416]: + grep -E Escriptori|Documents|Compartit|Professorat|Compartit_de_grups|Dades_Alumnes Oct 3 14:23:47 client1 sddm[1415]: + awk -F on /rubcan/{print $2 } Oct 3 14:23:47 client1 sddm[1414]: + mount Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Scheduled restart job, restart counter is at 4. Oct 3 14:23:47 client1 systemd[1370]: Stopped Sound Service. Oct 3 14:23:47 client1 systemd[1370]: Starting Sound Service... Oct 3 14:23:47 client1 sddm[1385]: + LIST_BIND_MOUNTED= Oct 3 14:23:47 client1 sddm[1385]: + echo Oct 3 14:23:47 client1 sddm[1385]: + echo LIST MOUNTED POINTS AT LOGIN Oct 3 14:23:47 client1 sddm[1385]: + echo --------------------------------------- Oct 3 14:23:47 client1 sddm[1385]: + echo Oct 3 14:23:47 client1 sddm[1385]: + echo ___ Oct 3 14:23:47 client1 sddm[1385]: + echo Oct 3 14:23:47 client1 sddm[1385]: + [ Escriptori != Escriptori ] Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Escriptori ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Escriptori Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_DESKTOP="Escriptori" Oct 3 14:23:47 client1 sddm[1385]: + [ Documents != Documents ] Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Documents ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Documents Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_DOCUMENTS="Documents" Oct 3 14:23:47 client1 sddm[1385]: + [ Baixades != Baixades ] Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Baixades ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Baixades Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_DOWNLOADS="Baixades" Oct 3 14:23:47 client1 sddm[1385]: + [ -d /run/rubcan/home -o -d /net/server-sync/home/ ] Oct 3 14:23:47 client1 sddm[1385]: + [ != Compartit ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z -a -e /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + mkdir /home/rubcan/Compartit Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Compartit ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Compartit Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_SHARE="Compartit" Oct 3 14:23:47 client1 sddm[1385]: + [ teachers = teachers ] Oct 3 14:23:47 client1 sddm[1385]: + [ != Professorat ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z -a -e /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + mkdir /home/rubcan/Professorat Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Professorat ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Professorat Oct 3 14:23:47 client1 pulseaudio[1417]: W: [pulseaudio] core-util.c: Failed to open configuration file '/home/rubcan/.config/pulse//daemon.conf': S’ha denegat el permís Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_SHARETEACHERS="Professorat" Oct 3 14:23:47 client1 sddm[1385]: + [ != Dades_Alumnes ] Oct 3 14:23:47 client1 sddm[1385]: + [ ! -z -a -e /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + mkdir /home/rubcan/Dades_Alumnes Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Dades_Alumnes ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Dades_Alumnes Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_DATA_ALUM="Dades_Alumnes" Oct 3 14:23:47 client1 sddm[1385]: + [ Compartit_de_grups != Compartit_de_grups ] Oct 3 14:23:47 client1 sddm[1385]: + [ -L /home/rubcan/Compartit_de_grups ] Oct 3 14:23:47 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/Compartit_de_grups Oct 3 14:23:47 client1 sddm[1385]: + echo TOKEN_GROUPSSHARE="Compartit_de_grups" Oct 3 14:23:47 client1 sddm[1385]: + fix_owner_home /home/rubcan teachers rubcan Oct 3 14:23:47 client1 pulseaudio[1417]: W: [pulseaudio] daemon-conf.c: Error en obrir el fitxer de configuració: S’ha denegat el permís Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:47 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:47 client1 sddm[1385]: + [ -d /net/server-sync/home/teachers/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + [ -d /var/run/rubcan/home ] Oct 3 14:23:47 client1 sddm[1385]: + echo FATCLIENTS TO MOUNT Oct 3 14:23:47 client1 sddm[1385]: + echo ---------------------- Oct 3 14:23:47 client1 sddm[1385]: + [ False != True ] Oct 3 14:23:47 client1 sddm[1385]: + echo MOUNTING Escriptori Oct 3 14:23:47 client1 sddm[1385]: + [ Escriptori = ] Oct 3 14:23:47 client1 sddm[1385]: + mount --bind /run/rubcan/home/teachers/rubcan/Desktop /home/rubcan/Escriptori Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Scheduled restart job, restart counter is at 5. Oct 3 14:23:47 client1 systemd[1370]: Stopped Sound Service. Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Start request repeated too quickly. Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.service: Failed with result 'exit-code'. Oct 3 14:23:47 client1 systemd[1370]: Failed to start Sound Service. Oct 3 14:23:47 client1 systemd[1370]: pulseaudio.socket: Failed with result 'service-start-limit-hit'. Oct 3 14:23:47 client1 sddm[1385]: + echo MOUNTING Documents Oct 3 14:23:47 client1 sddm[1385]: + [ Documents = ] Oct 3 14:23:47 client1 sddm[1385]: + mount --bind /run/rubcan/home/teachers/rubcan/Documents /home/rubcan/Documents Oct 3 14:23:47 client1 sddm[1385]: + echo MOUNTING Compartit Oct 3 14:23:47 client1 sddm[1385]: + [ Compartit = ] Oct 3 14:23:47 client1 sddm[1385]: + mount --bind /run/rubcan/share /home/rubcan/Compartit Oct 3 14:23:47 client1 sddm[1385]: + [ teachers = teachers ] Oct 3 14:23:47 client1 sddm[1454]: + /usr/bin/xdg_translator es_ES.UTF-8 Teachers_Share Oct 3 14:23:47 client1 sddm[1385]: + SHARETEACHERS_LOCALE_ERASE= Oct 3 14:23:47 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:47 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:47 client1 sddm[1459]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:47 client1 sddm[1460]: + /usr/bin/xdg_translator ca_ES.UTF-8@Valencia Teachers_Share Oct 3 14:23:47 client1 analytics[1402]: set_loglevel to info, explicitly False, debug is False, default mode True Oct 3 14:23:47 client1 sddm[1385]: + SHARETEACHERS_LOCALE_ERASE= Oct 3 14:23:47 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:47 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:47 client1 sddm[1463]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:47 client1 sddm[1464]: + /usr/bin/xdg_translator ca_ES.UTF-8@valencia Teachers_Share Oct 3 14:23:47 client1 sddm[1385]: + SHARETEACHERS_LOCALE_ERASE= Oct 3 14:23:47 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:47 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:47 client1 sddm[1465]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:47 client1 sddm[1466]: + /usr/bin/xdg_translator en Teachers_Share Oct 3 14:23:47 client1 sddm[1385]: + SHARETEACHERS_LOCALE_ERASE= Oct 3 14:23:47 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:47 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:47 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:47 client1 sddm[1467]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:47 client1 sddm[1468]: + /usr/bin/xdg_translator es_ES.UTF-8 Data_Alum Oct 3 14:23:48 client1 sddm[1385]: + DATA_ALUM_ERASE= Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:48 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:48 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:48 client1 sddm[1469]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:48 client1 sddm[1470]: + /usr/bin/xdg_translator ca_ES.UTF-8@Valencia Data_Alum Oct 3 14:23:48 client1 sddm[1385]: + DATA_ALUM_ERASE= Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:48 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:48 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:48 client1 sddm[1471]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:48 client1 sddm[1472]: + /usr/bin/xdg_translator ca_ES.UTF-8@valencia Data_Alum Oct 3 14:23:48 client1 sddm[1385]: + DATA_ALUM_ERASE= Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:48 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:48 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:48 client1 sddm[1473]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:48 client1 sddm[1474]: + /usr/bin/xdg_translator en Data_Alum Oct 3 14:23:48 client1 sddm[1385]: + DATA_ALUM_ERASE= Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/ ] Oct 3 14:23:48 client1 sddm[1385]: + echo Borrando /home/rubcan/ Oct 3 14:23:48 client1 sddm[1385]: + rm -d /home/rubcan/ Oct 3 14:23:48 client1 sddm[1475]: rm: no s’ha pogut eliminar '/home/rubcan/': El directori no és buit Oct 3 14:23:48 client1 sddm[1385]: + echo MOUNTING Professorat Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/Professorat ] Oct 3 14:23:48 client1 sddm[1385]: + [ Professorat = ] Oct 3 14:23:48 client1 sddm[1385]: + mount --bind /run/rubcan/teachers_share /home/rubcan/Professorat Oct 3 14:23:48 client1 sddm[1385]: + [ -d /home/rubcan/Dades_Alumnes ] Oct 3 14:23:48 client1 sddm[1385]: + [ Dades_Alumnes = ] Oct 3 14:23:48 client1 sddm[1385]: + mount --bind /run/rubcan/home/students /home/rubcan/Dades_Alumnes Oct 3 14:23:48 client1 sddm[1385]: + echo MOUNTING Compartit_de_grups Oct 3 14:23:48 client1 sddm[1385]: + [ Compartit_de_grups = ] Oct 3 14:23:48 client1 sddm[1385]: + mount --bind /run/rubcan/groups_share /home/rubcan/Compartit_de_grups Oct 3 14:23:48 client1 sddm[1385]: + mv /home/rubcan/.config/aux-user-dirs.create /home/rubcan/.config/user-dirs.created Oct 3 14:23:48 client1 sddm[1385]: + cat Oct 3 14:23:48 client1 sddm[1385]: + chmod 600 /home/rubcan/.config/user-dirs.dirs Oct 3 14:23:48 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/.config/user-dirs.dirs Oct 3 14:23:48 client1 sddm[1385]: + chown rubcan:teachers /home/rubcan/.config/user-dirs.created Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + echo ** MOUNT SCRIPT FINISHED - SUMMARY Oct 3 14:23:48 client1 sddm[1385]: + echo -------------------------------------------- Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + echo LANG IS ca_ES.UTF-8@valencia Oct 3 14:23:48 client1 sddm[1385]: + echo LANGUAGE IS Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + echo Las variables a tener en cuenta son: Oct 3 14:23:48 client1 sddm[1385]: + echo $HL_USER -> rubcan Oct 3 14:23:48 client1 sddm[1385]: + echo $HL_HOME -> /home/rubcan Oct 3 14:23:48 client1 sddm[1385]: + echo $HOME -> /home/rubcan Oct 3 14:23:48 client1 sddm[1385]: + echo $DESKTOP_LOCALE -> Escriptori Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + cat /home/rubcan/.config/user-dirs.created Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + cat /home/rubcan/.config/user-dirs.dirs Oct 3 14:23:48 client1 sddm[1385]: + echo Oct 3 14:23:48 client1 sddm[1385]: + echo END /usr/sbin/home-linker Oct 3 14:23:48 client1 sddm[1385]: + exit 0 Oct 3 14:23:48 client1 sddm[1384]: + exit 0 Oct 3 14:23:48 client1 systemd[1]: Started Lliurex statistics collector agent. Oct 3 14:23:48 client1 sddm-helper: pam_kwallet5: final socket path: /run/user/5001/kwallet5.socket Oct 3 14:23:48 client1 sddm-helper[1317]: Starting: "/etc/sddm/Xsession \"/usr/bin/startplasma-x11\"" Oct 3 14:23:48 client1 sddm-helper[1493]: Adding cookie to "/home/rubcan/.Xauthority"

Canx commented 3 years ago

Lo he cerrado pensando que era por culpa del id del usuario en el maestro pero me ha vuelto a pasar importando y exportando los usuarios de llum.