python-systemd - Python wrappers for systemd functionality

Property Value
Distribution openSUSE Leap 42.3
Repository Security all
Package name python-systemd
Package version 234
Package release 24.1
Package architecture x86_64
Package type rpm
Installed size 256.07 KB
Download size 63.80 KB
Official Mirror
Python module for native access to the systemd facilities. Functionality is
seperated into a number of modules:
* systemd.journal supports sending of structured messages to the journal and
reading journal files,
* systemd.daemon wraps parts of libsystemd useful for writing daemons and
socket activation,
* systemd.id128 provides functions for querying machine and boot identifiers
and a lists of message identifiers provided by systemd,
* systemd.login wraps parts of libsystemd used to query logged in users and
available seats and machines.


Package Version Architecture Repository
python-systemd-231-5.2.x86_64.rpm 231 x86_64 openSUSE Oss
python-systemd - - -


Name Value - - - - - - - -
python(abi) = 2.7
systemd -


Name Value - - - - -
python-systemd = 234-24.1
python-systemd(x86-64) = 234-24.1
python2-systemd = 234-24.1


Type URL
Binary Package python-systemd-234-24.1.x86_64.rpm
Source Package python-systemd-234-24.1.src.rpm

Install Howto

  1. Add the Security repository:
    # zypper addrepo security
  2. Install python-systemd rpm package:
    # zypper install python-systemd




2017-11-14 -
- Use more of python building macros
- Do not build documentation (build is broken if /usr/bin/python is
not present anyways)
- Run spec-cleaner
2017-11-06 -
- iso-c-90.patch added to fix building on SLE12-SP3
2017-10-07 -
- singlespec
2017-06-26 -
- exclude-tests-on-obs.patch: Exclude test which fail because of
a bug in the OBS:
- Upgrade to release 234
* _daemon,_reader: return ENOSYS instead of NotImplemented
* _daemon: allow specifying flowinfo
* Added section for installation on openSUSE & SLE
* Adjust import order, spacing, operators as recommended by pylint
* build-sys: add sign and upload targets
* daemon: add basic support for sd_is_socket_sockaddr
* daemon: add wrapper for sd_is_socket_sockaddr and tests
* daemon: properly skip sd_is_socket_sockaddr calls if not available
* Fix handling of addresses without port and add tests
* Fix styling to match PEP8 in most places
* Improve test skipping on old systems
* Include all fields from record
* journal: do not convert extra args to string in JournalHandler
* journal: fix repr of JournalHandler to match python3.6
* journal: improve docstring formatting a bit
* journal: rename SENDER_FUNCTION to sender_function
* Makefile: add "doc" target for convenience
* Makefile: add convenience "shell" target to start python shell
* Makefile: remove unneeded -I/usr/include from flags
* Makefile: use $(INCLUDE_DIR) also for compilation
* Prevent non-str values from being concatenated with +
* Python 3.6 invalid escape sequence deprecation fixes
* Remove mid from JournalHandler
* replace dict.iteritems() with dict.items() to support py3
* allow LIBSYSTEMD_VERSION to be overridden
* test_daemon: xfail test_notify_with_socket if bind() fails
* test_journal: add tests for MESSAGE_ID passing
* tests: move login tests from doctest to separate file
* tests: skip tests on ENOENT error
* Update to constants from systemd-233
* util: add compatibility for old glibc
2017-06-12 -
- Upgrade to release 233:
+ Tests are fixed and should pass on various old and new systems
+ can be used without arguments and defaults to
- Changes from version 232:
+ Wrappers for sd_journal_enumerate_unique, has_runtime_files,
+ sd_journal_open_directory_fd, sd_journal_open_files_fd can be
used by passing file descriptors to the initializer as the path
or files arguments.
2017-01-02 -
- add doc package
2015-10-31 -
- Upgrade to release 231
* Various build fixes and cleanups: documentation can be generated with 'make
sphinx-html', pip install works out of the box.
* Tests that cover most of the python code were added. As a result, a bug in
sd_is_mq was fixed in systemd 227.
* Functions sd_pid_notify and sd_pid_notify_with_fds are now wrapped as
optional arguments to notify(), when compiled against a new-enough
- Run tests
- Removed obsolete python-systemd-libraries-for-opensuse-1310.patch patch
- New build dependencies had been added
2015-10-22 -
- python-systemd-libraries-for-opensuse-1310.patch allows compilation
on openSUSE 13.1
2015-10-19 -
- Initial release 230
- This package is needed to resolve
bnc#917818 - fail2ban can not use systemd-journal to ban ips

See Also

Package Description
python2-capng-0.7.9-40.1.x86_64.rpm Python bindings for libcap-ng library
python3-capng-0.7.9-40.1.x86_64.rpm Python bindings for libcap-ng library
python3-pyscard-1.9.7-10.1.x86_64.rpm Python module adding smart card support
python3-systemd-234-24.1.x86_64.rpm Python wrappers for systemd functionality
qtpass-1.2.1-1.1.x86_64.rpm A multi-platform gui for pass
ratproxy-1.58-1.1.x86_64.rpm A passive web application security assessment tool
rats-2.4-3.1.x86_64.rpm Rough Auditing Tool for Security
rkhunter-1.4.6-63.1.x86_64.rpm A scanner for Rootkits, Backdoors, and Local Exploits
scap-workbench-1.1.5-32.5.x86_64.rpm A SCAP scanner and SCAP content editor
scap-workbench-doc-1.1.5-32.5.x86_64.rpm Documentation for scap-workbench
scapy-2.4.0-1.1.noarch.rpm Interactive Packet Manipulation Tool
scponly-20110526-1.1.x86_64.rpm Restricted shell for ssh and scp only access
scrub-2.6.1-14.1.x86_64.rpm Disk scrubbing program
scrypt-1.2.1-8.1.x86_64.rpm Password-based encryption utility using the scrypt key derivation function
seccheck-3.0-1401.1.noarch.rpm Security-Check Scripts