<div dir="auto">Hi Gustavo,<div dir="auto"><br></div><div dir="auto">Unfortunately the stock kernel refused to run on my target. Would it be useful if I upload my kernel configuration?</div><div dir="auto"><br></div><div dir="auto">I got same error message on another omap4460 target which runs ti-rt-linux-4.4.y[1]. My rpi 2 w/ official image however does not have this problem. </div><div dir="auto"><br></div><div dir="auto">I'll try kernel w/o real-time patch next time. Will let you guys know if it works. Or if someone can kindly show me where can I find a functional BBB kernel (ideally w/ snapcraft.yaml), I'll try it on the omap 4460 target.</div><div dir="auto"><br></div><div dir="auto">Thanks!</div><div dir="auto"><br></div><div dir="auto">Jian</div><div dir="auto"><br></div><div dir="auto">[1] <a href="http://git.ti.com/ti-linux-kernel">git.ti.com/ti-linux-kernel</a></div><div dir="auto"><div dir="auto"><div class="gmail_extra"><br><div class="gmail_quote">On Jan 23, 2017 13:45, "Gustavo Niemeyer" <<a href="mailto:gustavo@niemeyer.net">gustavo@niemeyer.net</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div>This smells like an apparmor denial, which shouldn't happen inside the classic snap itself.<div><br></div><div>Can you reproduce the issue when using the stock kernel?</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div class="elided-text">On Fri, Jan 20, 2017 at 6:46 PM, Jian LUO <span dir="ltr"><<a href="mailto:jian.luo.cn@gmail.com" target="_blank">jian.luo.cn@gmail.com</a>></span> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="elided-text"><div dir="ltr">Hi list,<div><br></div><div>as the topic suggested I got GPG error in classic snap exactly like Bug #1577926 [1] described. strace leads me to this syscall error:</div><div><div>[pid 2650] execve("/usr/bin/apt-key", ["/usr/bin/apt-key", "--quiet", "--readonly", "verify", "--status-fd", "3", "/tmp/apt.sig.usElcl", "/tmp/apt.data.BATaU7"], [/* 32 vars */]) = -1 EPERM (Operation not permitted)</div></div><div><br></div><div>Since I use a custom kernel, I assume some config options and/or patches are missing. Can someone please give a hint on the necessary kernel configs for classic to work?</div><div><br></div><div>Here is some info on my device.</div><div><div>root@localhost:~# uname -a</div><div>Linux localhost.localdomain 4.4.24-rt33-xm21-i40-debug+ #1 PREEMPT RT Tue Nov 22 16:10:15 CET 2016 i686 i686 i686 GNU/Linux</div><div>root@localhost:~# snap --version</div><div>snap 2.20</div><div>snapd 2.20</div><div>series 16</div><div>root@localhost:~# snap info classic</div><div>name: classic</div><div>summary: "Classic environment"</div><div>publisher: canonical</div><div>description: |</div><div> Classic environment</div><div>commands:</div><div> - classic</div><div> - classic.create</div><div> - classic.reset</div><div>tracking: beta</div><div>installed: 16.04 (17) 4kB devmode</div><div>refreshed: 2016-10-05 10:18:36 +0200 CEST</div><div>channels: </div><div> beta: 16.04 (17) 0B devmode</div><div> edge: 16.04 (17) 0B devmode</div></div><div><br></div><div>Thanks a lot.</div><div><br></div><div>Jian</div><div><br></div><div>[1] <a href="https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1577926" target="_blank">https://bugs.launchpad.net/ubu<wbr>ntu/+source/apt/+bug/1577926</a><br></div></div>
<br></div><font color="#888888">--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io" target="_blank">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailm<wbr>an/listinfo/snapcraft</a><br>
<br></font></blockquote></div><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_-8792209461935932394gmail_signature" data-smartmail="gmail_signature"><br>gustavo @ <a href="http://niemeyer.net" target="_blank">http://niemeyer.net</a></div>
</font></div>
<br>--<br>
Snapcraft mailing list<br>
<a href="mailto:Snapcraft@lists.snapcraft.io">Snapcraft@lists.snapcraft.io</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/snapcraft" rel="noreferrer" target="_blank">https://lists.ubuntu.com/<wbr>mailman/listinfo/snapcraft</a><br>
<br></blockquote></div><br></div></div></div></div>