bastille
bastille copied to clipboard
[BUG] LOG in Bastillefile is not working
[MANDATORY] Describe the bug [MANDATORY]
I want to be able to log my templatings.
In the README.md
, it says that I can log with LOG /path/to/file
.
[MANDATORY] Bastille and FreeBSD version (paste bastille -v && freebsd-version -kru
output)
root@nas ~# bastille -v && freebsd-version -kru
0.8.20210115
13.0-RELEASE
13.0-RELEASE
13.0-RELEASE
[MANDATORY] How did you install bastille? (port/pkg/git) pkg
[optional] Steps to reproduce? Add this line to a Bastillefile
LOG /var/log/bastille/jail1_template.log
$ bastille template jail1 services/jail1
[...]
Failed to execute command: log
[optional] Expected behavior
Bastille creating a log file on the host (and not the jail) which will be listed with bastille list logs
.
The readme says »Planned template hooks include: PF
, LOG
«. Unfortunately they are not implemented yet.
Still, this might be a good issue to track the progress of the LOG
hook.
Oh sorry, misunderstood that, ok, let's keep it :)
@tobiastom what readme has this in it?? I cannot find a reference to a LOG hook anywhere.
It was mentioned here, but was it was removed, maybe there is no need for a log hook anymore.
documentation was updated, no action item for this ticket anymore.