{"action":"created","issue":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/3499","repository_url":"https://api.github.com/repos/QubesOS/qubes-issues","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/3499/labels{/name}","comments_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/3499/comments","events_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/3499/events","html_url":"https://github.com/QubesOS/qubes-issues/issues/3499","id":292105661,"node_id":"MDU6SXNzdWUyOTIxMDU2NjE=","number":3499,"title":"woes trying to update default dispvm to fedora-26","user":{"login":"taradiddles","id":10845291,"node_id":"MDQ6VXNlcjEwODQ1Mjkx","avatar_url":"https://avatars2.githubusercontent.com/u/10845291?v=4","gravatar_id":"","url":"https://api.github.com/users/taradiddles","html_url":"https://github.com/taradiddles","followers_url":"https://api.github.com/users/taradiddles/followers","following_url":"https://api.github.com/users/taradiddles/following{/other_user}","gists_url":"https://api.github.com/users/taradiddles/gists{/gist_id}","starred_url":"https://api.github.com/users/taradiddles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taradiddles/subscriptions","organizations_url":"https://api.github.com/users/taradiddles/orgs","repos_url":"https://api.github.com/users/taradiddles/repos","events_url":"https://api.github.com/users/taradiddles/events{/privacy}","received_events_url":"https://api.github.com/users/taradiddles/received_events","type":"User","site_admin":false},"labels":[{"id":184545373,"node_id":"MDU6TGFiZWwxODQ1NDUzNzM=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20core","name":"C: core","color":"cccccc","default":false},{"id":184545379,"node_id":"MDU6TGFiZWwxODQ1NDUzNzk=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/C:%20qubes-manager","name":"C: qubes-manager","color":"cccccc","default":false},{"id":291578349,"node_id":"MDU6TGFiZWwyOTE1NzgzNDk=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/UX","name":"UX","color":"009800","default":false},{"id":183969431,"node_id":"MDU6TGFiZWwxODM5Njk0MzE=","url":"https://api.github.com/repos/QubesOS/qubes-issues/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/25","html_url":"https://github.com/QubesOS/qubes-issues/milestone/25","labels_url":"https://api.github.com/repos/QubesOS/qubes-issues/milestones/25/labels","id":3158501,"node_id":"MDk6TWlsZXN0b25lMzE1ODUwMQ==","number":25,"title":"Release 4.0 updates","description":"","creator":{"login":"marmarek","id":726704,"node_id":"MDQ6VXNlcjcyNjcwNA==","avatar_url":"https://avatars1.githubusercontent.com/u/726704?v=4","gravatar_id":"","url":"https://api.github.com/users/marmarek","html_url":"https://github.com/marmarek","followers_url":"https://api.github.com/users/marmarek/followers","following_url":"https://api.github.com/users/marmarek/following{/other_user}","gists_url":"https://api.github.com/users/marmarek/gists{/gist_id}","starred_url":"https://api.github.com/users/marmarek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marmarek/subscriptions","organizations_url":"https://api.github.com/users/marmarek/orgs","repos_url":"https://api.github.com/users/marmarek/repos","events_url":"https://api.github.com/users/marmarek/events{/privacy}","received_events_url":"https://api.github.com/users/marmarek/received_events","type":"User","site_admin":false},"open_issues":259,"closed_issues":174,"state":"open","created_at":"2018-03-03T19:22:44Z","updated_at":"2018-09-16T03:33:56Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2018-01-27T08:57:46Z","updated_at":"2018-09-16T22:47:36Z","closed_at":"2018-07-20T17:33:46Z","author_association":"NONE","body":"\r\nApologies for the mixed bag of issues here - I thought it'd be better to list everything in one place instead of opening a few interrelated issues.\r\n\r\n#### Qubes OS version:\r\n<!-- (e.g., `R3.2`)\r\n     You can get it from the dom0 terminal with the command\r\n         `cat /etc/qubes-release`\r\n     Type below this line. -->\r\n4.0 RC3\r\n\r\n---\r\n\r\n### Steps to reproduce the behavior:\r\n<!-- Type below this line. -->\r\nI'm trying to update 4.0rc3's dvm from fedora-25 to fedora-26 and remove references to fedora-25-dvm. I tried to simply rename fedora-25-dvm to fedora-26-dvm from fedora-25-dvm's settings gui but got dependency errors, so reverted to cloning fedora-25-dvm to fedora-26-dvm and trying to change qubes's global dispvm default:\r\n\r\nSteps:\r\n\r\n- cloned fedora-25-dvm to fedora-26-dvm\r\n- (side issue: fedora-26-dvm's app menu weren't shown as \"disposable\", so had to run `qvm-appmenus --update fedora-26-dvm` as per #3464)\r\n- Ques Global Settings' gui doesn't include an option (yet?) to change the default dispVM, so I set it with `qubes-prefs default_dispvm fedora-26-dvm`\r\n\r\nEverything looked OK until I tried to remove the old f25 dispvm:\r\n\r\n```\r\n[user@dom0 ~]$ qvm-remove fedora-25-dvm\r\n[...]\r\nqubesadmin.exc.QubesException: Domain is in use: 'fedora-25-dvm'; details in system log\r\n\r\n[user@dom0 ~]$ tail -1 /var/log/qubes/qubes.log \r\n2018-01-27 09:56:39,760 Cannot remove fedora-25-dvm, used by sys-usb.default_dispvm\r\n\r\n[user@dom0 ~]$ qvm-prefs sys-usb | grep default_dispvm\r\ndefault_dispvm        -  fedora-25-dvm\r\n[user@dom0 ~]$ qvm-prefs vault | grep default_dispvm\r\ndefault_dispvm        -  fedora-25-dvm\r\n[...]\r\n```\r\n\r\n### Expected behavior:\r\n<!-- Type below this line. -->\r\n_Supposedly_, I should be able to remove fedora-25-dvm.\r\n\r\n\r\n### Actual behavior:\r\n<!-- Type below this line. -->\r\n`qubes-prefs default_dispvm fedora-26-dvm` doesn't propagate the change like one should _supposedly_ expect so VMs still use the old fedora-25-dvm.\r\n\r\nEmphasize on the _supposedly_ word here: 'Default (...)' is listed as default dispVM in the VM settings gui, but I don't see any 'use default dispvm' when listing prefs with `qubes-prefs` - eg. I don't see how qubes-prefs could automatically propagate the change (after all maybe I'd want to keep fedora-25-dvm for some of the VMs).\r\n\r\nThe worst part for unsuspecting users is that the VM's setting gui shows that the new fedora-26-dvm is used ('Default (fedora-26-dvm)') while qvm-prefs (and qubes.xml) shows that fedora-25-dvm is used.\r\nI tried to set the dispvm in the VM settings gui to 'none', clicked OK, reopened the settings, set the dispvm to 'default (fedora-26-dvm)', clicked OK, but qvm-prefs still listed fedora-25-dvm as default_dispvm.\r\n\r\n![vm-adv-settings](https://user-images.githubusercontent.com/10845291/35470374-332ea7c2-0351-11e8-9bd4-0115de4328ae.png)\r\n\r\n[edit: added screenshot for clarity]\r\n\r\n### General notes:\r\n<!-- Type below this line. -->\r\nWorkaround 1: don't go through those complicated steps: simply set fedora-25-dvm's template to fedora-26. The name 'fedora-25-dvm' can't be changed and will be misleading but you'll know the template is fedora-26.\r\n\r\nWorkaround 2: do the steps above and then `qvm-prefs vm-name default_dispvm fedora-26-dvm` for each VM.\r\n\r\n---\r\n\r\n#### Related issues:\r\n<!-- Type below this line. -->\r\n\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/comments/421847294","html_url":"https://github.com/QubesOS/qubes-issues/issues/3499#issuecomment-421847294","issue_url":"https://api.github.com/repos/QubesOS/qubes-issues/issues/3499","id":421847294,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMTg0NzI5NA==","user":{"login":"qubesos-bot","id":24401983,"node_id":"MDQ6VXNlcjI0NDAxOTgz","avatar_url":"https://avatars3.githubusercontent.com/u/24401983?v=4","gravatar_id":"","url":"https://api.github.com/users/qubesos-bot","html_url":"https://github.com/qubesos-bot","followers_url":"https://api.github.com/users/qubesos-bot/followers","following_url":"https://api.github.com/users/qubesos-bot/following{/other_user}","gists_url":"https://api.github.com/users/qubesos-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/qubesos-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qubesos-bot/subscriptions","organizations_url":"https://api.github.com/users/qubesos-bot/orgs","repos_url":"https://api.github.com/users/qubesos-bot/repos","events_url":"https://api.github.com/users/qubesos-bot/events{/privacy}","received_events_url":"https://api.github.com/users/qubesos-bot/received_events","type":"User","site_admin":false},"created_at":"2018-09-16T22:47:36Z","updated_at":"2018-09-16T22:47:36Z","author_association":"NONE","body":"**Automated announcement from [builder-github]**\n\nThe package `qubes-manager-4.0.20-1.fc25` has been pushed to the `r4.0` testing repository for dom0.\nTo test this update, please install it with the following command:\n```\nsudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing\n```\n[Changes included in this update][commits]\n\n[builder-github]: https://github.com/QubesOS/qubes-builder-github\n[commits]: https://github.com/QubesOS/qubes-manager/compare/1f0df9bf3a1196a6c40ada84c5716357310ba6a7...7030a5da77e308656ffee82c97619b36b8871887\n"}}
{"actor":{"display_login":"qubesos-bot"}}