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

systemd-journald assertions being triggered #9886

Closed
lmacken opened this issue Dec 24, 2014 · 0 comments
Closed

systemd-journald assertions being triggered #9886

lmacken opened this issue Dec 24, 2014 · 0 comments
Labels
bug This issue/PR relates to a bug.

Comments

@lmacken
Copy link
Contributor

lmacken commented Dec 24, 2014

I am triggering systemd assertions with this playbook:

---
- hosts: all
  tasks:
    - replace: dest=/tmp/foo regexp=foo replace=bar

Which boils down to the following in the module_utils/basic.py:

from systemd import journal
journal_args = ['MESSAGE=ansible-<stdin> Invoked with src=None directory_mode=None force=None remote_src=None dest=/tmp/foo selevel=None seuser=None serole=None replace=bar content=NOT_LOGGING_PARAMETER setype=None delimiter=None mode=None regexp=foo owner=None follow=False validate=None backup=False group=None ', 'MODULE=<stdin>', 'SRC=None', 'DIRECTORY_MODE=None', 'FORCE=None', 'REMOTE_SRC=None', 'DEST=/tmp/foo', 'SELEVEL=None', 'SEUSER=None', 'SEROLE=None', 'REPLACE=bar', 'CONTENT=NOT_LOGGING_PARAMETER', 'SETYPE=None', 'DELIMITER=None', 'MODE=None', 'REGEXP=foo', 'OWNER=None', 'FOLLOW=False', 'VALIDATE=None', 'BACKUP=False', 'GROUP=None']
journal.sendv(*journal_args)

Which triggers this issue with systemd-216-13.fc21.x86_64:

systemd-journal[13307]: Permanent journal is using 2.9G (max allowed 4.0G, trying to leave 4.0G free of 38.8G available → current limit 4.0G).
systemd-journald[13252]: Assertion 'n + 20 + (object_pid ? 11 : 0) <= m' failed at ../src/journal/journald-server.c:575, function dispatch_message_real(). Aborting.
systemd-journal[13307]: Journal started
systemd[1]: systemd-journald.service: main process exited, code=dumped, status=6/ABRT
systemd[1]: Unit systemd-journald.service entered failed state.
@bcoca bcoca added P3 labels Dec 25, 2014
abadger added a commit that referenced this issue Jan 20, 2015
Use send instead of sendv on the systemd.journal (fixes #9886)
@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 6, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug.
Projects
None yet
Development

No branches or pull requests

3 participants