jdx/mise · error · eyre::Report
managed system files require group
Error message
managed system files require group '{group}', but that bootstrap group is absent What it means
The group declared as `group` on a managed file/directory is declared in the bootstrap accounts config with state = "absent". Files requiring that group ownership therefore cannot be validated, since the same run would remove the group. Mirrors the owner-user contradiction check.
Solutions
- Remove the `group` key from entries referencing the absent group.
- Set the group's state back to present if it is genuinely needed.
- Point the entries at a group that exists or is declared present (e.g. "root").
Example fix
# before [bootstrap.groups.legacy] state = "absent" [bootstrap.files.appconf] path = "/etc/myapp/app.conf" group = "legacy" # after [bootstrap.files.appconf] path = "/etc/myapp/app.conf" group = "root"
Defensive patterns
Strategy: validation
Validate before calling
def check_groups(files, groups):
for f in files:
g = f.get('group')
if g and groups.get(g, {}).get('state') == 'absent':
raise ValueError(f"file {f['path']} references absent group {g}") Prevention
- When retiring a group, remove its references from all file/directory entries first.
- Standardize group ownership on groups guaranteed to exist.
- Run the bootstrap plan/dry-run after any accounts config change.
When it happens
Trigger: `validate_principals` finds a [bootstrap.files]/[bootstrap.directories] entry with state present and `group = "g"` while [bootstrap.groups] declares group g with state = "absent".
Common situations: Retiring a group in the accounts config without updating file entries that still set `group = "retired-group"`; copy-paste of group names across environments.
Understand the failure class
Background: Conflicting config options: "cannot be used together" — configuration validation errors across open-source libraries — this error's family across 162 libraries.
Related errors
- managed system files require owner
- managed system files require group
- managed system files require owner
- agent ' ' `start_calendar_interval. ` must be between and
- agent ' ' `start_calendar_interval` must set at least one…
AI-assisted analysis of jdx/mise@533346cc37 (2026-09-17).
Data as JSON: /api/errors/1eb864702841e7b4.
Report an issue: GitHub.
Appendix: source
Thrown at src/system/managed_files.rs:948
Some(request)
if allow_pending_accounts
&& request.plan().action == ResourceAction::Unknown =>
{
bail!(
"managed system files require owner '{owner}', but that bootstrap user cannot be safely converged"
)
}
Some(_) if allow_pending_accounts => {}
Some(_) | None => {
resolve_user(owner)?;
}
}
}
if let Some(group) = group {
match accounts
.and_then(|accounts| accounts.groups.iter().find(|request| request.name == group))
{
Some(request) if request.state == super::accounts::AccountState::Absent => bail!(
"managed system files require group '{group}', but that bootstrap group is absent"
),
Some(request)
if allow_pending_accounts
&& request.plan().action == ResourceAction::Unknown =>
{
bail!(
"managed system files require group '{group}', but that bootstrap group cannot be safely converged"
)
}
Some(_) if allow_pending_accounts => {}
Some(_) | None => {
resolve_group(group)?;
}
}
}
}
Ok(())View on GitHub (pinned to 533346cc37)