Repository navigation
Bulk bug fixes (0.9.12) - #200
Merged
Merged
Conversation
Admins now take the per-VM lock of every VM their command changes (all names of create a,b), and a restore stages its disk under a per-process name. stage_iso handles short writes and checks the copied size; a staged ISO counts against the user's disk quota. restore-as-new leaves the size check to the module. A late SIGALRM no longer raises outside the write, and a reservation is not removed while its module still runs. The client reads the server's answer when the request could not be sent, and create-iso accepts -o for group users. Fixes #119 #120 #135 #143 #186 #187 #188 #189
doctor --fix never rewrites a disk that isn't shut off (prepare_vm_disk checks too), leaves autostart off on a restored static-IP copy, reports a move, df or NFS repair that failed, and keeps leftovers that are in use or were just copied. fix-lock refuses non-dcvm domains, never declares a raw disk qcow2, stops when libvirt can't stop the VM and never SIGKILLs QEMU. The storage check can no longer hang on one guest. Fixes #113 #114 #118 #141 #142 #151 #195
ports setup keeps skipped VMs' rows and reserves their ports; ports apply checks the VM exists and that no other VM holds the address; cleanup only takes DNAT rules on dcvm's ranges or saved mappings; leases_table survives an inactive network; guest hostnames are shown without control characters; domain_macs fails when one domain's interfaces can't be read; dhcp renew releases only the leases of VMs whose link it cuts. Fixes #122, #123, #129, #138, #139, #140, #156
delete validates the name before it becomes a path, checks protected first, refuses foreign domains, and clears a gone VM's record, folder, static IP and port forwards only when libvirt answers. delete --all stops when libvirt stops answering. The reaper sends gone VMs through delete. start/stop/restart refuse an empty name. owner needs a dcvm user; user remove and a reused UID at user add hand old VMs to root. info reports only host-side addresses. vnc enable/disable leave SPICE alone and get the user's terminal. Fixes #110 #128 #144 #146 #147 #148 #149 #152 #153 #180 #181
…st (#134) systemd stopped the background job with the request's service, so a user's running VM kept reading the seed with secrets until it was powered off.
self-update refreshes the installed bash completion; pre-revert fails when a unit stays active and revert then restores the services; quota refuses when usage can't be read; per-user limits win over global lines; export refuses the caller's own output file; fix-lock reads the install config and removes only the disk's own lock; ports setup reports a mapping file it could not write; create undoes a half-made VM by the UUID it gave it and refuses a leftover disk; root's create and create-iso take the server's per-VM lock; tests reject exit 126/127 as expected failures and --quick runs the help and mirror tests.
…reads, export target, fix-lock config, update completion and units)
Fedora docker is moby-engine, the Arch keyring is retried, -k mariadb is set up, template checks report only real corruption, an interrupted dhcp renew relinks the VMs, fix-lock takes flags first, completion lists only dcvm's VMs and every command, status refuses a VM name, import checks mktemp and honours --yes, the storage check archives to a root-only host folder instead of the NFS share, uninstall removes limits, logs and state, and tables and step lines print guest text without escape sequences. Refs #199
…odes, renew trap, completion, storage archive on host, uninstall leftovers, escaped table cells) # Conflicts: # CHANGELOG.md # lib/utils/fix-lock.sh
This was referenced Nov 25, 2026
Closed
Closed
Closed
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bulk bug fixes from the 0.9.11 audit: 63 issues (#110-#156, #180-#195) plus the 26 low-severity findings in #199. Every fix was live-tested on a Debian 13 host; the full suite passes as root and in CI's non-root container.
Not changed (by design or not reproducible, explained on each issue): #154, #183 (documented), #184, the ISO-size half of #143, #199 findings 1 and 17.
Decisions: backups count toward a user's
disk_gbquota (#132); image checksums are taken only from the official server (#136).Fixes #110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
199