How do you add config files - "file" can't find it's configuration files?

Jamie Strandboge jamie at canonical.com
Fri Sep 16 13:45:22 UTC 2016


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160916/2c68cd5f/attachment.sig>


More information about the Snapcraft mailing list