The record kept only the intent, so a failed unlink read as removed; each link now gets a synced intent and outcome line, and the outcome is the module's link.removal event so it is not only a file on one machine. The put-back hint no longer advises a symlink, an aliased directory is read once, a machine-wide removal from user scope is said, and the state directory names no owner a machine without an account cannot resolve.
63 lines
1.1 KiB
JSON
63 lines
1.1 KiB
JSON
{
|
|
"module": "systemd",
|
|
"version": "1",
|
|
"capabilities": [
|
|
"service-manager",
|
|
"package-manager"
|
|
],
|
|
"claims": [
|
|
{
|
|
"name": "node-service-manager",
|
|
"scope": "node",
|
|
"serves": [
|
|
"units",
|
|
"status",
|
|
"start",
|
|
"stop",
|
|
"restart",
|
|
"enable",
|
|
"disable",
|
|
"journal",
|
|
"failed",
|
|
"reset-failed",
|
|
"wanted-by",
|
|
"unlink-dangling"
|
|
]
|
|
}
|
|
],
|
|
"emits": [
|
|
"link.removal"
|
|
],
|
|
"build": {
|
|
"artifacts": [
|
|
{
|
|
"name": "tools",
|
|
"kind": "bundle",
|
|
"language": "go",
|
|
"system": "arch",
|
|
"from": "cmd/systemd-tools",
|
|
"binary": "systemd-tools",
|
|
"loads": [
|
|
"systemd-tools"
|
|
],
|
|
"env": {
|
|
"MESH_SYSTEMD_STATE": "${dir:state}"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"resources": [
|
|
{
|
|
"id": "package",
|
|
"type": "package",
|
|
"package": "systemd"
|
|
},
|
|
{
|
|
"id": "state",
|
|
"type": "directory",
|
|
"mode": "0700",
|
|
"place": "."
|
|
}
|
|
]
|
|
}
|