]> git.ipfire.org Git - thirdparty/systemd.git/commit
import: wire up SYSTEMD_IMPORT_BTRFS_{SUBVOL,QUOTA} to importd 25559/head
authorIvan Shapovalov <intelfx@intelfx.name>
Tue, 29 Nov 2022 12:20:48 +0000 (16:20 +0400)
committerIvan Shapovalov <intelfx@intelfx.name>
Sat, 3 Dec 2022 16:31:48 +0000 (20:31 +0400)
commitc7779a61ac20133646aaeaee2986d4e0901f4861
tree335867aaa64b640f2ccc94795830cec028cde659
parente9231901a2df0484b1eda70d6bed9f4f7cefac64
import: wire up SYSTEMD_IMPORT_BTRFS_{SUBVOL,QUOTA} to importd

Btrfs quotas are actually being enabled in systemd-importd via
setup_machine_directory(), not in systemd-{import,pull} where those
environment variables are checked. Therefore, also check them in
systemd-importd and avoid enabling quotas if requested by the user.

Fixes: #18421
Fixes: #15903
Fixes: #24387
src/import/importd.c
src/machine/machined-dbus.c
src/shared/machine-pool.c
src/shared/machine-pool.h