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 put the module's source code (palaver.cpp) into /znc-data/modules and it compiles:
$ podman logs irc-bouncer
Building modules ./palaver.cpp...
-- The CXX compiler identification is GNU 9.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found ZNC 1.8.0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp7d4yjreb
Scanning dependencies of target module_palaver
[ 50%] Building CXX object CMakeFiles/module_palaver.dir/znc-data/modules/palaver.cpp.o
[100%] Linking CXX shared module palaver.so
[100%] Built target module_palaver
Checking for list of available modules...
Opening config [/znc-data/configs/znc.conf]...
Loading global module [webadmin]...
Loading global module [fail2ban]...
Binding to port [+36697] using ipv4...
Loading user [connor]
Loading network [freenode]
Loading network module [nickserv]...
Loading network module [simple_away]...
Adding 1 servers...
Loading network [oftc]
Loading network module [nickserv]...
Loading network module [simple_away]...
Adding 1 servers...
Loading user module [chansaver]...
Loading user module [controlpanel]...
Staying open for debugging [pid: 58]
ZNC 1.8.0 - https://znc.in
However when I go to load the modules:
Unable to load palaver: Unable to open module palaver:
Error loading shared library /znc-data/modules/palaver.so: Operation not permitted
Host is Fedora 32 running podman version 1.9.1
Everything under /znc-data is owned by user znc and group znc
The text was updated successfully, but these errors were encountered:
I can't make podman work at all: Error: container_linux.go:349: starting container process caused "process_linux.go:449: container init caused \"rootfs_linux.go:58: mounting \\\"cgroup\\\" to rootfs \\\"/var/lib/containers/storage/overlay/8d599b9af9761a6ee2af2391d98dbb473d4ef988fa896efe3c253b276f54cb4b/mer ged\\\" at \\\"/sys/fs/cgroup\\\" caused \\\"invalid argument\\\"\"": OCI runtime error
Works fine for me in docker.
DarthGandalf
changed the title
Loading modules: error loading shared library operation not permitted
Loading modules with podman: error loading shared library operation not permitted
May 14, 2020
I put the module's source code (
palaver.cpp
) into/znc-data/modules
and it compiles:However when I go to load the modules:
Host is Fedora 32 running podman version 1.9.1
Everything under
/znc-data
is owned by userznc
and groupznc
The text was updated successfully, but these errors were encountered: