Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - lodex

#1
Wow, I totally forgot that I set this option. I remember assuming that logs would be written to the file system periodically. Would have helped if I had read the info text...

Thanks a lot for the quick reply and help!
#2
Hey folks!

Recently installed OPNsense 24.1 on a PVE host. The initial update was to 24.1.7 and I just installed the update to 24.1.8 (I'm not sure with which release the problem occured first, I'm just mentioning it so you know what the upgrade path was).
After rebooting I noticed that all log files were reset. I checked the logging settings, they are still set to default with local logging enabled, 31 log files preserved and no maximum file size. The file system has plenty of free space and I couldn't find any log entries that hinted to any problem.
The only suspicious thing I noticed is that '/var/log' is mounted as a 'tmpfs':
# mount
/dev/gpt/rootfs on / (ufs, local, soft-updates, journaled soft-updates)
devfs on /dev (devfs)
/dev/gpt/efifs on /boot/efi (msdosfs, local)
tmpfs on /var/log (tmpfs, local)
tmpfs on /tmp (tmpfs, local)
devfs on /var/dhcpd/dev (devfs)
devfs on /var/unbound/dev (devfs)
/usr/local/lib/python3.11 on /var/unbound/usr/local/lib/python3.11 (nullfs, local, read-only, soft-updates, journaled soft-updates)
/lib on /var/unbound/lib (nullfs, local, read-only, soft-updates, journaled soft-updates)

I'm pretty sure this in not correct, at least it's not the case with the 21.7.6 release we are running in a testing environment at work:
# mount
/dev/gpt/rootfs on / (ufs, local, journaled soft-updates)
devfs on /dev (devfs, local, multilabel)
devfs on /var/dhcpd/dev (devfs, local, multilabel)


Any ideas?