<div dir="ltr"><div><div>Hi,</div><div>I'm back from PTO and continued on the snap packaging of ntpsec.</div><div>Background details on interfaces: <a href="https://github.com/snapcore/snapd/blob/master/docs/interfaces.md">https://github.com/snapcore/snapd/blob/master/docs/interfaces.md</a></div><div><br></div><div>Based on grep -Hrn '\/dev\/' | awk '{gsub(".*/dev/", "/dev/"); print $1}' | sort |uniq</div><div>I tried to summarize what an "time-hardware" interface for snappy might be.</div><div><br></div><div>TL;DR - think of it as a list of things allowed to be accessed</div><div><br></div><div>I streamlined the list a bit for readability.</div><div>I removed some on my own like /dev/kmem being the opposite of isolation :-)</div><div>But please let me know if I forgot something.</div><div><br></div><div>/dev/acts%d+</div><div>/dev/cuaa%d+</div><div>/dev/device%d+</div><div>/dev/dumbclock%d+</div><div>/dev/gps%d+</div><div>/dev/gpspps%d+</div><div>/dev/hpgps%d+</div><div>/dev/icom</div><div>/dev/jjy%d+</div><div>/dev/neoclock4x-%d+</div><div>/dev/oncore.pps.%d+</div><div>/dev/oncore.serial.%d+</div><div>/dev/palisade%d+</div><div>/dev/pps%d+</div><div>/dev/refclock-%d+</div><div>/dev/spectracom%d+</div><div>/dev/trimble%d+</div><div>/dev/true%d"</div><div>/dev/zyfer%d+</div><div><br></div><div>- Do we also need like /dev/ttyS%d+ ?</div><div>- I hope you could suggest if we could drop some of these by being no more important today or in general?</div><div><br></div><div>To be honest - I personally only ever "met" /dev/pps, but then i'm no NTP expert so please advise what is would be reasonable to define such an interface.</div><div>If I look at the usually used apparmor profile it only lists /dev/pps as well, but provides an option to add own devices - so there might be some of the list above still important.</div><div><br></div><div>FWIW - if in doubt I'd prefer to better keep the list short.</div></div><div><br></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8px">Christian Ehrhardt</span><div style="color:rgb(136,136,136);font-size:12.8px">Software Engineer, Ubuntu Server</div><div style="color:rgb(136,136,136);font-size:12.8px">Canonical Ltd</div></div></div></div></div>
</div>