George Hilliard - 16.01.24, 18:59:08 CET: > Some other folks have found similar problems with other uses of keyctl, > see [1]. It appears systemd segments each system service into its own > kernel keyring. Presumably the one bcachefs-tools is writing into, is > not the one the kernel is reading during mount.
I use Devuan with Runit, so no Systemd involved. However elogind is in use. Maybe a function of systemd-logind / elogind? > The workaround for users is to run: > > keyctl link @u @s > > just before running `bcachefs mount`. I will be trying this out and report back. Thanks! > I am not enough of an expert with kernel keyrings to know whether the > kernel code, systemd, Arch's packaging, or something else is at fault > here. >From what I gathered so far there is some complexity involved here, as seems to be usual when it comes to encryption. Best, -- Martin
