Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
pluginctl -s syslogd restart overwrites /var/etc/syslog.conf
« previous
next »
Print
Pages: [
1
]
Author
Topic: pluginctl -s syslogd restart overwrites /var/etc/syslog.conf (Read 2325 times)
dgktkr
Newbie
Posts: 18
Karma: 0
pluginctl -s syslogd restart overwrites /var/etc/syslog.conf
«
on:
November 20, 2019, 09:46:04 pm »
Hi,
Noob here. I'm trying explore syslog capabilities in 20.1 (with FreeBSD 12.1) by editing /var/etc/syslog.conf and restarting the service. The problem is that the restart rewrites syslog.conf and wipes out the modifications.
Where can I put edits so that they survive a restart? I've looked through various /etc rc files and I can't find where rewriting the conf file is implemented.
FWIW plain FreeBSD 12.1 doesn't seem to do that to /etc/syslog.conf.
Logged
xpac
Newbie
Posts: 3
Karma: 0
Re: pluginctl -s syslogd restart overwrites /var/etc/syslog.conf
«
Reply #1 on:
July 14, 2020, 12:58:03 am »
Did you ever figure this out? Also looking to implement some forwarding here...
Found it, documenting here as it was the first google result for my issue:
The file
Code:
[Select]
/usr/local/etc/inc/system.inc
contains a function named
Code:
[Select]
system_syslogd_start
, the file is defined and written there. I dont' have any idea yet how to change it so that it survives an OPNsense update, so...
«
Last Edit: July 14, 2020, 01:04:10 am by xpac
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Development and Code Review
(Moderator:
fabian
) »
pluginctl -s syslogd restart overwrites /var/etc/syslog.conf