New issue
Advanced search Search tips

Issue 824676 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

crostini: container not restarting after machine reboot

Project Member Reported by vpalatin@google.com, Mar 22 2018

Issue description

I have created a container according to the 'crostini dogfood instructions'
(or I imagine I did so)
then I stopped it cleanly:
lxc stop penguin
vmc stop lxd

rebooted my eve
then I'm trying to restart it and fail:
crosh> vmc start lxd
(termina) chronos@localhost ~ $ lxc start penguin
error: Missing source '/run/tokens/penguin_token' for disk 'container_token'
Try `lxc info --show-log penguin` for more info
(termina) chronos@localhost ~ $ lxc info --show-log penguin
Name: penguin
Remote: unix://
Architecture: x86_64
Created: 2018/03/22 08:10 UTC
Status: Stopped
Type: persistent
Profiles: default

Log:

            lxc 20180322081047.754 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
            lxc 20180322081047.754 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
            lxc 20180322081047.795 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322081047.795 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322081047.886 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322081047.886 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322081047.944 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
            lxc 20180322081047.944 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
            lxc 20180322082438.378 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message:
            lxc 20180322082438.396 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
            lxc 20180322082438.415 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.415 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.418 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.418 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.420 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.421 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.431 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.431 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.434 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.434 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.437 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.437 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.440 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.440 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.443 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.444 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.456 WARN     lxc_conf - conf.c:lxc_map_ids:2674 - newuidmap is lacking necessary privileges
            lxc 20180322082438.456 WARN     lxc_conf - conf.c:lxc_map_ids:2680 - newgidmap is lacking necessary privileges
            lxc 20180322082438.458 WARN     lxc_monitor - monitor.c:lxc_monitor_fifo_send:111 - Failed to open fifo to send message: No such file or directory.
 
Status: Fixed (was: Untriaged)
Instructions have been updated! Instead of lxc start penguin you should run:

run_container.sh --container_name=penguin --shell --user=<USERNAME>
Components: OS>Systems>Containers

Comment 3 by vapier@chromium.org, May 17 2018

Labels: -Restrict-View-Google

Sign in to add a comment