Skip to content
This repository was archived by the owner on Oct 5, 2023. It is now read-only.
This repository was archived by the owner on Oct 5, 2023. It is now read-only.

journald versions incompatibilities #70

@jhoareau

Description

@jhoareau

Hi Segment team @achille-roussel @jnjackins ,

We've been encountering an issue with the logger not posting to CloudWatch after having upgraded our ECS host instances to Ubuntu 18.04. After some investigation, we realised that journald inside the Docker image could not read the journal from our host instance:

root@f0298aa93076:/# journalctl | tail
Journal file /run/log/journal/0caac9ee81044a2e884eba8299ce5bba/user-1000.journal uses an unsupported feature, ignoring file.

Also, we've had a slight issue with the Readme that says that we should be using /run/log/journald as a mounting point but, in Ubuntu 18.04, the default logging folder is /var/log/journald, so we had to change the source mount point for the bind mount.

A solution could be to update systemd running inside the instance from systemd sources: systemd/systemd#3875 - that operation could be done in your Dockerfile.

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions