<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 07/06/16 23:14, Claudio André wrote:<br>
    </div>
    <blockquote
cite="mid:CAAufJG7qDZ0KCj5cZe=5AoZau_hm+bYJbeQudJmp2VdzQwyP9Q@mail.gmail.com"
      type="cite">
      <div dir="ltr"><span style="font-size:12.8px">2016-06-07 9:37
          GMT-03:00 Sujeevan (svij) Vijayakumaran </span><span dir="ltr"
          style="font-size:12.8px"><<a moz-do-not-send="true"
            href="mailto:svij@ubuntu.com" target="_blank">svij@ubuntu.com</a>></span><span
          style="font-size:12.8px">: </span>
        <blockquote class="gmail_quote"
          style="font-size:12.8px;margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">>
          That's because snapd tickles the kernel in a way that
          blows[...]<br>
        </blockquote>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">That is interesting. Where I can
          find more about the 'tickles'? My motivation:</div>
        <div style="font-size:12.8px">- I'm seeing closed source
          software behaves badly, e.g, AMD software prints.</div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">
          <div>  Internal Error:  as failed</div>
          <div>  Codegen phase failed compilation.</div>
        </div>
        <div style="font-size:12.8px"><br>
        </div>
        <div style="font-size:12.8px">If I know what the  'tickles'
          mean, I might be able to do something.  </div>
        <div style="font-size:12.8px">Thanks.</div>
      </div>
    </blockquote>
    <br>
    I think it has to do with nesting kernel structures related to
    security (LXD sets those up, then snapd wants to tweak them again),
    but a much clearer answer would come from Stephane cc'd.<br>
    <br>
    Mark<br>
    <br>
    <br>
    <blockquote
cite="mid:CAAufJG7qDZ0KCj5cZe=5AoZau_hm+bYJbeQudJmp2VdzQwyP9Q@mail.gmail.com"
      type="cite">
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-06-07 8:41 GMT-03:00 Sujeevan
          (svij) Vijayakumaran <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:svij@ubuntu.com"
              target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:svij@ubuntu.com">svij@ubuntu.com</a></a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
            <br>
            I'm trying to install a snap inside a freshly created LXD
            container,<br>
            which isn't possible:<br>
            <br>
            -----<br>
            ubuntu@snap-test:~$ sudo snap install
            taskwarrior_2.5.1-snap0_amd64.snap<br>
            64.75 MB / 64.75 MB<br>
[========================================================================]<br>
            100.00 % 5.38 MB/s<br>
            <br>
            error: cannot perform the following tasks:<br>
            - Mount snap "ubuntu-core" ([start
            snap-ubuntu\x2dcore-122.mount] failed<br>
            with exit status 1: Job for snap-ubuntu\x2dcore-122.mount
            failed. See<br>
            "systemctl status "snap-ubuntu\\x2dcore-122.mount"" and
            "journalctl -xe"<br>
            for details.<br>
            )<br>
            ubuntu@snap-test:~$ systemctl status
            "snap-ubuntu\\x2dcore-122.mount"<br>
            ● snap-ubuntu\x2dcore-122.mount - Squashfs mount unit for
            ubuntu-core<br>
               Loaded: loaded
            (/etc/systemd/system/snap-ubuntu\x2dcore-122.mount;<br>
            enabled; vendor preset: enabled)<br>
               Active: failed (Result: exit-code) since Tue 2016-06-07
            11:32:13 UTC;<br>
            16s ago<br>
                Where: /snap/ubuntu-core/122<br>
                 What: /var/lib/snapd/snaps/ubuntu-core_122.snap<br>
              Process: 8584 ExecMount=/bin/mount<br>
            /var/lib/snapd/snaps/ubuntu-core_122.snap
            /snap/ubuntu-core/122<br>
            (code=exited, status=32)<br>
            <br>
            Jun 07 11:32:13 snap-test systemd[1]: Mounting Squashfs
            mount unit for<br>
            ubuntu-core...<br>
            Jun 07 11:32:13 snap-test mount[8584]: mount:
            /snap/ubuntu-core/122:<br>
            mount failed: Unknown error -1<br>
            Jun 07 11:32:13 snap-test systemd[1]:
            snap-ubuntu\x2dcore-122.mount:<br>
            Mount process exited, code=exited status=32<br>
            Jun 07 11:32:13 snap-test systemd[1]: Failed to mount
            Squashfs mount<br>
            unit for ubuntu-core.<br>
            Jun 07 11:32:13 snap-test systemd[1]:
            snap-ubuntu\x2dcore-122.mount:<br>
            Unit entered failed state.<br>
            ------<br>
            <br>
            It works fine if it's not inside a LXD container. Is this an
            issue with<br>
            LXD or with snapd or am I missing something?<br>
            <br>
            Also: Why is there an "ugly" \x2d (which seems to be a
            hypen-minus) in<br>
            the systemd-file rather than a "normal" minus?<br>
            <br>
            Cheers,<br>
            Sujeevan<br>
            <span class="HOEnZb"><font color="#888888"><br>
                --<br>
                Snapcraft mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Snapcraft@lists.ubuntu.com">Snapcraft@lists.ubuntu.com</a><br>
                Modify settings or unsubscribe at: <a
                  moz-do-not-send="true"
                  href="https://lists.ubuntu.com/mailman/listinfo/snapcraft"
                  rel="noreferrer" target="_blank"><a class="moz-txt-link-freetext" href="https://lists.ubuntu.com/mailman/listinfo/snapcraft">https://lists.ubuntu.com/mailman/listinfo/snapcraft</a></a><br>
              </font></span></blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>