[strongSwan] Logging to a file is set up, but is not worked (Solved) !
cpservicespb at gmail.com
Sun Jul 27 11:28:04 CEST 2014
I have set up loggin of Strongswan to a file, to /var/log/strongswan.log.
But nothing was changed except error in syslog file, where 'opening file
/var/log/strongswan/strongswan.log for logging failed: Permission denied'
I didn' t find description of solving for this issue.
I think it is necessary to include it to strongswan docs/at site and so on.
So, I have solved this issue, that is impossibility logging to a file.
It is necessary to add full path + file name to
apparmor/usr.lib.isec.charon with rw access rights, then restart ipsec and
voila, logging to the file has been started !
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users