I tried to enable rsyslog encryption for certain file, but failed.
root@ubuntu-1204:~# rsyslogd -v
rsyslogd 7.4.3, compiled with:
FEATURE_REGEXP:
Yes
FEATURE_LARGEFILE: No
GSSAPI Kerberos 5 support: Yes
FEATURE_DEBUG (debug build, slow code): No
32bit Atomic operations supported: Yes
64bit Atomic operations supported: Yes
Runtime Instrumentation (slow code): No
uuid support: Yes
My config:
/etc/rsyslog.d/50-default.conf
Module (load="builtin:omfile")
local2.* action(type="omfile"
file="/var/log/local2.log" cry.provider="gcry" cry.key="testtesttesttest")
Gcry lib available (taken from another package, 'cause ubuntu doesn't have
one):
# file /usr/lib/rsyslog/lmcry_gcry.so
/usr/lib/rsyslog/lmcry_gcry.so: ELF 64-bit LSB shared object, x86-64,
version 1 (SYSV), dynamically linked,
BuildID[sha1]=0xdbd77023c59d168f8f612c18966d37bf490a73e3, stripped
At rsyslog restart it says:
Aug 23 11:21:35 ubuntu-1204 rsyslogd-3000: Note: specifying an actual key
directly from the config file is highly insecure - DO NOT USE FOR PRODUCTION
But at logging anything to local2 facility - nothing added to
/var/log/local2.log
What's wrong? Why nothing added to logfile?
Thanks in advance!
--
Best regards,
Mansur Marvanov
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.