]> git.ipfire.org Git - thirdparty/systemd.git/commit
portabled: apply pool limits to portable images
authordongshengyuan <545258830@qq.com>
Wed, 15 Jul 2026 08:49:10 +0000 (16:49 +0800)
committerdongshengyuan <545258830@qq.com>
Wed, 15 Jul 2026 10:20:17 +0000 (18:20 +0800)
commitddf196a20bb5b9a5bbfead2cc8205fa89e527555
treebd4177984ae926c30c22b46b2684898512ce3330
parentf21e8206317371f4a29af795362c55a29903ef7b
portabled: apply pool limits to portable images

Apply SetPoolLimit to IMAGE_PORTABLE instead of IMAGE_MACHINE. The
manager property and the setter now refer to the same portable image
pool.

Reproducer:
  sudo portablectl set-limit 1G
  busctl get-property org.freedesktop.portable1 \
      /org/freedesktop/portable1 \
      org.freedesktop.portable1.Manager PoolLimit

Before:
  SetPoolLimit adjusted the machine image pool while portablectl
  reported the portable image pool. The command could succeed without
  changing the limit that portable users queried later.

Follow-up: 824fcb95c9e66abe6b350ebab6e0593498ff7aa1
src/portable/portabled-bus.c