[syslog-ng] 3.22.1: understanding the location of the python's part

László Várady (lvarady) Laszlo.Varady at oneidentity.com
Wed Aug 14 12:35:03 UTC 2019


Hi,

We've moved Python code that does not work outside of the syslog-ng process under the moduledir/python folder.
The mentioned "moduledir" happens to be lib64 in the RPM packaging as I see.

These are not standalone libraries or tools, they are plugin-related codes for syslog-ng;
they highly depend on an architecture-specific C module, libmod-python.so.

--
László Várady

________________________________________
From: syslog-ng <syslog-ng-bounces at lists.balabit.hu> on behalf of Sergey <a_s_y at sama.ru>
Sent: Wednesday, August 14, 2019 9:54
To: syslog-ng at lists.balabit.hu
Subject: [syslog-ng] 3.22.1: understanding the location of the python's part

CAUTION: This email originated from outside of the organization. Do not follow guidance, click links, or open attachments unless you recognize the sender and know the content is safe.


Hello

I see that in 3.22 has changed the location of the python's part
(relative 3.20): architecture independent files moved to architecture
specific directory (lib64 on x86_64).

For example, rhel spec 3.20 (syslog-ng-3.20.1/packaging/rhel/syslog-ng.spec)

%files python
/usr/lib/python2.7/site-packages/syslogng-1.0-py2.7.egg-info
%dir /usr/lib/python2.7/site-packages/syslogng/
%dir /usr/lib/python2.7/site-packages/syslogng/debuggercli/
/usr/lib/python2.7/site-packages/syslogng/*
/usr/lib/python2.7/site-packages/syslogng/debuggercli/*
%{_libdir}/%{name}/libmod-python.so

The same in 3.22

%files python
%{_libdir}/%{name}/python/syslogng-1.0-py%{py_ver}.egg-info
%{_libdir}/%{name}/python/syslogng/*
%{_libdir}/%{name}/libmod-python.so

Is the architecture specific file libmod-python.so only?
Or am I missing something?

--
Regards, Sergey
______________________________________________________________________________
Member info: https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.balabit.hu%2Fmailman%2Flistinfo%2Fsyslog-ng&data=02%7C01%7Claszlo.varady%40oneidentity.com%7C8e170cbd039544a20ff508d7208cba6d%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637013661139825083&sdata=VGv5f0Z7fnogO7yO8gDIGXZKU0aLiy1SFxujnkWtHkQ%3D&reserved=0
Documentation: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fsupport%2Fdocumentation%2F%3Fproduct%3Dsyslog-ng&data=02%7C01%7Claszlo.varady%40oneidentity.com%7C8e170cbd039544a20ff508d7208cba6d%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637013661139825083&sdata=iUTAsfcSSum1ACcOu0mlauCdmZPtbidtCJx3cDWts7c%3D&reserved=0
FAQ: https://nam05.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.balabit.com%2Fwiki%2Fsyslog-ng-faq&data=02%7C01%7Claszlo.varady%40oneidentity.com%7C8e170cbd039544a20ff508d7208cba6d%7C91c369b51c9e439c989c1867ec606603%7C0%7C1%7C637013661139825083&sdata=suhxHljaz3iJK1UE%2ByCyZKy6ye0jKTQAwWjk9qovWRo%3D&reserved=0



More information about the syslog-ng mailing list