LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-27-2017, 11:11 AM   #1
ohijames
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Rep: Reputation: 0
Upgrading application in global and non global zones


Im trying to upgrade an application on saolris 10/11 in GZ and NGZ
The application is installed in /usr which is shared from GZ and read only in NGZ

The application also has symlinks in /usr

upgrading the application on both GZ and NGZ at the same time is not an option at the moment (Production systems)
If we upgrade the GZ first, then we would remove the symlinks from the GZ, hence the symlinks will disappear from all the NGZs, hence the application will fail in all the NGZs.
If we upgrade the GZ first but leave the symlinks in the GZ, then application won’t work in the GZ (application will fail to install with existing symlinks).
If the upgrade the NGZs first, then the symlinks in the GZ will still exist, hence they will also exist in the NGZs, hence application will fail to install in the NGZs. (application will fail to install with existing symlinks).

1.)is there any other method that can be applied to make this upgrade work?
2.)is it possible to change the installation path uf sudo to /opt/... that is not shared?
a) I tried changing the basedir from "default" to "/opt/...." in the administration file to change the installtion location but that didnt work at all
 
Old 01-28-2017, 04:28 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,761

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
Can you provide more information about this application. Is it continuously running?

What exactly are the symlinks you are referring to pointing to?

Is it a Solaris standard or a custom/third party one?
 
Old 01-29-2017, 08:42 AM   #3
ohijames
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlliagre View Post
Can you provide more information about this application. Is it continuously running?

What exactly are the symlinks you are referring to pointing to?

Is it a Solaris standard or a custom/third party one?
I am upgrading from quest sudo 1.6 to Sudo 1.8 by www.sudo.ws

The old symlinks for quest sudo 1.6 are
/usr/bin/sudo -> /opt/quest/bin/sudo
/usr/local/bin/sudo -> /opt/quest/bin/sudo

and the new symlink for sudo 1.8 is
/usr/bin/sudo -> /usr/local/bin/sudo
 
Old 01-29-2017, 09:46 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,761

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
You can compile from source the last version of sudo and specify another directory than /usr/local:

Code:
./configure --prefix=/opt/quest ...
 
Old 01-30-2017, 03:52 AM   #5
ohijames
LQ Newbie
 
Registered: Jun 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlliagre View Post
You can compile from source the last version of sudo and specify another directory than /usr/local:

Code:
./configure --prefix=/opt/quest ...
Please can you provide more information on exactly how to do this as I have never done this before.

Thanks.
 
Old 01-30-2017, 04:41 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Tribblix, Ubuntu/WSL
Posts: 9,761

Rep: Reputation: 459Reputation: 459Reputation: 459Reputation: 459Reputation: 459
Read thoroughly https://www.sudo.ws/install.html
 
  


Reply

Tags
installation, solaris 11, solaris10, upgradepkg, zones


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Logging in as root to global and non global zone slufoot80 Solaris / OpenSolaris 1 04-04-2014 03:40 AM
LXer: OpenClinica Global Conference to Bring Together Global Community for Open Sourc LXer Syndicated Linux News 0 01-08-2010 10:50 AM
Global Plus Application in AIX 5.2, Please Help ! ! ! abrenar AIX 2 02-25-2009 10:26 PM
Regarding /etc/system of Non Global Zones rajaniyer123 Solaris / OpenSolaris 3 10-23-2008 06:32 PM
How to check the cpu utilization on all non global zones from Global Zone rajaniyer123 Solaris / OpenSolaris 3 10-09-2008 01:43 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 05:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration