United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-4531240 linux bundles should Require cp and mkdir to be installed
JDK-4531240 : linux bundles should Require cp and mkdir to be installed

Details
Type:
Bug
Submit Date:
2001-11-26
Status:
Closed
Updated Date:
2013-06-04
Project Name:
JDK
Resolved Date:
2002-09-30
Component:
install
OS:
linux
Sub-Component:
install
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.3.1
Fixed Versions:
1.4.2 (mantis)

Related Reports

Sub Tasks

Description
The post install script for the linux bundles uses cp and mkdir.  We need to require that these tools are installed.  In most cases, they will already be installed, but there are situations where they won't.  We should add "cp" and "mkdir" to the "Required:" field in the rpm spec file.  The following email was sent about this problem:

From: 
         "Lasse A. Vartiainen" <###@###.###>
                                                                                                                                              Fri 11:44

 Subject: 
         Missing rpm-requirement from jre-1.3.1-01.i386.rpm
      To: 
         "Java Software" <###@###.###>



 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Currently jre-1.3.1-01.i386.rpm package requires only glibc and
/bin/sh.
Yet the postinstallation scripts use /bin/cp and /bin/mkdir.

Normally this isn't a problem since every distribution does have
those commands.

For RedHat installation cd this might matter: Since RedHat's
genhdlist selects the installation order based on those requirements,
jre might get installed before fileutils that supplies the said
commands.

At least in our automagically generated distribution cd executing of
jre-post scripts fails during installation, and have to be manually
re-run afterwards.

                                Lasse


                                    

Comments
EVALUATION

Makefile needs to be updated to add the Requires tag for fileutils
rpm -qf /bin/cp /bin/mkdir
fileutils-4.0-8
fileutils-4.0-8

###@###.### 2002-08-08
                                     
2002-08-08
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis

FIXED IN:
mantis

INTEGRATED IN:
mantis
mantis-b04


                                     
2004-06-14



Hardware and Software, Engineered to Work Together