unable to stop unprivileged container using lxc-stop [ ubuntu 16.04 LTS, lxc version 2.0.8 ]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












unable to stop the unprivileged container on ubuntu 16.04 LTS host with lxc-stop version 2.0.8 or 3.0.2. It hangs indefinitely.



Also, there is no IP associated with the container when using lxc-ls or lxc-info.



What I am missing in the configuration ?



Given below are some detail of the container q1.



config file:



Distribution configuration



lxc.include = /usr/share/lxc/config/ubuntu.common.conf
lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
lxc.arch = linux64



Container specific configuration



lxc.id_map = u 0 231072 65536
lxc.id_map = g 0 231072 65536
lxc.rootfs = /home/qbuser1/lxc/q1/rootfs
lxc.rootfs.backend = dir
lxc.utsname = q1



Network configuration



lxc.network.type = veth
lxc.network.link = lxcbr0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:6a:8d:39



===========
qbuser1@ip-172-31-15-48:~$ lxc-info -P ~qbuser1/lxc -n q1
Name: q1
State: RUNNING
PID: 27356
Memory use: 4.90 MiB
KMem use: 0 bytes
Link: vethFMDWP4
TX bytes: 648 bytes
RX bytes: 798 bytes
Total bytes: 1.41 KiB



qbuser1@ip-172-31-15-48:~$ lxc-ls -P ~qbuser1/lxc --fancy
NAME STATE AUTOSTART GROUPS IPV4 IPV6
q1 RUNNING 0 - - -

qbuser1@ip-172-31-15-48:~$










share|improve this question









New contributor




Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.























    up vote
    0
    down vote

    favorite












    unable to stop the unprivileged container on ubuntu 16.04 LTS host with lxc-stop version 2.0.8 or 3.0.2. It hangs indefinitely.



    Also, there is no IP associated with the container when using lxc-ls or lxc-info.



    What I am missing in the configuration ?



    Given below are some detail of the container q1.



    config file:



    Distribution configuration



    lxc.include = /usr/share/lxc/config/ubuntu.common.conf
    lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
    lxc.arch = linux64



    Container specific configuration



    lxc.id_map = u 0 231072 65536
    lxc.id_map = g 0 231072 65536
    lxc.rootfs = /home/qbuser1/lxc/q1/rootfs
    lxc.rootfs.backend = dir
    lxc.utsname = q1



    Network configuration



    lxc.network.type = veth
    lxc.network.link = lxcbr0
    lxc.network.flags = up
    lxc.network.hwaddr = 00:16:3e:6a:8d:39



    ===========
    qbuser1@ip-172-31-15-48:~$ lxc-info -P ~qbuser1/lxc -n q1
    Name: q1
    State: RUNNING
    PID: 27356
    Memory use: 4.90 MiB
    KMem use: 0 bytes
    Link: vethFMDWP4
    TX bytes: 648 bytes
    RX bytes: 798 bytes
    Total bytes: 1.41 KiB



    qbuser1@ip-172-31-15-48:~$ lxc-ls -P ~qbuser1/lxc --fancy
    NAME STATE AUTOSTART GROUPS IPV4 IPV6
    q1 RUNNING 0 - - -

    qbuser1@ip-172-31-15-48:~$










    share|improve this question









    New contributor




    Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      unable to stop the unprivileged container on ubuntu 16.04 LTS host with lxc-stop version 2.0.8 or 3.0.2. It hangs indefinitely.



      Also, there is no IP associated with the container when using lxc-ls or lxc-info.



      What I am missing in the configuration ?



      Given below are some detail of the container q1.



      config file:



      Distribution configuration



      lxc.include = /usr/share/lxc/config/ubuntu.common.conf
      lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
      lxc.arch = linux64



      Container specific configuration



      lxc.id_map = u 0 231072 65536
      lxc.id_map = g 0 231072 65536
      lxc.rootfs = /home/qbuser1/lxc/q1/rootfs
      lxc.rootfs.backend = dir
      lxc.utsname = q1



      Network configuration



      lxc.network.type = veth
      lxc.network.link = lxcbr0
      lxc.network.flags = up
      lxc.network.hwaddr = 00:16:3e:6a:8d:39



      ===========
      qbuser1@ip-172-31-15-48:~$ lxc-info -P ~qbuser1/lxc -n q1
      Name: q1
      State: RUNNING
      PID: 27356
      Memory use: 4.90 MiB
      KMem use: 0 bytes
      Link: vethFMDWP4
      TX bytes: 648 bytes
      RX bytes: 798 bytes
      Total bytes: 1.41 KiB



      qbuser1@ip-172-31-15-48:~$ lxc-ls -P ~qbuser1/lxc --fancy
      NAME STATE AUTOSTART GROUPS IPV4 IPV6
      q1 RUNNING 0 - - -

      qbuser1@ip-172-31-15-48:~$










      share|improve this question









      New contributor




      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      unable to stop the unprivileged container on ubuntu 16.04 LTS host with lxc-stop version 2.0.8 or 3.0.2. It hangs indefinitely.



      Also, there is no IP associated with the container when using lxc-ls or lxc-info.



      What I am missing in the configuration ?



      Given below are some detail of the container q1.



      config file:



      Distribution configuration



      lxc.include = /usr/share/lxc/config/ubuntu.common.conf
      lxc.include = /usr/share/lxc/config/ubuntu.userns.conf
      lxc.arch = linux64



      Container specific configuration



      lxc.id_map = u 0 231072 65536
      lxc.id_map = g 0 231072 65536
      lxc.rootfs = /home/qbuser1/lxc/q1/rootfs
      lxc.rootfs.backend = dir
      lxc.utsname = q1



      Network configuration



      lxc.network.type = veth
      lxc.network.link = lxcbr0
      lxc.network.flags = up
      lxc.network.hwaddr = 00:16:3e:6a:8d:39



      ===========
      qbuser1@ip-172-31-15-48:~$ lxc-info -P ~qbuser1/lxc -n q1
      Name: q1
      State: RUNNING
      PID: 27356
      Memory use: 4.90 MiB
      KMem use: 0 bytes
      Link: vethFMDWP4
      TX bytes: 648 bytes
      RX bytes: 798 bytes
      Total bytes: 1.41 KiB



      qbuser1@ip-172-31-15-48:~$ lxc-ls -P ~qbuser1/lxc --fancy
      NAME STATE AUTOSTART GROUPS IPV4 IPV6
      q1 RUNNING 0 - - -

      qbuser1@ip-172-31-15-48:~$







      ubuntu lxc containers






      share|improve this question









      New contributor




      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited yesterday









      Rui F Ribeiro

      38.2k1475123




      38.2k1475123






      New contributor




      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked yesterday









      Shyam

      1




      1




      New contributor




      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Shyam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.

























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );






          Shyam is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481830%2funable-to-stop-unprivileged-container-using-lxc-stop-ubuntu-16-04-lts-lxc-ver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Shyam is a new contributor. Be nice, and check out our Code of Conduct.









           

          draft saved


          draft discarded


















          Shyam is a new contributor. Be nice, and check out our Code of Conduct.












          Shyam is a new contributor. Be nice, and check out our Code of Conduct.











          Shyam is a new contributor. Be nice, and check out our Code of Conduct.













           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f481830%2funable-to-stop-unprivileged-container-using-lxc-stop-ubuntu-16-04-lts-lxc-ver%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown






          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          Bahrain

          Postfix configuration issue with fips on centos 7; mailgun relay