rootless container quadlet files do not load anymore from ~/.config/containers/systemd on Fedora 44
kind/bug
### Issue Description
My rootless container do not start anymore on Fedora 44 Siilverblue.
SELinux is set to permissive.
XDG_CONFIG_HOME is empty.
I have podman-5.8.4-1.fc44.x86_64 installed.
pgsql.container:
```
[Unit]
Description=pgsql
After=local-fs.target
[Container]
Pod=pgsql.pod
Image=localhost/pgsql
Volume=pgsql:/var/lib/postgresql
[Install]
WantedBy=multi-user.target default.target
```
pgsql.pod
```
[Unit]
Description=pgsql
After=local-fs.target
[Pod]
PodName=pgsql
PublishPort=5432:5432
[Install]
WantedBy=multi-user.target default.target
```
I cannot start the container with systemd.
systemctl --user daemon-reload
systemctl --user start pgsql
Failed to start pgsql.service: Unit pgsql.service not found.
podman quadlet list
```
NAME UNIT NAME PATH ON DISK STATUS APPLICATION
pgsql.container pgsql.service /var/home/fansari/.config/containers/systemd/pgsql.container Not loaded
pgsql.pod pgsql-pod.service /var/home/fansari/.config/containers/systemd/pgsql.pod Not loaded
```
### Steps to reproduce the issue
Steps to reproduce the issue
1. See above
2.
3.
### Describe the results you received
The podman container is not started becuase the service is not found.
### Describe the results you expected
The service should be found and the container should be started.
### podman info output
```yaml
host:
arch: amd64
buildahVersion: 1.43.2
cgroupControllers:
- cpu
- io
- memory
- pids
cgroupManager: cgroupfs
cgroupVersion: v2
conmon:
package: conmon-2.2.1-2.fc44.x86_64
path: /usr/bin/conmon
version: 'conmon version 2.2.1, commit: '
cpuUtilization:
idlePercent: 93.65
systemPercent: 1.26
userPercent: 5.09
cpus: 8
databaseBackend: sqlite
distribution:
distribution: fedora
variant: silverblue
version: "44"
emulatedArchitectures:
- linux/arm64
- linux/arm64be
eventLogger: journald
freeLocks: 2021
hostname: bat.localdomain
idMappings:
gidmap:
- container_id: 0
host_id: 60257
size: 1
- container_id: 1
host_id: 524288
size: 65536
uidmap:
- container_id: 0
host_id: 60257
size: 1
- container_id: 1
host_id: 524288
size: 65536
kernel: 7.1.4-204.fc44.x86_64
linkmode: dynamic
logDriver: journald
memFree: 1601056768
memTotal: 8187912192
networkBackend: netavark
networkBackendInfo:
backend: netavark
defaultNetwork: podman
dns:
package: aardvark-dns-1.17.1-1.fc44.x86_64
path: /usr/libexec/podman/aardvark-dns
version: aardvark-dns 1.17.1
package: netavark-1.17.2-1.fc44.x86_64
path: /usr/libexec/podman/netavark
version: netavark 1.17.2
ociRuntime:
name: crun
package: crun-1.28-1.fc44.x86_64
path: /usr/bin/crun
version: |-
crun version 1.28
commit: 54f16ffbefcd022bf032af768b5c5ce075c18bfc
rundir: /run/user/60257/crun
spec: 1.0.0
+SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +JSON_C
os: linux
pasta:
executable: /usr/bin/pasta
package: passt-0^20260716.g090d739-2.fc44.x86_64
version: |
pasta 0^20260716.g090d739-2.fc44.x86_64
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/user/60257/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: true
seccompEnabled: true
seccompProfilePath: /usr/share/containers/seccomp.json
selinuxEnabled: true
serviceIsRemote: false
slirp4netns:
executable: /usr/bin/slirp4netns
package: slirp4netns-1.3.1-4.fc44.x86_64
version: |-
slirp4netns version 1.3.1
commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236
libslirp: 4.9.1
SLIRP_CONFIG_VERSION_MAX: 6
libseccomp: 2.6.1
swapFree: 16777207808
swapTotal: 16777207808
uptime: 1h 51m 20.00s (Approximately 0.04 days)
variant: ""
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: /home/fansari/.config/containers/storage.conf
containerStore:
number: 5
paused: 0
running: 2
stopped: 3
graphDriverName: overlay
graphOptions: {}
graphRoot: /var/mnt/data/podman/fansari/containers/storage
graphRootAllocated: 643930521600
graphRootUsed: 219365822464
graphStatus:
Backing Filesystem: xfs
Native Overlay Diff: "true"
Supports d_type: "true"
Supports shifting: "false"
Supports volatile: "true"
Using metacopy: "false"
imageCopyTmpDir: /var/tmp
imageStore:
number: 44
runRoot: /run/user/60257/containers
transientStore: false
volumePath: /var/mnt/data/podman/fansari/containers/storage/volumes
version:
APIVersion: 5.8.4
BuildOrigin: Fedora Project
Built: 1782432000
BuiltTime: Fri Jun 26 02:00:00 2026
GitCommit: 5431df23c742e5edea35bef34eed696f4db0106b
GoVersion: go1.26.4-X:nodwarf5
Os: linux
OsArch: linux/amd64
Version: 5.8.4
```
### Podman in a container
No
### Privileged Or Rootless
Rootless
### Upstream Latest Release
No
### Additional environment details
### Additional information
Creating and running pod and container manually works without problems.
```
podman pod create --name=pgsql -p 5432:5432/tcp
podman create --pod=pgsql --name=pgsql --mount type=volume,source=pgsql,target=/var/lib/postgresql pgsql
podman start pgsql
```
4 条评论