Besides just putting a file into a place, there's a problem of
filesystem paths inside configuration file.

It's quite typical for almost any configuration file to have a setting
similar to the following:

logfile=/var/log/app/logfile.log

which may eventually become:

logfile=/home/joe/snap/app/x1/var/log/app/logfile.log

or simply

logfile=/home/joe/snap/app/x1/logfile.log

etc.

This $HOME directory will change depending on which system user runs an
app. So, there's also a need to somehow process a configuration file and
set all such filesystem paths correctly before application is run.

Ivan

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1611287

Title:
  provide canonical way to install templates and configuration files
  into $SNAP_* dirs

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapcraft/+bug/1611287/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to