Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| linux:proxmox [19-06-2024 14:47] – [upgrade 6 to 7] edmc73 | linux:proxmox [19-06-2024 14:53] (Version actuelle) – [Login ssh long] edmc73 | ||
|---|---|---|---|
| Ligne 588: | Ligne 588: | ||
| Et ça fait plaisir de voir que je ne suis pas le seul à avoir eu des problèmes -> https:// | Et ça fait plaisir de voir que je ne suis pas le seul à avoir eu des problèmes -> https:// | ||
| - | ====== Login ssh long ====== | + | ===== Autres bidouilles ===== |
| + | ==== Login ssh long LXC ==== | ||
| + | Sur un LXC avec une debian 11, se connecter en ssh était super long | ||
| + | |||
| + | Dans les log du LXC je voyais ceci | ||
| + | < | ||
| + | Jun 19 14:41:43 zabbix dbus-daemon[78]: | ||
| + | Jun 19 14:41:43 zabbix sshd[1013861]: | ||
| + | </ | ||
| + | |||
| + | En redémarrant le service concerné, j'ai vu qu'il ne fonctionnait pas | ||
| + | < | ||
| + | root@lxc:/ | ||
| + | Job for systemd-logind.service failed because the control process exited with error code. | ||
| + | See " | ||
| + | |||
| + | root@lxc:/ | ||
| + | ● systemd-logind.service - User Login Management | ||
| + | | ||
| + | | ||
| + | Docs: man: | ||
| + | | ||
| + | | ||
| + | | ||
| + | Process: 1013940 ExecStart=/ | ||
| + | Main PID: 1013940 (code=exited, | ||
| + | CPU: 5ms | ||
| + | |||
| + | juin 19 14:43:27 zabbix systemd[1]: systemd-logind.service: | ||
| + | juin 19 14:43:27 zabbix systemd[1]: Stopped User Login Management. | ||
| + | juin 19 14:43:27 zabbix systemd[1]: systemd-logind.service: | ||
| + | juin 19 14:43:27 zabbix systemd[1]: systemd-logind.service: | ||
| + | juin 19 14:43:27 zabbix systemd[1]: Failed to start User Login Management. | ||
| + | </ | ||
| + | |||
| + | La solution trouvé sur le net consiste à masquer le service... | ||
| + | < | ||
| + | root@zabbix:/ | ||
| + | Created symlink / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | mask UNIT... | ||
| + | Mask one or more units, as specified on the command line. This will link these unit files to /dev/null, making it impossible to start them. This is a | ||
| + | | ||
| + | care. This honors the --runtime option to only mask temporarily until the next reboot of the system. The --now option may be used to ensure that the units | ||
| + | are also stopped. This command expects valid unit names only, it does not accept unit file paths. | ||
| + | </ | ||