Bug 117660 - yast2-vm has undeclared dependencies on xterm, xorg-x11
Summary: yast2-vm has undeclared dependencies on xterm, xorg-x11
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: YaST2 (show other bugs)
Version: RC 1
Hardware: x86-64 All
: P5 - None : Normal
Target Milestone: ---
Assignee: Ladislav Slezák
QA Contact: Klaus Kämpf
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 04:53 UTC by Charles Duffy
Modified: 2005-09-27 10:52 UTC (History)
0 users

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)