Skip to content

unbound-anchor cannot deal with full disk #595

@wrohdewald

Description

@wrohdewald

umbound 1.13.1 on debian bullseye

This morning, I found a full disk and a non-running unbound. Even after making room in the filesystem,
unbound refused to run:

[1641110455] unbound[7164:0] error: failed to read /var/lib/unbound/root.key

/var/lib/unbound# ls -lc
insgesamt 0
-rw-r--r-- 1 unbound unbound 0 2. Jan 00:00 root.key

So I assume that at midnight, unbound-anchor tried to update this by simply overwriting it. Which is of
course a recipe for disaster with a full disk.

A fix would be

  1. create root.key.new
  2. mv root.key.new root.key

I fixed it by manually running unbound-anchor

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions