Another small new feature is ploop-related. When you start (or mount) a ploop-based container, fsck for its inner filesystem is executed. This mimics the way a real server works -- it runs fsck on boot. Now, there is a 1/30 or so probability that fsck will actually do filesystem check (it does that every Nth mount, where N is about 30 and can be edited with tune2fs). For a large container, fsck could be a long operation, so when we start containers on boot from the /etc/init.d/vz initscript, we skip such check to not delay containers start-up. This is implemented as a new --skip-fsck option to vzctl start.
tar xvzf arc.tar.gz --strip=1Stunnel поддерживает возможность подгрузки engine через свой конфигурационный файл. Поэтому модификация исходных текстов не требуется. Но при сборке скрипту configure требуется указать опцию --disable-rsa. Stunnel, собранный без этой опции поддерживает только алгоритм RSA. С этой опцией поддерживаются все алгоритмы, поддерживаемые нижележащей OpenSSL, в том числе и RSA.
ВНИМАНИЕ! Stunnel не считывает стандартный конфигурационный файл OpenSSL. Поэтому engine должна быть размещена в умолчательном каталоге engines установленной OpenSSL.
#include <stdio.h>
int main(){ fprintf(stdout,"Test STDOUT\n"); fprintf(stderr,"Test STDERR\n");
return 0;
$ gcc test_redir.c -o test_redir$ chmod +x test_redir
$ mkfifo test_out$ mkfifo test_err$ ./test_redir 1>test_out 2>test_err$ cat tmp/test_outTest STDOUT$ cat tmp/test_errTest STDERRvlc.var.add_callback( vlc.object.libvlc(), "key-pressed", key_press )
#!/bin/sh
mkfifo dummy
cat dummy | nc -u 177.22.37.11 6800
my_process 2>&1 | tee -a dummy
rm dummy