Access to other commands

Mark Shuttleworth mark at ubuntu.com
Thu Sep 15 16:11:17 UTC 2016


On 15/09/16 08:11, Robert Park wrote:
> 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.


Right, I think this is a discussion about snapping up CLI utilities. It
would be great to have an awk-of-the-day :)

Mark





More information about the Snapcraft mailing list