Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#1367 closed defect (fixed)

RPMs should invoke update_properties.sh

Reported by: Dimitar Misev Owned by: Bang Pham Huu
Priority: major Milestone: 9.5
Component: build system Version: development
Keywords: Cc: Bang Pham Huu
Complexity: Medium

Description

source:applications/petascope/update_properties.sh allows to update petascope.properties; this is invoked on make install, but not when RPMs are installed I think.

Change History (10)

comment:1 by Dimitar Misev, 8 years ago

Milestone: 9.39.4
Owner: changed from Alex Dumitru to Dimitar Misev
Status: newassigned

comment:2 by Dimitar Misev, 7 years ago

Owner: changed from Dimitar Misev to Bang Pham Huu

The installer needs to be updated to handle this.

comment:3 by Bang Pham Huu, 7 years ago

Milestone: 9.49.5
Resolution: fixed
Status: assignedclosed

in rpm package, new petascope.properties is called: petascope.properties.rpmnew in /opt/rasdaman/etc.
in deb package, new petascope.properties is called: petascope.properties.dpkg-dist in /opt/rasdaman/etc.

comment:4 by Dimitar Misev, 7 years ago

What about when the installer is used to install rasdaman and the user runs update_rasdaman.sh to update the installation?

in reply to:  4 comment:5 by Bang Pham Huu, 7 years ago

Replying to dmisev:

What about when the installer is used to install rasdaman and the user runs update_rasdaman.sh to update the installation?

it is called only when update_rasdaman.sh or update rasdaman package with apt-get, yum, new install rasdaman will not invoke as these files (*.rpmnew, *.dpkg-dist) don't exist in /opt/rasdaman/etc.

Last edited 7 years ago by Bang Pham Huu (previous) (diff)

comment:6 by Dimitar Misev, 7 years ago

I mean is the update_properties.sh called in this case?

in reply to:  6 comment:7 by Bang Pham Huu, 7 years ago

Replying to dmisev:

I mean is the update_properties.sh called in this case?

yes, if petascope.properties exists in /opt/rasdaman/etc.

comment:8 by Dimitar Misev, 7 years ago

Can you please test?

comment:9 by Dimitar Misev, 7 years ago

  1. user installs rasdaman with installer
  2. user runs update_rasdaman.sh to update installation (which now has updated petascope.properties)
  3. verify that /opt/rasdaman/etc/petascope.properties is automatically upgraded

in reply to:  8 comment:10 by Bang Pham Huu, 7 years ago

Replying to dmisev:

Can you please test?

I cannot as no new package is built with this change in installer. in update_rasdaman.sh it is

/opt/rasdaman//installer//install.sh -j /opt/rasdaman//install_profile.json
Note: See TracTickets for help on using tickets.