-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snapcraft: prime fusermount3 binary #214
Conversation
With the move from fuse to fuse3, the package content changed: from fuse: /bin/fusermount (binary) to fuse3: /bin/fusermount -> fusermount (compat symlink) /bin/fusermount3 (binary) However, the snapcraft.yaml wasn't updated accordingly meaning that we only shipped the (broken) symlink: $ ll /snap/lxd/current/bin/fusermount* lrwxrwxrwx 1 root root 11 Mar 23 2022 /snap/lxd/current/bin/fusermount -> fusermount3 Signed-off-by: Simon Deziel <[email protected]>
@mihalicyn it seems the problem was introduced by commit 7d6f740 in Oct 2022, I'm surprised nobody noticed/complained for that long. I've only found While you are at it, would you mind checking if the
That doesn't look right to me but you are the SME. |
Or maybe the |
Good catch! It should affect
I agree with you. I think there should be something like |
This thing is about handling libfuse minor version upgrades. For example, when 2.7 becomes 2.8 we need to restart the whole LXCFS process to start using a new libfuse version. But this piece of code was not designed (and changed appropriately) to handle libfuse3. That's awesome that you have noticed that. ;) |
Good that answers my next question about the need to keep this even after the transition to fuse3, thanks! Maybe we could make the sed work with both fuse and fuse3 to make it easier. |
yes, I guess that this |
With the move from
fuse
tofuse3
, the package content changed:from
fuse
:to
fuse3
:However, the snapcraft.yaml wasn't updated accordingly meaning that we only shipped the (broken) symlink:
Note: this also affects the 5.0 branch (I'll send another PR after this one gets merged).