I created separated ubifs partition and now this application works. But it has two modes of operation and I started the simplest one (running as a root).
I would like to run it in a container, but I am getting an error
starting container process caused "process_linux.go:345: container init caused \"rootfs_linux.go:62: mounting \\\"proc\\\" to rootfs \\\"/usrdata/greengrass/ggc/packages/1.7.0/rootfs/merged\\\" at \\\"/proc\\\" caused \\\"operation not permitted\\\"\
Do you know if this error is related to nesting overlay partitions (openwrt has already overlayfs on /) or is it something directly related to /proc?
I tried to remount proc:
mount -o remount,rw,relatime /proc
but mount point didn't change.
My mount points:
dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
cgroup on /sys/fs/cgroup type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,cpu,cpuacct,blkio,memory,devices,freezer,net_cls,perf_event,net_prio,pids,debug)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/mtdblock7 on /overlay type jffs2 (rw,noatime)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
/dev/mtdblock5 on /mnt type jffs2 (rw,relatime)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600,ptmxmode=000)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
ubi0:usrdata on /usrdata type ubifs (rw,relatime)