You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was curious if it would be possible to make a snap package for this. I want to install it on a Ubuntu Core device (i.e. Raspberry Pi 3). I think would be great since people seem to be using this for hooking Amazon Cloud Drive to NextCloud (which has a snap).
I tried to start making it a snap and was successful, except I can't get the mounting to work. The acdcli comand such as sync & ls work. The mount command works, yet the folder is empty even though the system says there is a filesystem mounted there. I did all the testing in devmode so there aren't any confinement issues.
I was curious if someone who know more about mounts and FUSE could give me some pointer on how to debug this. Thanks, Joe
Snapcraft.yaml
version: "0.1"
summary: A test of creating a snap package for acd_cli
description: A test of creating a snap package for acd_cli
confinement: strict
apps:
acdcli:
command: acd_cli
plugs:
- fuse-support
- network
- network-control
- mount-observe
parts:
acdcli:
plugin: python
source: https://github.com/yadayada/acd_cli/archive/0.3.2.tar.gz
Output of mount after running acdcli mount without foreground
root@localhost:~# ls /mnt/testmnt/
root@localhost:~#
root@localhost:~# mount | grep acd
/var/lib/snapd/snaps/acdcli_x1.snap on /snap/acdcli/x1 type squashfs (ro,relatime)
/var/lib/snapd/snaps/acdcli_x1.snap on /writable/system-data/snap/acdcli/x1 type squashfs (ro,relatime)
nsfs on /run/snapd/ns/acdcli.mnt type nsfs (rw)
The text was updated successfully, but these errors were encountered:
I've encountered similar issues using docker, where I map a host folder into the container, mount acdcli there and can see everything fine from within the container, but see nothing back on the host machine.
If snaps work in a similar way, the issue appears to be mount namespacing in the kernel. If you find a solution to this, please let us know!
On Wed, 31 May 2017, 01:16 bgemmill, ***@***.***> wrote:
I've encountered similar issues using docker, where I map a host folder
into the container, mount acdcli there and can see everything fine from
within the container, but see nothing back on the host machine.
If snaps work in a similar way, the issue appears to be mount namespacing
in the kernel. If you find a solution to this, please let us know!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#531 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQTBhBmBwEUiOKspPinY9sxjo2zQz_P-ks5r_LFwgaJpZM4L-t9v>
.
Hello,
I was curious if it would be possible to make a snap package for this. I want to install it on a Ubuntu Core device (i.e. Raspberry Pi 3). I think would be great since people seem to be using this for hooking Amazon Cloud Drive to NextCloud (which has a snap).
I tried to start making it a snap and was successful, except I can't get the mounting to work. The acdcli comand such as
sync
&ls
work. The mount command works, yet the folder is empty even though the system says there is a filesystem mounted there. I did all the testing indevmode
so there aren't any confinement issues.I was curious if someone who know more about mounts and FUSE could give me some pointer on how to debug this. Thanks, Joe
Snapcraft.yaml
Output of mount command (in debug mode)
Output of mount after running acdcli mount without foreground
The text was updated successfully, but these errors were encountered: