Bug 117660

Summary: yast2-vm has undeclared dependencies on xterm, xorg-x11
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Charles Duffy <ccd>
Component: YaST2Assignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Charles Duffy 2005-09-18 04:53:06 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.
Comment 1 Ladislav Slezák 2005-09-19 15:00:36 UTC
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).
Comment 2 Charles Duffy 2005-09-19 16:28:01 UTC
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.
Comment 3 Ladislav Slezák 2005-09-27 10:52:00 UTC
Fixed in yast2-vm-2.13.0 (the runtime check is performed before starting a new
domain)