Hello, I made a test snap and install it as classic mode. it just run linux command in snap environment
test: plugs: [block-devices,network-bind,mount-control,mount-observe,network-control,steam-support,network,system-observe,hardware-observe] command: bin/test.sh $1 $2 $3 $4 $5 $6 $7 $8 $9
bin/test.sh: $1 $2 $3 $4 $5 $6 $7 $8 $9
It is ok when I try pv commands and vg commands But it reports
> /run/lvm/lvmetad.socket: connect failed: No such file or directory > WARNING: Failed to connect to lvmetad. Falling back to internal scanning. > /dev/mapper/control: open failed: Operation not permitted > Failure to communicate with kernel device-mapper driver. > Check that device-mapper is available in the kernel. > Incompatible libdevmapper (unknown version) and kernel driver (unknown version). > striped: Required device-mapper target(s) not detected in your kernel. > Run `lvcreate --help' for more information.
When I try to create lv with command: snap.test “lvcreate -n1 -L1G Test3” and there is no report from snappy-debug
Who can help me?