linux - debian lxc create error -


i freshly installed debian 8, , want create linux contener based on wheezy. when launch command:

sudo lxc-create -n omvctr -t debian -- -r wheezy -a amd64 

i obtain trace :

generation complete. update-rc.d: using dependency based boot sequencing insserv: warning: current start runlevel(s) (empty) of script `checkroot.sh' overrides lsb defaults (s). insserv: warning: current stop runlevel(s) (s) of script `checkroot.sh' overrides lsb defaults (empty). update-rc.d: using dependency based boot sequencing update-rc.d: error: umountfs default-start contains no runlevels, aborting. update-rc.d: using dependency based boot sequencing insserv: warning: current start runlevel(s) (empty) of script `hwclock.sh' overrides lsb defaults (s). insserv: warning: current stop runlevel(s) (0 6 s) of script `hwclock.sh' overrides lsb defaults (0 6). update-rc.d: using dependency based boot sequencing update-rc.d: error: cannot find lsb script hwclockfirst.sh creating ssh2 rsa key; may take time ... creating ssh2 dsa key; may take time ... creating ssh2 ecdsa key; may take time ... invoke-rc.d: policy-rc.d denied execution of restart. 

what problem ?

looks run (sort of) bug in debian lxc package, message:

update-rc.d: error: cannot find lsb script hwclockfirst.sh 

is caused line:

chroot $rootfs /usr/sbin/update-rc.d -f hwclockfirst.sh disable 

which trying disable autostart of several services inside new container, hwclockfirst.sh service doesn't exist. cleaner if script check if service exists , tried disable it.

tl;dr: no need worry :)


Comments

Popular posts from this blog

Email notification in google apps script -

c++ - Difference between pre and post decrement in recursive function argument -

javascript - IE11 incompatibility with jQuery's 'readonly'? -