Bugzilla – Bug 117660
yast2-vm has undeclared dependencies on xterm, xorg-x11
Last modified: 2005-09-27 10:52:00 UTC
yast2-vm does not work correctly without both xterm and xorg-x11 installed: - without xorg-x11, it fails X detection (which is based on the presence of xdpyinfo) and explicitly exits in clients/vm.ycp:94 - without xterm, it silently fails when trying to kick off the installation in an xterm in modules/VM_XEN.ycp:846. the spec file for yast2-vm should declare both of these dependencies, such that the yast2-vm RPM cannot be installed without the software it requires. On the other hand, it could be that it needs to do the runtime dependency check for xterm, not xdpyinfo, and declare a dependency only on the xterm package.
The right solution is runtime dependency, because static dependecy would not allow to install system without X - the yast package is installed always, even in the minimal selection (without X).
Ever the yast-vm package is always installed? Hmm. Okay, then; I can see adjusting the runtime check to look for xterm as well as or instead of xdpyinfo.
Fixed in yast2-vm-2.13.0 (the runtime check is performed before starting a new domain)