-
Notifications
You must be signed in to change notification settings - Fork 468
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
python-parser requires updated apparmor profile otherwise got SIGSEGV #2625
Comments
Thanks for reporting, and for the suggestion. |
No. The one in openSUSE is from AppArmor upstream:
|
@czanik does this part of the opensuse repo ? |
OpenSUSE requires the contribution to be sent to their bugzilla as well to Apparmor's mailing list: https://en.opensuse.org/SDB:AppArmor However Debian suggest directly contributing to Apparmor's Git repo, although I could not find any syslog-ng profile there: https://wiki.debian.org/AppArmor/Contribute/Upstream The logic is the same, commit to upstream, then they will pick the changes from there. https://git.launchpad.net/apparmor/tree/profiles/apparmor.d/sbin.syslog-ng |
Upstream AppArmor moved from launchpad to gitlab.com, so the best way is to send a merge request to https://gitlab.com/apparmor/apparmor/ Bugreports at various places (bugzilla.opensuse.org, bugs.debian.org, launchpad and gitlab.com) will also work, but if you already know what needs to be changed, a merge request is less paperwork ;-) In this specific case, I made it easy for you and just opened |
That's very kind of you. |
The upstream merge request has been merged: https://gitlab.com/apparmor/apparmor/merge_requests/361 @cboltz Thanks for submitting the fix. |
When running syslog-ng with a defined python-parser, it needs access to python libraries. For details about python-parser, see https://www.syslog-ng.com/community/b/blog/posts/format-your-log-messages-in-python References: syslog-ng/syslog-ng#2625
syslog-ng: add abstractions/python for python-parser When running syslog-ng with a defined python-parser, it needs access to python libraries. For details about python-parser, see https://www.syslog-ng.com/community/b/blog/posts/format-your-log-messages-in-python References: syslog-ng/syslog-ng#2625 PR: https://gitlab.com/apparmor/apparmor/merge_requests/361 Signed-off-by: John Johansen <john.johansen@canonical.com>
syslog-ng
Version of syslog-ng
Platform
OpenSUSE Leap 15.0 (and possibly other apparmor based distros like Ubuntu)
Issue
Failure
Checking configuration syntax (syslog-ng -s) ends up in SIGSEGV
Steps to reproduce
start syslog-ng with a defined python-parser
experience SIGSEGV of syslog-ng
See gdb backtrace. https://pastebin.com/Gpby35Nb
Configuration
https://pastebin.com/6tDb0Ar5
Resolution
Add the following element to the syslog-ng apparmor profile.
Activate the changes.
The text was updated successfully, but these errors were encountered: