Files
systemd/src/shared
Yu Watanabe 3ef791876b core: add quota support for State, Cache, and Log exec directories (#35892)
Based on https://github.com/systemd/systemd/issues/7820, this adds support for
quota enforcement to State, Cache, and Log exec directories.
* Add new directives, StateDirectoryQuota=, CacheDirectoryQuota=, and
  LogDirectoryQuota=, to define quotas as percentages (hard limits for
  blocks and inodes) or absolute values (hard limits for blocks only).
* Add new directives, StateDirectoryQuotaAccounting=,
  CacheDirectoryQuotaAccounting= and LogDirectoryQuotaAccounting= to keep
  track of storage quotas but not enforce them (effectively just assigning
  a project ID to defined exec directories).

Example:
```
StateDirectory=quotadir
StateDirectoryQuota=1%

Jan 06 22:55:46 abeltran: Storage quotas set for /var/lib/private/quotadir. Block limit = 2639404, inode limit = 671088

root@abeltran:/var/lib/private# lsattr -pR
3153000189 --------------e----P-- ./quotadir

root@abeltran:/var/lib/private# repquota  -P /datadrive
*** Report for project quotas on device /dev/sdc1
Block grace time: 7days; Inode grace time: 7days
                        Block limits                File limits
Project         used    soft    hard  grace    used  soft  hard  grace
----------------------------------------------------------------------
#0        --  213200       0       0           4086     0     0         
#3153000189 -- 2639404       0 2639404              2     0 671088   
```
2025-07-08 09:18:20 +09:00
..
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-04-30 09:30:51 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-26 20:24:47 +02:00
2025-05-26 20:24:47 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-06-18 01:55:46 +09:00
2025-07-07 17:31:03 +00:00
2025-06-18 01:55:46 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-07-03 17:43:01 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-07 22:04:46 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-07-07 17:28:47 +00:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-07-03 17:43:01 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-05-25 03:28:50 +09:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-04-30 09:30:51 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-04-30 09:30:51 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-25 03:28:50 +09:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00
2025-05-24 14:00:44 +02:00