-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discrepancy in handling of periods in VM names #2422
Comments
@3n7r0p1 Yes, there's a discrepancy - it's not the only one. You can also use underscore with qvm-create, but not in Manager. The regexes are slightly different. I don't think it matters. (The command line often offers greater control.) Yes, using a period will cause issues. DNS uses the period as a delimiter between labels, and various system elements will expect this to be the case. Trivially, the standard prompt will appear as user@a rather than user@a.b . Generally, anything that interacts with DNS will break. Don't do it. (This isn't specific to Qubes.) |
Additionally underscores are allowed in vm names but not allowed in the creation gui. Thought: Reserving a special character not able to be created in the gui would allow qubes-internal VMs (such as foo-dm for HVMs) to never conflict with user-specified domains. This would mean using foo_dm instead of foo-dm as the auto-generated domain for the 'foo' HVM. |
@jpouellet Not clear on your proposal -I think you must mean reserving characters that cant be used in gui AND command line? Otherwise you will still have potential for conflict with user-specified names. |
This is to avoid possible name conflicts with VMs created via the qubes-manager gui. See: QubesOS/qubes-issues#2422
This is to avoid possible name conflicts with VMs created via the qubes-manager gui. See: QubesOS/qubes-issues#2422
|
This issue isn't really resolved and IMO is not ready to be closed. There is still a discrepancy in periods (as the OP was about). There was a reason my commit said "Partially fixes ..." |
github: "Partially fixes" still matches "fixes" ;) |
This is used internally for device-model stubdomains (untrusted qemu) for HVMs, and causes conflicts when trying to boot foo (HVM) and foo-dm (any type). Partially fixes QubesOS/qubes-issues#2422 (cherry picked from commit c4f30bc)
VM name validation in various places in Manager did not allow perfectly legal otherwise '_' and '.' characters. references QubesOS/qubes-issues#2422
VM name validation in various places in Manager did not allow a perfectly legal '_' character. references QubesOS/qubes-issues#2422
I've made it more consistent:
|
VM name validation in various places in Manager did not allow perfectly legal otherwise '_' and '.' characters. references QubesOS/qubes-issues#2422 fixes QubesOS/qubes-issues#3301
Qubes 3.1
VM Manager does not allow creation of VM's with period in name.
qvm-create allows periods.
Will using a period in VM name cause any issues?
The text was updated successfully, but these errors were encountered: