i’m working on an qt/c++ application, where i need some system call’s. For testing i just wanted to write something to the journal like
system("echo test123 | systemd-cat"). This works in devmode pretty fine but in classic mode i get a page fault.
As i understand, classic mode should be able to do system calls by default?
I tried with several plugs:
plugs: [home, network, desktop, framebuffer, network-control, raw-usb, removable-media, snapd-control, client, system-observe, system-files, system-trace, process-control, log-observe, storage-framework-service].
Also snappy-debug couldn’t help with the problem.
Maybe someone has a solution or more ideas to try?
Edit: commands from snap shell are working also fine