units: pass CAP_SYS_RESOURCE to homed
authorLennart Poettering <lennart@poettering.net>
Fri, 18 Sep 2020 20:01:49 +0000 (22:01 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 8 Dec 2020 13:24:06 +0000 (14:24 +0100)
commit092bae4da1d6c15ccd5ba4fd4f539d64d1074038
treea3f93aab61a7b33187ac7489893a9f58c3a275fa
parent51a68d7d7986e50bab0b96653b92e596c1e19b70
units: pass CAP_SYS_RESOURCE to homed

The ext4 fs resize ioctl needs CAP_SYS_RESOURCE, irritatingly. Let's
grant it to homed hence.

Fixes: #15115
(cherry picked from commit c9ef77ec5ff5e7e283181e9dcfb93acfb0656ae6)
units/systemd-homed.service.in