Access to other commands

Robert Park robert.park at canonical.com
Thu Sep 15 15:11:07 UTC 2016


On Thu, Sep 15, 2016 at 5:00 AM, Zygmunt Krynicki
<zygmunt.krynicki at canonical.com> wrote:
> As discussed a few times this is technically challenging to do.
>
> All of “classic” is visible from /var/lib/snapd/hostfs/ but there is no guarantee that you can run them in any way. They may require the classic dynamic linker, the classic runtime libraries and the classic filesystem layout that are all lost when snap-confine sets up the execution environment. If there’s desire to run executables from the outside we could look for solutions but this is not as simple as “just use devmode”

Yes, see my other thread where I have a script that needs to add a
PPA, even running in devmode and chrooting back to
/var/lib/snapd/hostfs, everything is still broken. Would be great if
snap offered some alternative for shell scripts that need to just run
unrestricted on the host system.

-- 
robru




More information about the Snapcraft mailing list