Table des matières
- 2026:
- 2025:
4 billet(s) pour septembre 2026
| Notes HTTP Strict Transport Security - HSTS | 2026/09/18 11:04 | Jean-Baptiste |
| Notes GNU Linux GPU carte graphiques | 2026/09/08 15:49 | Jean-Baptiste |
| Notes GNU Linux graphique | 2026/09/08 15:42 | Jean-Baptiste |
| Notes urlencoding - passer des mots de passe en HTTPS | 2026/09/03 17:58 | Jean-Baptiste |
Saccades de l'image sous Debian Jessie lors de lecture DVD avec VLC.
Solution :
Aller dans Outils - Préférences - Vidéo Puis dans Affichage puis Sortie.
Changer Sortie vidéo X11 (XCB)
Pour sortie VDPAU
Autres - VLC Notes
vlc cdda://sr0
vlc $1 --video-x=1980 --video-y=400 --width=300 --height=300 --fullscreen ^ --no-video-title-show --no-embedded-video --no-qt-fs-controller
Pb VIO OpenStack encoding LDAP non-ACSII or Extended_ASCII char
Le problème est lié aux caractères spéciaux présent dans l'AD. Pour information : même pb pour tous les utilisateurs présents dans l'OU “Int\C3\A9gration”
$ openstack role assignment list --user userok --name --effective --user-domain aaa +--------+------------+-------+---------+--------+-----------+ | Role | User | Group | Project | Domain | Inherited | +--------+------------+-------+---------+--------+-----------+ | member | USEROK@aaa | | ovs@aaa | | False | | reader | USEROK@aaa | | ovs@aaa | | False | +--------+------------+-------+---------+--------+-----------+ $ openstack role assignment list --user nokuser1 --name --effective --user-domain aaa Internal Server Error (HTTP 500) $ echo | ldapsearch -E pr=1000 -D "adminde" -y ~/.ldap_pass sAMAccountName | grep USEROK # USEROK Jean, Utilisateurs, Infra dn: CN=USEROK Jean,OU=Utilisateurs,OU=Infra sAMAccountName: USEROK $ echo | ldapsearch -E pr=1000 -D "adminde" -y ~/.ldap_pass sAMAccountName | grep NOKUSER1 # NOKUSER1 Ga\C3\ABl, Utilisateurs, Dev, sAMAccountName: NOKUSER1 $ echo | ldapsearch -E pr=1000 -D "adminde" -y ~/.ldap_pass sAMAccountName | grep NOKUSER2 # NOKUSER2 Robert, Utilisateurs, Int\C3\A9gration sAMAccountName: NOKUSER2
Faisons une liste d'utilisateur OK, Non_OK et OWNI si ni l'un ni l'autre.
#! /bin/bash > user_bad.txt > user_ok.txt > user_owni.txt DOMAIN=aaa for USER in $(openstack user list --domain "$DOMAIN" -c Name -f value) do openstack role assignment list --user "$USER" --name --effective --user-domain "$DOMAIN" RET=$? echo -e "$USER \t $RET" if [[ RET -eq 1 ]] then echo "$USER" >> user_NonOK.txt elif [[ RET -eq 0 ]] then echo "$USER" >> user_ok.txt else echo -e "$USER \t $RET" >> user_owni.txt fi done
Nous n'avons aucun OWNI.Tant mieux.
Note : Il faut enlever les '-LL' et '-LLL' à ldapsearch
echo | ldapsearch -E pr=1000 -D admin -y ~/.ldap_pass -o ldif-wrap=no "(memberOf=CN=Openstack,OU=Groupes,DC=aaa,DC=local)" | grep --color '\\C'
Tous les NonOK correspond à ceux contenant des caractères Non_ASCII ou Extended_ASCII
# NOKUSER1 Ga\C3\ABl, Utilisateurs, dev, aaa.local # NOKUSER2 Robert, Utilisateurs, Int\C3\A9gration, aaa.local
Pour l'encodage voir : 'URL encoding / Percent encoding'
Pb unrar accents
Version
unrar-free 1:0.0.1+cvs20140707-1 amd64
$ unrar x fichier.rar Extracting AUTHOR/ALBUM/01- chanson1 (avec V�ronique).mp3 Failed Extracting AUTHOR/ALBUM/02- chanson2.mp3 OK 1 Failed $ echo $? 1
Pb Thunderbird Icedove failed opening offline store for imap
failed opening offline store for imap:// INBOX
Pb ecryptfs
Solution : Terminer le processus
Ré-ouvrir la session
Relancer Thunderbird / Icedove
Pb sudo - Lenteur sudo
Voir
- La machine doit pouvoir pinguer son hostname
ping $(hostname -s)ping $(hostname -f)UseDNS nodans/etc/ssh/sshd_configGSSAPIAuthentication nodans/etc/ssh/sshd_config
- Connexion LDAP / Service sssd - Si sssd stop est-ce OK ?
systemctl stop sssdps -ef | grep sssd
- Les commandes suivantes fonctionnent-elles ? Si non voir Err timeout org.freedesktop.login1
hostnamectltimedatectl
Lenteur sudo - Err timeout org.freedesktop.login1
Failed to activate service 'org.freedesktop.login1': timed out
# strace -f sudo su -c ls
recvmsg(4, {msg_namelen=0}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=4, events=POLLIN}], 1, {tv_sec=24, tv_nsec=999821000}, NULL, 8) = 1 ([{fd=4, revents=POLLIN}], left {tv_sec=24, tv_nsec=999682934})
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\2\1\1\n\0\0\0\1\0\0\0=\0\0\0\6\1s\0\5\0\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base=":1.10\0\0\0\5\1u\0\1\0\0\0\10\1g\0\1s\0\0\7\1s\0\24\0\0\0"..., iov_len=66}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 66
sendmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\1\0\1p\0\0\0\2\0\0\0\230\0\0\0\1\1o\0\27\0\0\0/org/fre"..., iov_len=168}, {iov_base="\0\0\0\0\2373\0\0\4\0\0\0sudo\0\0\0\0\3\0\0\0tty\0\4\0\0\0"..., iov_len=112}], msg_iovlen=2, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 280
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="l\4\1\1\n\0\0\0\2\0\0\0\215\0\0\0\1\1o\0\25\0\0\0", iov_len=24}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 24
recvmsg(4, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="/org/freedesktop/DBus\0\0\0\2\1s\0\24\0\0\0"..., iov_len=146}], msg_iovlen=1, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = 146
recvmsg(4, {msg_namelen=0}, MSG_DONTWAIT|MSG_NOSIGNAL|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=4, events=POLLIN}], 1, {tv_sec=24, tv_nsec=999873000}, NULL, 8
^Cstrace: Process 13215 detached
<detached ...>
# journalctl -f Jan 16 10:56:42 SRV_01 dbus[7464]: [system] Failed to activate service 'org.freedesktop.login1': timed out Jan 16 10:56:42 SRV_01 sudo[10716]: pam_systemd(sudo:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out Jan 16 10:56:42 SRV_01 sudo[10716]: pam_unix(sudo:session): session opened for user root by admin(uid=0) Jan 16 10:56:42 SRV_01 su[12341]: (to root) admin on none Jan 16 10:56:42 SRV_01 dbus[7464]: [system] Activating via systemd: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service' Jan 16 10:57:07 SRV_01 dbus[7464]: [system] Failed to activate service 'org.freedesktop.login1': timed out Jan 16 10:57:07 SRV_01 su[12341]: pam_systemd(su:session): Failed to create session: Failed to activate service 'org.freedesktop.login1': timed out Jan 16 10:57:07 SRV_01 su[12341]: pam_unix(su:session): session opened for user root by admin(uid=0) Jan 16 10:57:07 SRV_01 su[12341]: pam_unix(su:session): session closed for user root Jan 16 10:57:07 SRV_01 sudo[10716]: pam_unix(sudo:session): session closed for user root
Solution
# systemctl daemon-reexec
systemctl restart systemd-logind
Cleanup abandoned sessions from systemd
A tester
Source https://github.com/systemd/systemd/issues/1961
Delete session files
find /run/systemd/system -name "session-*.scope" -delete
Delete session directories
rm -rf /run/systemd/system/session*scope*
Remove the abandoned sessions
systemctl | grep "abandoned" | grep -e "-[[:digit:]]" | sed "s/\.scope.*/.scope/" | xargs systemctl stop
Autre
systemctl list-units --state=abandoned -t scope --no-legend
