Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upcreate workflow strategy for users' modified default templates #1453
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 24, 2015
Member
There is a chain of problems, I think rooted in the fact of using rpm for template distribution:
- You need some template to restore a backup in some cases (UsbVM, NetVM - in case of NAS etc)
- So, you need to install that template somehow - the only option is installation ISO (for the first template)
- When the template is installed as RPM package, that package can be later removed. And if you rename the template, removing the RPM will fail (because files will be moved); if some other template was placed there instead, that template would be removed (#839)
- The above is exactly the reason why manual rename or remove of rpm-installed template is blocked. This means that user can't easily restore modified default template from a backup.
- Because of above, it is recommended (currently) to do modifications in clone of default template. This is the only reason. Other reason would be having an rpm update overriding user changes, but rpm upgrades of template packages are blocked exactly for this reason.
So, if we could solve #839 in some different way, this recommendation could be lifted. Also having #869 (exactly your second point) would improve/solve the problem. And yes - I think the current recommendation is a problem, not a solution. Needs to be fixed.
If you think #869 would be enough, lets close this one as a duplicate.
|
There is a chain of problems, I think rooted in the fact of using rpm for template distribution:
So, if we could solve #839 in some different way, this recommendation could be lifted. Also having #869 (exactly your second point) would improve/solve the problem. And yes - I think the current recommendation is a problem, not a solution. Needs to be fixed. If you think #869 would be enough, lets close this one as a duplicate. |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
andrewdavidwong
Nov 26, 2015
Member
Is this a possible duplicate of #1403? Even if not, it definitely seems closely related...
|
Is this a possible duplicate of #1403? Even if not, it definitely seems closely related... |
mfc
added
the
duplicate
label
Nov 26, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
mfc
closed this
Nov 26, 2015
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
marmarek
Nov 27, 2015
Member
Another idea about a solution for #839 - instead of blocking some template changes (namely: rename, delete) fearing interference with package manager, maybe we should proceed in totally opposite way: require user to first delete such (template) VM, and refuse to remove the package if TemplateVM isn't deleted manually beforehand?
This way we will mitigate a problem of removing wrong template while removing package and also leave some more flexibility in template management.
|
Another idea about a solution for #839 - instead of blocking some template changes (namely: rename, delete) fearing interference with package manager, maybe we should proceed in totally opposite way: require user to first delete such (template) VM, and refuse to remove the package if TemplateVM isn't deleted manually beforehand? |
mfc commentedNov 24, 2015
A user will install additional packages to a default template. This creates problems when trying to restore a modified default template to a new system, where that template will already exist.
Some potential options:
fedora-21,my-fedora-21is default). would eat up a lot of extra space.I think the second option makes the most sense. There may be other strategies regarding this.