The start of postgresql inside the jail fails with the error message
For error correction, the parameter "jail_sysvipc_allow="YES" must be specified on the host in the "/etc/sysctrl.conf beforehand (see here)sql postgres[3879]: [2-1] FATAL: could not create shared memory segment: Function not implemented
sql postgres[3879]: [2-2] DETAIL: Failed system call was shmget(key=5432001, size=48, 03600).
Created commands
Code: Select all
echo 'jail_sysvipc_allow="YES"' >> /etc/sysctl.conf
echo 'jail_sysvipc_allow="YES"' >> /etc/rc.confThis is executed and placed correctly in the "/etc/sysctl.conf" and "/etc/rc.conf".
But that doesn´t work because postgresql inside the jail won´t start.
If i use
Code: Select all
jail -m -n sql allow.sysvipc=1But the command is only valid until the next start of the jail, so I couldn`t use it during boot on the host.
Any help is appreciated.
