You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2020. It is now read-only.
I know that it maybe the same issue of #35 but actually i am not able to solve it. I am trying to build docker images for clearwater but build fails since the base image:
Step 19/29 : RUN apt-get install -y --force-yes clearwater-snmpd
---> Running in 95b579d4ebb7
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libmysqlclient18 libpci3 libperl5.18 libsnmp-base libsnmp30 libwrap0
mysql-common snmpd tcpd
Suggested packages:
snmp-mibs-downloader
The following NEW packages will be installed:
clearwater-snmpd libmysqlclient18 libpci3 libperl5.18 libsnmp-base libsnmp30
libwrap0 mysql-common snmpd tcpd
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,090 kB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpci3 amd64 1:3.2.1-1ubuntu5.1 [26.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.62-0ubuntu0.14.04.1 [12.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.62-0ubuntu0.14.04.1 [598 kB]
Get:4 http://repo.cw-ngv.com/stable/ binary/ libsnmp-base 5.7.3dfsg-clearwater1 [457 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libperl5.18 amd64 5.18.2-2ubuntu1.7 [1,330 B]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libwrap0 amd64 7.6.q-25 [46.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main tcpd amd64 7.6.q-25 [23.0 kB]
Get:8 http://repo.cw-ngv.com/stable/ binary/ libsnmp30 5.7.3dfsg-clearwater1 [834 kB]
Get:9 http://repo.cw-ngv.com/stable/ binary/ snmpd 5.7.3dfsg-clearwater1 [73.7 kB]
Get:10 http://repo.cw-ngv.com/stable/ binary/ clearwater-snmpd 1.0-180328.114312 [18.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2,090 kB in 1s (1,587 kB/s)
Selecting previously unselected package libpci3:amd64.
(Reading database ... 19759 files and directories currently installed.)
Preparing to unpack .../libpci3_1%3a3.2.1-1ubuntu5.1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.2.1-1ubuntu5.1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.62-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.62-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libperl5.18.
Preparing to unpack .../libperl5.18_5.18.2-2ubuntu1.7_amd64.deb ...
Unpacking libperl5.18 (5.18.2-2ubuntu1.7) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-25) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../libsnmp-base_5.7.3dfsg-clearwater1_all.deb ...
Unpacking libsnmp-base (5.7.3dfsg-clearwater1) ...
Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../libsnmp30_5.7.3dfsg-clearwater1_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.3dfsg-clearwater1) ...
Selecting previously unselected package snmpd.
Preparing to unpack .../snmpd_5.7.3dfsg-clearwater1_amd64.deb ...
Unpacking snmpd (5.7.3dfsg-clearwater1) ...
Selecting previously unselected package clearwater-snmpd.
Preparing to unpack .../clearwater-snmpd_1.0-180328.114312_all.deb ...
Unpacking clearwater-snmpd (1.0-180328.114312) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ...
Unpacking tcpd (7.6.q-25) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libpci3:amd64 (1:3.2.1-1ubuntu5.1) ...
Setting up mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Setting up libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Setting up libperl5.18 (5.18.2-2ubuntu1.7) ...
Setting up libwrap0:amd64 (7.6.q-25) ...
Setting up libsnmp-base (5.7.3dfsg-clearwater1) ...
Setting up libsnmp30:amd64 (5.7.3dfsg-clearwater1) ...
Setting up snmpd (5.7.3dfsg-clearwater1) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
invoke-rc.d: policy-rc.d denied execution of start.
Setting up tcpd (7.6.q-25) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up clearwater-snmpd (1.0-180328.114312) ...
Stopping network management services:
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
Removing intermediate container 95b579d4ebb7
---> 8652c4e7cd68
Step 20/29 : RUN /etc/init.d/clearwater-auto-config-docker restart
---> Running in 6f68cd6a70fe
Removing intermediate container 6f68cd6a70fe
---> e5ba274e9564
Step 21/29 : RUN /etc/init.d/clearwater-infrastructure restart
---> Running in 6ec46a156b37
Restarting clearwater-infrastructure clearwater-infrastructure
mv: cannot move ‘/tmp/hosts.10’ to ‘/etc/hosts’: Device or resource busy
Restarting DNS forwarder and DHCP server dnsmasq
dnsmasq: setting capabilities failed: Operation not permitted
...fail!
hostname: you must be root to change the host name
mv: cannot move ‘/tmp/hosts.28’ to ‘/etc/hosts’: Device or resource busy
ERROR: unable to move /tmp/hosts.28 to /etc/hosts
...done.
The problem is related to dnsmasq and the move action on /tmp/hosts.10. I think that the problem is something related to permissions as i read from #35, but i do not know how to solve.
Impact
All other images fails at building
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Symptoms
I know that it maybe the same issue of #35 but actually i am not able to solve it. I am trying to build docker images for clearwater but build fails since the base image:
Step 19/29 : RUN apt-get install -y --force-yes clearwater-snmpd
---> Running in 95b579d4ebb7
Reading package lists...
Building dependency tree...
Reading state information...
The following extra packages will be installed:
libmysqlclient18 libpci3 libperl5.18 libsnmp-base libsnmp30 libwrap0
mysql-common snmpd tcpd
Suggested packages:
snmp-mibs-downloader
The following NEW packages will be installed:
clearwater-snmpd libmysqlclient18 libpci3 libperl5.18 libsnmp-base libsnmp30
libwrap0 mysql-common snmpd tcpd
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,090 kB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libpci3 amd64 1:3.2.1-1ubuntu5.1 [26.3 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main mysql-common all 5.5.62-0ubuntu0.14.04.1 [12.6 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmysqlclient18 amd64 5.5.62-0ubuntu0.14.04.1 [598 kB]
Get:4 http://repo.cw-ngv.com/stable/ binary/ libsnmp-base 5.7.3
dfsg-clearwater1 [457 kB]dfsg-clearwater1 [834 kB]Get:5 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libperl5.18 amd64 5.18.2-2ubuntu1.7 [1,330 B]
Get:6 http://archive.ubuntu.com/ubuntu/ trusty/main libwrap0 amd64 7.6.q-25 [46.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ trusty/main tcpd amd64 7.6.q-25 [23.0 kB]
Get:8 http://repo.cw-ngv.com/stable/ binary/ libsnmp30 5.7.3
Get:9 http://repo.cw-ngv.com/stable/ binary/ snmpd 5.7.3
dfsg-clearwater1 [73.7 kB]dfsg-clearwater1_all.deb ...Get:10 http://repo.cw-ngv.com/stable/ binary/ clearwater-snmpd 1.0-180328.114312 [18.3 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 2,090 kB in 1s (1,587 kB/s)
Selecting previously unselected package libpci3:amd64.
(Reading database ... 19759 files and directories currently installed.)
Preparing to unpack .../libpci3_1%3a3.2.1-1ubuntu5.1_amd64.deb ...
Unpacking libpci3:amd64 (1:3.2.1-1ubuntu5.1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.5.62-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.5.62-0ubuntu0.14.04.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Selecting previously unselected package libperl5.18.
Preparing to unpack .../libperl5.18_5.18.2-2ubuntu1.7_amd64.deb ...
Unpacking libperl5.18 (5.18.2-2ubuntu1.7) ...
Selecting previously unselected package libwrap0:amd64.
Preparing to unpack .../libwrap0_7.6.q-25_amd64.deb ...
Unpacking libwrap0:amd64 (7.6.q-25) ...
Selecting previously unselected package libsnmp-base.
Preparing to unpack .../libsnmp-base_5.7.3
Unpacking libsnmp-base (5.7.3
dfsg-clearwater1) ...dfsg-clearwater1_amd64.deb ...Selecting previously unselected package libsnmp30:amd64.
Preparing to unpack .../libsnmp30_5.7.3
Unpacking libsnmp30:amd64 (5.7.3
dfsg-clearwater1) ...dfsg-clearwater1_amd64.deb ...Selecting previously unselected package snmpd.
Preparing to unpack .../snmpd_5.7.3
Unpacking snmpd (5.7.3
dfsg-clearwater1) ...dfsg-clearwater1) ...Selecting previously unselected package clearwater-snmpd.
Preparing to unpack .../clearwater-snmpd_1.0-180328.114312_all.deb ...
Unpacking clearwater-snmpd (1.0-180328.114312) ...
Selecting previously unselected package tcpd.
Preparing to unpack .../tcpd_7.6.q-25_amd64.deb ...
Unpacking tcpd (7.6.q-25) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libpci3:amd64 (1:3.2.1-1ubuntu5.1) ...
Setting up mysql-common (5.5.62-0ubuntu0.14.04.1) ...
Setting up libmysqlclient18:amd64 (5.5.62-0ubuntu0.14.04.1) ...
Setting up libperl5.18 (5.18.2-2ubuntu1.7) ...
Setting up libwrap0:amd64 (7.6.q-25) ...
Setting up libsnmp-base (5.7.3
Setting up libsnmp30:amd64 (5.7.3
dfsg-clearwater1) ...dfsg-clearwater1) ...Setting up snmpd (5.7.3
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
invoke-rc.d: policy-rc.d denied execution of start.
Setting up tcpd (7.6.q-25) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up clearwater-snmpd (1.0-180328.114312) ...
Processing triggers for libc-bin (2.19-0ubuntu6.15) ...
Removing intermediate container 95b579d4ebb7
---> 8652c4e7cd68
Step 20/29 : RUN /etc/init.d/clearwater-auto-config-docker restart
---> Running in 6f68cd6a70fe
Removing intermediate container 6f68cd6a70fe
---> e5ba274e9564
Step 21/29 : RUN /etc/init.d/clearwater-infrastructure restart
---> Running in 6ec46a156b37
mv: cannot move ‘/tmp/hosts.10’ to ‘/etc/hosts’: Device or resource busy
dnsmasq: setting capabilities failed: Operation not permitted
...fail!
hostname: you must be root to change the host name
mv: cannot move ‘/tmp/hosts.28’ to ‘/etc/hosts’: Device or resource busy
ERROR: unable to move /tmp/hosts.28 to /etc/hosts
...done.
The problem is related to dnsmasq and the move action on /tmp/hosts.10. I think that the problem is something related to permissions as i read from #35, but i do not know how to solve.
Impact
All other images fails at building
The text was updated successfully, but these errors were encountered: