Issue Description
In certain environments (CI example, limactl or podman-in-podman) the journald log-driver does not work. However, if journald is used by default or set by the user, Podman happily uses the driver although it doesn't work.
Steps to reproduce the issue
Steps to reproduce the issue
- podman run --privileged -it --rm podman
- podman run -d --log-driver=journald alpine echo 123
- podman logs -l
Describe the results you received
No output
Describe the results you expected
123 (or an error since the journald driver doesn't work)
podman info output
quay.io/podman/stable@sha256:72f9249a0d6db514d354d2691201c3b32bd0f49a874fd593f7420642b0cc5f80 (i.e., podman 5.5.2).
---
host:
arch: arm64
buildahVersion: 1.40.1
cgroupControllers:
- cpuset
- cpu
- io
- memory
- pids
- misc
cgroupManager: cgroupfs
cgroupVersion: v2
conmon:
package: conmon-2.1.13-1.fc42.aarch64
path: /usr/bin/conmon
version: 'conmon version 2.1.13, commit: '
cpuUtilization:
idlePercent: 99.82
systemPercent: 0.08
userPercent: 0.1
cpus: 6
databaseBackend: sqlite
distribution:
distribution: fedora
variant: container
version: "42"
eventLogger: file
freeLocks: 2048
hostname: 505d9a7d0038
idMappings:
gidmap: null
uidmap: null
kernel: 6.12.13-200.fc41.aarch64
linkmode: dynamic
logDriver: k8s-file
memFree: 9134342144
memTotal: 11631964160
networkBackend: netavark
networkBackendInfo:
backend: netavark
dns:
package: aardvark-dns-1.16.0-1.fc42.aarch64
path: /usr/libexec/podman/aardvark-dns
version: aardvark-dns 1.16.0
package: netavark-1.16.1-1.fc42.aarch64
path: /usr/libexec/podman/netavark
version: netavark 1.16.1
ociRuntime:
name: crun
package: crun-1.23.1-1.fc42.aarch64
path: /usr/bin/crun
version: |-
crun version 1.23.1
commit: d20b23dba05e822b93b82f2f34fd5dada433e0c2
rundir: /run/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
os: linux
pasta:
executable: /usr/bin/pasta
package: passt-0^20250805.g309eefd-2.fc42.aarch64
version: |
pasta 0^20250805.g309eefd-2.fc42.aarch64-pasta
Copyright Red Hat
GNU General Public License, version 2 or later
<https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
remoteSocket:
exists: true
path: /run/podman/podman.sock
rootlessNetworkCmd: pasta
security:
apparmorEnabled: false
capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
rootless: false
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: false
serviceIsRemote: false
slirp4netns:
executable: ""
package: ""
version: ""
swapFree: 0
swapTotal: 0
uptime: 12h 37m 55.00s (Approximately 0.50 days)
variant: v8
plugins:
authorization: null
log:
- k8s-file
- none
- passthrough
- journald
network:
- bridge
- macvlan
- ipvlan
volume:
- local
registries:
search:
- registry.fedoraproject.org
- registry.access.redhat.com
- docker.io
store:
configFile: /etc/containers/storage.conf
containerStore:
number: 0
paused: 0
running: 0
stopped: 0
graphDriverName: overlay
graphOptions:
overlay.additionalImageStores:
- /var/lib/shared
- /usr/lib/containers/storage
overlay.imagestore: /usr/lib/containers/storage
overlay.mount_program:
Executable: /usr/bin/fuse-overlayfs
Package: fuse-overlayfs-1.13-3.fc42.aarch64
Version: |-
fusermount3 version: 3.16.2
fuse-overlayfs: version 1.13-dev
FUSE library version 3.16.2
using FUSE kernel interface version 7.38
overlay.mountopt: nodev,fsync=0
graphRoot: /var/lib/containers/storage
graphRootAllocated: 98899800064
graphRootUsed: 13399797760
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "false"
Supports d_type: "true"
Supports shifting: "true"
Supports volatile: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 0
runRoot: /run/containers/storage
transientStore: false
volumePath: /var/lib/containers/storage/volumes
version:
APIVersion: 5.5.2
BuildOrigin: Fedora Project
Built: 1750723200
BuiltTime: Tue Jun 24 00:00:00 2025
GitCommit: e7d8226745ba07a64b7176a7f128e4ef53225a0e
GoVersion: go1.24.4
Os: linux
OsArch: linux/arm64
Version: 5.5.2
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
In the example, I forcefully set it journald while the image is configured to use k8s-file instead. However, I am seeing the very same issue in CI environments and limactl.
In limactl (fedora), I see the following log
DEBU[0000] systemd-logind: Unknown object '/'.
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
Issue Description
In certain environments (CI example, limactl or podman-in-podman) the journald log-driver does not work. However, if journald is used by default or set by the user, Podman happily uses the driver although it doesn't work.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
No output
Describe the results you expected
123 (or an error since the journald driver doesn't work)
podman info output
Podman in a container
Yes
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
In the example, I forcefully set it journald while the image is configured to use k8s-file instead. However, I am seeing the very same issue in CI environments and limactl.
In limactl (fedora), I see the following log
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting