Problème installation ntp (vps lxc)

Matériel: VPS (Virtualisation LXC)
Version de YunoHost: Dernière disponible via la commande curl
J’ai accès à mon serveur : En SSH
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour, j’ai essayé d’installer YunoHost sur mon vps (virtualisation LXC), sauf que vers la fin de l’installation je rencontre une erreur qui empêche l’installation de yunohost, voici le code d’erreur:

Errors were encountered while processing:
 ntp
E: Sub-process /usr/bin/dpkg returned an error code (1)
[^[[1m^[[31mFAIL^[[0m] Installation of Yunohost packages failed

Il faudrait le log complet pour voir pourquoi ntp n’a pas pu être installé …

Je suppute que ça puisse être du à l’abscence de l’option nested sur le LXC

[^[[1m^[[34mINFO^[[0m] Running upgrade_system
Get:1 http://security.debian.org buster/updates InRelease [65.4 kB]
Hit:2 http://ftp.debian.org/debian buster InRelease
Hit:3 http://ftp.debian.org/debian buster-updates InRelease
Hit:4 http://forge.yunohost.org/debian buster InRelease
Fetched 65.4 kB in 1s (52.2 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
libtext-iconv-perl is already the newest version (1.7-5+b7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ntp (1:4.2.8p12+dfsg-4) ...
Job for ntp.service failed because the control process exited with error code.
See "systemctl status ntp.service" and "journalctl -xe" for details.
invoke-rc.d: initscript ntp, action "start" failed.
^[[0;1;31m●^[[0m ntp.service - Network Time Service
   Loaded: loaded (^[]8;;file://srv01/lib/systemd/system/ntp.service^G/lib/systemd/system/ntp.service^[]8;;^G; enabled; vendor preset: enabled)
   Active: ^[[0;1;31mfailed^[[0m (Result: exit-code) since Sun 2021-03-28 12:30:15 UTC; 14ms ago
     Docs: ^[]8;;man:ntpd(8)^Gman:ntpd(8)^[]8;;^G
  Process: 14104 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper ^[[0;1;31m(code=exited, status=226/NAMESPACE)^[[0m

Mar 28 12:30:15 srv01 systemd[1]: Starting Network Time Service...
Mar 28 12:30:15 srv01 systemd[14104]: ^[[0;1;31m^[[0;1;39m^[[0;1;31mntp.service: Failed to set up mount namespacing: Permission denied^[[0m
Mar 28 12:30:15 srv01 systemd[14104]: ^[[0;1;31m^[[0;1;39m^[[0;1;31mntp.service: Failed at step NAMESPACE spawning /usr/lib/ntp/ntp-systemd-wrapper: Permission denied^[[0m
Mar 28 12:30:15 srv01 systemd[1]: ^[[0;1;39m^[[0;1;31m^[[0;1;39mntp.service: Control process exited, code=exited, status=226/NAMESPACE^[[0m
Mar 28 12:30:15 srv01 systemd[1]: ^[[0;1;39m^[[0;1;31m^[[0;1;39mntp.service: Failed with result 'exit-code'.^[[0m
Mar 28 12:30:15 srv01 systemd[1]: ^[[0;1;31m^[[0;1;39m^[[0;1;31mFailed to start Network Time Service.^[[0m
dpkg: error processing package ntp (--configure):
 installed ntp package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 ntp
E: Sub-process /usr/bin/dpkg returned an error code (1)
[^[[1m^[[31mFAIL^[[0m] Unable to update the system
[^[[1m^[[34mINFO^[[0m] Installation logs are available in /var/log/yunohost-installation_20210328_123009.log

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.