Code review comment for lp:~sergiusens/snapcraft/mono

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

If we were to add a rule, we could use this:

  /dev/shm/mono.${pid} rw,

${pid} today just expands to something approaching [0-9]* but the plan is to some day have kernel side variables such that ${pid} would correspond to the running process.

That said, we already have these rules:
/{dev,run}/shm/snaps/@{APP_PKGNAME}/ r,
/{dev,run}/shm/snaps/@{APP_PKGNAME}/** rk,
/{dev,run}/shm/snaps/@{APP_PKGNAME}/@{APP_VERSION}/ r,
/{dev,run}/shm/snaps/@{APP_PKGNAME}/@{APP_VERSION}/** mrwlkix,

Is there an environment variable that can be set in the launcher so that mono will just put the file in /dev/shm/snaps/@{APP_PKGNAME}/@{APP_VERSION}/ ?

« Back to merge proposal