<div dir="ltr"><div style="font-size:12.8px">Dear community.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have a <a href="https://gitlab.com/telecom-tower/tower" target="_blank">program</a>, written in go, and running on a raspberry Pi 2, which displays messages on a LED panel. The <a href="https://www.adafruit.com/product/2294" target="_blank">panel</a> is made of "neo pixels" and is connected to the GPIO of the raspberry Pi. Internally, it uses the DMA and PWM to generate and accurate signals.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">The program currently runs well on a Raspbian system and I would like to move to ubuntu-core. I was able to build the snap and to deploy it on a raspberry Pi 2 running Core version 16. I installed the snap with "--dangerous", but as soon as the system configure the DMA/PWM/GPIO, it just freezes.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I installed snappy-debug to check the logs and this is what I get:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div><font face="monospace, monospace">= AppArmor =</font></div><div><font face="monospace, monospace">Time: Nov 6 09:28:45</font></div><div><font face="monospace, monospace">Log: apparmor="DENIED" operation="open" profile="snap.telecom-tower.<wbr>daemon" name="/dev/vcio" pid=4441 comm="tower" requested_mask="r" denied_mask="r" fsuid=0 ouid=0</font></div><div><font face="monospace, monospace">File: /dev/vcio (read)</font></div><div><font face="monospace, monospace"><br></font></div><div><font face="monospace, monospace">= Seccomp =</font></div><div><font face="monospace, monospace">Time: Nov 6 09:28:45</font></div><div><font face="monospace, monospace">Log: auid=4294967295 uid=0 gid=0 ses=4294967295 pid=4441 comm="tower" exe="/snap/telecom-tower/x1/<wbr>bin/tower" sig=31 arch=40000028 14(mknod) compat=0 ip=0x76e3aaf6 code=0x0</font></div><div><font face="monospace, monospace">Syscall: mknod</font></div><div><br></div></div><div style="font-size:12.8px">Note that if I scp the binary file and run on ubuntu core as root, then the program runs fine. (I don't install the snap, I just run the binary from the home directory.) </div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Does someone have an idea about what I can do to make my snap run?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thank you very much in advance for your support.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Best regards,</div><br clear="all" style="font-size:12.8px"><div style="font-size:12.8px"><div class="gmail-m_7947128057632303387gmail_signature"><span style="color:rgb(153,153,153)"><font size="2">█<span style="color:rgb(102,102,102)"> <span lang="FR">Jacques</span></span></font></span></div></div>
</div>