Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syslog ng fix issue #17744 #26043

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

c-spiess
Copy link

Maintainer: @stokito, @BKPepe

Compile tested: (x86/64, 24.10.0)
No need to compile, just init.d script changes

Run tested: (x86/64, 24.10.0)
Syslog-ng waits for loopback to be ready
Close TCP connections on shutdown.

Description:
This PR fixes issue #17744.
It also adds a STOP rule to close TCP connections on shutdown.
For paranoia respawn is added to procd settings.

@stokito
Copy link
Contributor

stokito commented Feb 23, 2025

The PR can't be merged until you change commit messages to follow rules. You need to add a prefix with a package name like syslog-ng: Respawn syslog-ng service on failure..

Also to the end of a commit message you need to add Signed-off-by: Carsten Spieß <[email protected]>

…tartup.

In some circumstances it's possible that syslog-ng service starts before loopback is available.
In this case syslog-ng terminiates without further notice.
This commit adds a wait condition for the loopback device to become ready.

Signed-off-by: Carsten Spieß <[email protected]>
…hutdown.

This will close existing TCP connections.

Signed-off-by: Carsten Spieß <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syslog-ng does not start at boot on OpenWrt 24.10 with extroot
3 participants