无法使用 systemd-homed 创建用户

无法使用 systemd-homed 创建用户

我尝试使用 systemd-homed 创建新用户,但收到错误

# homectl create jjcasmar
Please enter new password for user jjcasmar: *           
Please enter new password for user jjcasmar (repeat): *        
Operation on home jjcasmar failed: Failed to execute operation: Protocol error

systemd-homed 日志显示以下内容

Sep 11 11:41:39 mongol systemd-homed[865]: jjcasmar: changing state absent → creating
Sep 11 11:41:39 mongol systemd-homework[5413]: Using automatic default storage of 'luks'.
Sep 11 11:41:39 mongol systemd-homework[5413]: Sizing home to 83% of available disk space, which is 254.0G.
Sep 11 11:41:39 mongol systemd-homework[5413]: Allocating image file completed.
Sep 11 11:41:39 mongol systemd-homework[5413]: Writing of partition table completed.
Sep 11 11:41:39 mongol systemd-homework[5413]: Setting up loopback device /dev/loop2 completed.
Sep 11 11:41:41 mongol systemd-homework[5413]: LUKS formatting completed.
Sep 11 11:41:42 mongol systemd-homework[5413]: Writing password to LUKS keyslot 0 completed.
Sep 11 11:41:42 mongol systemd-homework[5413]: LUKS activation by volume key succeeded.
Sep 11 11:41:42 mongol systemd-homework[5413]: Writing user record as LUKS token completed.
Sep 11 11:41:42 mongol systemd-homework[5413]: Setting up LUKS device /dev/mapper/home-jjcasmar completed.
Sep 11 11:41:42 mongol systemd-homed[5423]: mkfs.btrfs: error while loading shared libraries: cannot make segment writable for relocation: Permission denied
Sep 11 11:41:42 mongol systemd-homework[5413]: (mkfs) failed with exit status 127.
Sep 11 11:41:42 mongol systemd-homed[865]: block device /sys/devices/virtual/block/dm-1 has been removed.
Sep 11 11:41:42 mongol systemd-homed[865]: block device /sys/devices/virtual/block/dm-1 has been removed.
Sep 11 11:41:42 mongol systemd-homed[865]: block device /sys/devices/virtual/block/loop2 has been removed.
Sep 11 11:41:42 mongol systemd-homed[865]: Operation on jjcasmar failed: Protocol error

/home 分区是 btrfs 子卷,我可以毫无问题地写入它。我使用的是 archlinux,刚刚更新

我不知道这里出了什么问题。这里有什么问题吗?

相关内容