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
I want to see how much of my dev stack I can cram into Crouton.
I use lxc containers quite a bit. Creating the containers work. It's the startup that is more tricky. Starting it with Debug tells me that it fails when creating the networking-bridge. lxc-net in other words. So I attempted to have a look at the network-manager. apt-get install tells me it's installed, but the service isn't available.
Here is full output of lxc install process
# apt-get install --reinstall lxc Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/200 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 41532 files and directories currently installed.) Preparing to unpack .../lxc_1.0.7-0ubuntu0.9_amd64.deb ... Unpacking lxc (1.0.7-0ubuntu0.9) over (1.0.7-0ubuntu0.9) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up lxc (1.0.7-0ubuntu0.9) ... runlevel:/var/run/utmp: No such file or directory invoke-rc.d: policy-rc.d denied execution of start. initctl: Unknown job: lxc runlevel:/var/run/utmp: No such file or directory invoke-rc.d: policy-rc.d denied execution of start. initctl: Unknown job: lxc-net Setting up lxc dnsmasq configuration.
Would you be able to point me in the right direction?
The text was updated successfully, but these errors were encountered:
Fixing missing directory (var/run/utmp) and modifying policy-rc.d to exit 0
leaves me with this
# sudo apt-get install lxc --fix-missing --fix-broken --reinstall Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/200 kB of archives. After this operation, 0 B of additional disk space will be used. (Reading database ... 41532 files and directories currently installed.) Preparing to unpack .../lxc_1.0.7-0ubuntu0.9_amd64.deb ... Unpacking lxc (1.0.7-0ubuntu0.9) over (1.0.7-0ubuntu0.9) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up lxc (1.0.7-0ubuntu0.9) ... initctl: Unknown job: lxc initctl: Unknown job: lxc-net Setting up lxc dnsmasq configuration.
Running cli-extra trusty
I want to see how much of my dev stack I can cram into Crouton.
I use lxc containers quite a bit. Creating the containers work. It's the startup that is more tricky. Starting it with Debug tells me that it fails when creating the networking-bridge. lxc-net in other words. So I attempted to have a look at the network-manager. apt-get install tells me it's installed, but the service isn't available.
Here is full output of lxc install process
# apt-get install --reinstall lxc
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/200 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 41532 files and directories currently installed.)
Preparing to unpack .../lxc_1.0.7-0ubuntu0.9_amd64.deb ...
Unpacking lxc (1.0.7-0ubuntu0.9) over (1.0.7-0ubuntu0.9) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up lxc (1.0.7-0ubuntu0.9) ...
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: lxc
runlevel:/var/run/utmp: No such file or directory
invoke-rc.d: policy-rc.d denied execution of start.
initctl: Unknown job: lxc-net
Setting up lxc dnsmasq configuration.
Would you be able to point me in the right direction?
The text was updated successfully, but these errors were encountered: