repair systemd-nspawn

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



    

    systemd-nspawn fails in C7 with
     
    ------------ nspawn error --------
    sudo  systemd-nspawn
    Spawning namespace container on /mnt/usb (console is /dev/pts/1).
    Init process in the container running as PID 1799.
    Failed to open system bus: No such file or directory
    Failed to open system bus: No such file or directory
    Container failed with error code 254.
    -------------- snip -----------
     
    With strace I noticed that the file below is not found:
     
    to /etc/rc.local add:
    ------------ /etc/rc.local ---------
    if [ ! -f /run/dbus/system_bus_socket ]; then
    mkdir -p /run/dbus
    LST=`pwd`
    cd /run/dbus
    ln -s /var/run/dbus/system_bus_socket system_bus_socket
    cd $LST
    fi
    ------------ snip ----------
     
    Author:
    PryMar56 on freenode
    #xen,#centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos





[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux