Symlink to snapcraft apps no longer working

Martin Winter mwinter at opensourcerouting.org
Wed Nov 16 02:36:25 UTC 2016


On 14 Nov 2016, at 1:52, Didier Roche wrote:

> Le 14/11/2016 à 10:41, Zygmunt Krynicki a écrit :
>>> Wiadomość napisana przez Martin Winter 
>>> <mwinter at opensourcerouting.org> w dniu 11.11.2016, o godz. 10:54:
>>>
>>> Not sure when this (recently) changed.
>>>
>>> All apps as defined by a snap are prefixed with the snap name
>>>
>>> Ie, I have under apps a “vtysh” defined, which then ends up as
>>> quagga.vtysh (for the quagga snap).
>>>
>>> So far no issue.
>>>
>>> Now, a few weeks/months back, I was able to create a symlink
>>> with “vtysh” pointing to “quagga.vtysh” and then could use 
>>> the same
>>> simple “vtysh” command to call the app. (same as traditional 
>>> package installs)
>>
>> I think this is related to snap-run. You may have noticed that the 
>> quagga.vtysh itself is a symlink to /usr/bin/snap. The new „snap 
>> run” command understands symlinks and uses this as a hint on what 
>> to run.
>
> Oh, good catch! Any way to get that fixed?
> Martin, do you mind filing a bug?

Done
https://bugs.launchpad.net/snappy/+bug/1642117

- Martin




More information about the Snapcraft mailing list