Symlink to snapcraft apps no longer working

Didier Roche didrocks at ubuntu.com
Mon Nov 14 09:52:50 UTC 2016


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?

Cheers,
Didier




More information about the Snapcraft mailing list