diff options
| author | tv <tv@krebsco.de> | 2026-11-20 05:06:29 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-20 06:07:19 +0100 |
| commit | 1df9a8cd39d9613f1e6514fcd77c9d203efce402 (patch) | |
| tree | a2ab68e60214f73c11829daac9f6c9b3733290d3 /pkgs | |
| parent | 41e5a1003875c1e43c55b903fa218347e511789c (diff) | |
configs/hermes: install the provider plugin as a writable copy
Hermes knew the plugin (hermes plugins list) but not its provider.
Hermes imports a provider plugin from a snapshot: it copies the plugin
with shutil.copytree, modes included, and renames the copy from a
temporary directory into its place. Moving a directory to another
parent needs write permission on the directory itself, for its "..", so
with extraPlugins' symlink into the store, the copy is read-only, the
rename fails with EACCES for hermes (root could), and Hermes only logs
"Could not stage provider plugin".
Install a writable copy in hermes-agent-setup instead. extraPlugins'
old symlink goes away there, too, as the module removes nix-managed-*
links on each run.
Diffstat (limited to 'pkgs')
0 files changed, 0 insertions, 0 deletions
