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

Copy/generate VM icon instead of using symlink #1770

Open
mfc opened this Issue Feb 22, 2016 · 2 comments

Comments

Projects
None yet
3 participants
@mfc
Member

mfc commented Feb 22, 2016

As reported by other users:
https://groups.google.com/d/msg/qubes-users/2h2ASFZDDEA/RKVd5O4MBgAJ

the initial issue was a broken syslink icon.png in the root folder of the TemplateVM /var/lib/qubes/appvms/[vmname]/icon.png. In this case it was pointing to vm49/vm9/vm41//usr/share/qubes/icons/template.png.

Attempting to fix the link to /usr/share/qubes/icons/template.png by running ln -sf /usr/share/qubes/icons/template.png /var/lib/qubes/vm-templates/[vmname]/icon.png doesn't work cleanly because /usr/share/qubes/icons/template.png doesn't exist.

However, some TemplateVMs with broken symlinks I was able to back-up, they did not have the vm# gunk in front of their broken /usr/share/qubes/icons/template.png symlink. Other times they would need to be pointed to someplace that exists, like /usr/share/qubes/icons/black.png

TemplateVMs affected include fresh, untouched R3.1rc2 Debian 8 and Fedora 23 TemplateVMs and modified TemplateVMs.

this fix #1515 for dom0 does not help since these are issues faced when backing up TemplateVMs.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Feb 22, 2016

Member

I think the ultimate solution for this problem, is getting rid of this
symlink completely and simply copy the icon file there. That symlink was
source of other problems too (for example KDE icon cache sometimes
doesn't notice the change).

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Member

marmarek commented Feb 22, 2016

I think the ultimate solution for this problem, is getting rid of this
symlink completely and simply copy the icon file there. That symlink was
source of other problems too (for example KDE icon cache sometimes
doesn't notice the change).

Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

@mfc

This comment has been minimized.

Show comment
Hide comment
@mfc

mfc Feb 23, 2016

Member

yes please do :)

Member

mfc commented Feb 23, 2016

yes please do :)

@marmarek marmarek changed the title from R3.1rc2 Failed to perform backup of TemplateVM - "error in addproc" to Copy/generate VM icon instead of using symlink Mar 24, 2016

@marmarek marmarek added this to the Release 4.0 milestone Jun 21, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment