Hi, everyone, I’m testing wazo on linux container Debian 10.2.
But I had the next error:
TASK [uc-engine : Install the ntp and postfix daemons] **************************************************************************************************************************
fatal: [localhost]: FAILED! => {"cache_update_time": 1591074445, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--force-confold\" install 'ntp'' failed: E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "rc": 100, "stderr": "E: Sub-process /usr/bin/dpkg returned an error code (1)\n", "stderr_lines": ["E: Sub-process /usr/bin/dpkg returned an error code (1)"], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nThe following additional packages will be installed:\n libevent-core-2.1-6 libevent-pthreads-2.1-6 libopts25 sntp\nSuggested packages:\n ntp-doc\nThe following NEW packages will be installed:\n libevent-core-2.1-6 libevent-pthreads-2.1-6 libopts25 ntp sntp\n0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 1174 kB of archives.\nAfter this operation, 2898 kB of additional disk space will be used.\nGet:1 http://ftp.debian.org/debian buster/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4 [129 kB]\nGet:2 http://ftp.debian.org/debian buster/main amd64 libevent-pthreads-2.1-6 amd64 2.1.8-stable-4 [47.9 kB]\nGet:3 http://ftp.debian.org/debian buster/main amd64 libopts25 amd64 1:5.18.12-4 [69.4 kB]\nGet:4 http://ftp.debian.org/debian buster/main amd64 ntp amd64 1:4.2.8p12+dfsg-4 [761 kB]\nGet:5 http://ftp.debian.org/debian buster/main amd64 sntp amd64 1:4.2.8p12+dfsg-4 [167 kB]\nFetched 1174 kB in 2s (727 kB/s)\nSelecting previously unselected package libevent-core-2.1-6:amd64.\r\n(Reading database ... \r(Reading database ... 5%\r(Reading database ... 10%\r(Reading database ... 15%\r(Reading database ... 20%\r(Reading database ... 25%\r(Reading database ... 30%\r(Reading database ... 35%\r(Reading database ... 40%\r(Reading database ... 45%\r(Reading database ... 50%\r(Reading database ... 55%\r(Reading database ... 60%\r(Reading database ... 65%\r(Reading database ... 70%\r(Reading database ... 75%\r(Reading database ... 80%\r(Reading database ... 85%\r(Reading database ... 90%\r(Reading database ... 95%\r(Reading database ... 100%\r(Reading database ... 63816 files and directories currently installed.)\r\nPreparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4_amd64.deb ...\r\nUnpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...\r\nSelecting previously unselected package libevent-pthreads-2.1-6:amd64.\r\nPreparing to unpack .../libevent-pthreads-2.1-6_2.1.8-stable-4_amd64.deb ...\r\nUnpacking libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...\r\nSelecting previously unselected package libopts25:amd64.\r\nPreparing to unpack .../libopts25_1%3a5.18.12-4_amd64.deb ...\r\nUnpacking libopts25:amd64 (1:5.18.12-4) ...\r\nSelecting previously unselected package ntp.\r\nPreparing to unpack .../ntp_1%3a4.2.8p12+dfsg-4_amd64.deb ...\r\nUnpacking ntp (1:4.2.8p12+dfsg-4) ...\r\nSelecting previously unselected package sntp.\r\nPreparing to unpack .../sntp_1%3a4.2.8p12+dfsg-4_amd64.deb ...\r\nUnpacking sntp (1:4.2.8p12+dfsg-4) ...\r\nSetting up libopts25:amd64 (1:5.18.12-4) ...\r\nSetting up ntp (1:4.2.8p12+dfsg-4) ...\r\nCreated symlink /etc/systemd/system/multi-user.target.wants/ntp.service -> /lib/systemd/system/ntp.service.\r\nJob for ntp.service failed because the control process exited with error code.\r\nSee \"systemctl status ntp.service\" and \"journalctl -xe\" for details.\r\ninvoke-rc.d: initscript ntp, action \"start\" failed.\r\n\u001b[0;1;31m*\u001b[0m ntp.service - Network Time Service\r\n Loaded: loaded (\u001b]8;;file://Wazo-Debian10/lib/systemd/system/ntp.service\u0007/lib/systemd/system/ntp.service\u001b]8;;\u0007; enabled; vendor preset: enabled)\r\n Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Tue 2020-06-02 00:13:41 -05; 22ms ago\r\n Docs: \u001b]8;;man:ntpd(8)\u0007man:ntpd(8)\u001b]8;;\u0007\r\n Process: 31424 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper \u001b[0;1;31m(code=exited, status=226/NAMESPACE)\u001b[0m\r\n\r\nJun 02 00:13:41 Wazo-Debian10 systemd[1]: Starting Network Time Service...\r\nJun 02 00:13:41 Wazo-Debian10 systemd[31424]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mntp.service: Failed to set up mount namespacing: Permission denied\u001b[0m\r\nJun 02 00:13:41 Wazo-Debian10 systemd[31424]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mntp.service: Failed at step NAMESPACE spawning /usr/lib/ntp/ntp-systemd-wrapper: Permission denied\u001b[0m\r\nJun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mntp.service: Control process exited, code=exited, status=226/NAMESPACE\u001b[0m\r\nJun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mntp.service: Failed with result 'exit-code'.\u001b[0m\r\nJun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start Network Time Service.\u001b[0m\r\ndpkg: error processing package ntp (--configure):\r\n installed ntp package post-installation script subprocess returned error exit status 1\r\nSetting up libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...\r\nSetting up libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...\r\nSetting up sntp (1:4.2.8p12+dfsg-4) ...\r\nProcessing triggers for systemd (241-7~deb10u4) ...\r\nProcessing triggers for man-db (2.8.5-2) ...\r\nProcessing triggers for libc-bin (2.28-10) ...\r\nErrors were encountered while processing:\r\n ntp\r\n", "stdout_lines": ["Reading package lists...", "Building dependency tree...", "Reading state information...", "The following additional packages will be installed:", " libevent-core-2.1-6 libevent-pthreads-2.1-6 libopts25 sntp", "Suggested packages:", " ntp-doc", "The following NEW packages will be installed:", " libevent-core-2.1-6 libevent-pthreads-2.1-6 libopts25 ntp sntp", "0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.", "Need to get 1174 kB of archives.", "After this operation, 2898 kB of additional disk space will be used.", "Get:1 http://ftp.debian.org/debian buster/main amd64 libevent-core-2.1-6 amd64 2.1.8-stable-4 [129 kB]", "Get:2 http://ftp.debian.org/debian buster/main amd64 libevent-pthreads-2.1-6 amd64 2.1.8-stable-4 [47.9 kB]", "Get:3 http://ftp.debian.org/debian buster/main amd64 libopts25 amd64 1:5.18.12-4 [69.4 kB]", "Get:4 http://ftp.debian.org/debian buster/main amd64 ntp amd64 1:4.2.8p12+dfsg-4 [761 kB]", "Get:5 http://ftp.debian.org/debian buster/main amd64 sntp amd64 1:4.2.8p12+dfsg-4 [167 kB]", "Fetched 1174 kB in 2s (727 kB/s)", "Selecting previously unselected package libevent-core-2.1-6:amd64.", "(Reading database ... ", "(Reading database ... 5%", "(Reading database ... 10%", "(Reading database ... 15%", "(Reading database ... 20%", "(Reading database ... 25%", "(Reading database ... 30%", "(Reading database ... 35%", "(Reading database ... 40%", "(Reading database ... 45%", "(Reading database ... 50%", "(Reading database ... 55%", "(Reading database ... 60%", "(Reading database ... 65%", "(Reading database ... 70%", "(Reading database ... 75%", "(Reading database ... 80%", "(Reading database ... 85%", "(Reading database ... 90%", "(Reading database ... 95%", "(Reading database ... 100%", "(Reading database ... 63816 files and directories currently installed.)", "Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4_amd64.deb ...", "Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...", "Selecting previously unselected package libevent-pthreads-2.1-6:amd64.", "Preparing to unpack .../libevent-pthreads-2.1-6_2.1.8-stable-4_amd64.deb ...", "Unpacking libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...", "Selecting previously unselected package libopts25:amd64.", "Preparing to unpack .../libopts25_1%3a5.18.12-4_amd64.deb ...", "Unpacking libopts25:amd64 (1:5.18.12-4) ...", "Selecting previously unselected package ntp.", "Preparing to unpack .../ntp_1%3a4.2.8p12+dfsg-4_amd64.deb ...", "Unpacking ntp (1:4.2.8p12+dfsg-4) ...", "Selecting previously unselected package sntp.", "Preparing to unpack .../sntp_1%3a4.2.8p12+dfsg-4_amd64.deb ...", "Unpacking sntp (1:4.2.8p12+dfsg-4) ...", "Setting up libopts25:amd64 (1:5.18.12-4) ...", "Setting up ntp (1:4.2.8p12+dfsg-4) ...", "Created symlink /etc/systemd/system/multi-user.target.wants/ntp.service -> /lib/systemd/system/ntp.service.", "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.", "\u001b[0;1;31m*\u001b[0m ntp.service - Network Time Service", " Loaded: loaded (\u001b]8;;file://Wazo-Debian10/lib/systemd/system/ntp.service\u0007/lib/systemd/system/ntp.service\u001b]8;;\u0007; enabled; vendor preset: enabled)", " Active: \u001b[0;1;31mfailed\u001b[0m (Result: exit-code) since Tue 2020-06-02 00:13:41 -05; 22ms ago", " Docs: \u001b]8;;man:ntpd(8)\u0007man:ntpd(8)\u001b]8;;\u0007", " Process: 31424 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper \u001b[0;1;31m(code=exited, status=226/NAMESPACE)\u001b[0m", "", "Jun 02 00:13:41 Wazo-Debian10 systemd[1]: Starting Network Time Service...", "Jun 02 00:13:41 Wazo-Debian10 systemd[31424]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mntp.service: Failed to set up mount namespacing: Permission denied\u001b[0m", "Jun 02 00:13:41 Wazo-Debian10 systemd[31424]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mntp.service: Failed at step NAMESPACE spawning /usr/lib/ntp/ntp-systemd-wrapper: Permission denied\u001b[0m", "Jun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mntp.service: Control process exited, code=exited, status=226/NAMESPACE\u001b[0m", "Jun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;39m\u001b[0;1;31m\u001b[0;1;39mntp.service: Failed with result 'exit-code'.\u001b[0m", "Jun 02 00:13:41 Wazo-Debian10 systemd[1]: \u001b[0;1;31m\u001b[0;1;39m\u001b[0;1;31mFailed to start Network Time Service.\u001b[0m", "dpkg: error processing package ntp (--configure):", " installed ntp package post-installation script subprocess returned error exit status 1", "Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4) ...", "Setting up libevent-pthreads-2.1-6:amd64 (2.1.8-stable-4) ...", "Setting up sntp (1:4.2.8p12+dfsg-4) ...", "Processing triggers for systemd (241-7~deb10u4) ...", "Processing triggers for man-db (2.8.5-2) ...", "Processing triggers for libc-bin (2.28-10) ...", "Errors were encountered while processing:", " ntp"]}