View previous topic :: View next topic |
Author |
Message |
jagdpanther l33t
Joined: 22 Nov 2003 Posts: 764
|
Posted: Sat Nov 30, 2024 6:59 pm Post subject: syslog-ng-4.8.1 gives seek errors on /dev/kmsg |
|
|
After updating to syslog-ng-4.8.1 today I received lots of messages like the following. Usually immediately after syslog-ng added a line to /var/log/messages:
Code: | syslog-ng[2572]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)' |
Here are the details:
Rebooting does not affect the issue.
My workaround is to downgrade. (emerge =app-admin/syslog-ng-4.6.0 -- The /dev/kmsg error messages are gone.)
When using syslog-ng-4.8.1, some message lines in /var/log/messages are followed immediately by the /dev/kmsg seek error message. Here are some examples:
Code: |
Nov 30 08:58:24 runner-public kernel: IPv4: martian source 192.168.7.7 from 34.107.244.93, on dev eno2
Nov 30 08:58:24 runner-public kernel: ll header: 00000000: 08 bf b8 6c 31 7b a4 43 8c 40 69 00 08 00
Nov 30 08:58:24 runner-public syslog-ng[1054374]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)'
...
Nov 30 09:13:01 runner-public kernel: inRules: IN=eno2 OUT= MAC=ff:ff:ff:ff:ff:ff:70:a7:41:ed:f4:b9:19:00 SRC=192.168.0.100 DST=255.255.255.255 LEN=32 TOS=0x00 PREC=0x00 TTL=64 ID=43838 DF PROTO=UDP SPT=51012 DPT=10001 LEN=12
Nov 30 09:13:01 runner-public syslog-ng[2572]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)'
Nov 30 09:13:12 runner-public kernel: inRules: IN=eno2 OUT= MAC=ff:ff:ff:ff:ff:ff:70:a7:41:ed:f4:b9:19:00 SRC=192.168.0.100 DST=255.255.255.255 LEN=32 TOS=0x00 PREC=0x00 TTL=64 ID=44171 DF PROTO=UDP SPT=51012 DPT=10001 LEN=12
Nov 30 09:13:12 runner-public syslog-ng[2572]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)'
...
Nov 30 09:24:06 runner-public polkitd[3610]: Started polkitd version 123
Nov 30 09:24:06 runner-public kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Nov 30 09:24:06 runner-public syslog-ng[2572]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)'
Nov 30 09:24:06 runner-public kernel: nvidia-uvm: Loaded the UVM driver, major device number 243.
Nov 30 09:24:06 runner-public syslog-ng[2572]: Error invoking seek on file; filename='/dev/kmsg', error='Invalid argument (22)' |
Note: "inRules" above is from my ipTables configuration.
Any ideas on this /dev/kmsg seek error? |
|
Back to top |
|
|
acmondor n00b
Joined: 08 Aug 2014 Posts: 64 Location: Canadian Prairies
|
Posted: Sun Dec 01, 2024 5:41 pm Post subject: |
|
|
There is a bug open for that: https://bugs.gentoo.org/945490
Like you I just went back to 4.6.0 for now. Not because of the above mentioned bug, which has a work around, but because the upgrade to 4.8.1 clobbered my /etc/syslog-ng/syslog-ng.conf file for some reason that I haven't figured out yet. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|