On Fri, 2016-09-16 at 08:11 -0500, Dave Chiluk wrote:
> Can't we do something more elegant than that?  Having to implement
> wrappers and or code changes to each and every program with hardcoded
> values seems overly painful.
> 
> Couldn't we do something fancy/smart with system calls such that fopen
> prepends $SNAP to most requests?  I can't imagine there being more than
> a few system calls that would need to be modified.
> 

There is a bug related to this[1] and the idea Gustavo had is that snappy would
provide a way for you to declare in your yaml a way to map /etc/magic to
$SNAP/etc/magic.

[1]https://bugs.launchpad.net/snapcraft/+bug/1577514/comments/6

-- 
Jamie Strandboge             | http://www.canonical.com

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to