Sponsored Content
Operating Systems Solaris Change inherit-pkg-dir to writable Post 302337706 by TonyFullerMalv on Friday 24th of July 2009 05:19:10 PM
Old 07-24-2009
Please test this on an experimental zone first.

It looks like you run:
Code:
# zonecfg myzone

and then type in:
Code:
zonecfg:myzone> remove inherit-pkg-dir
zonecfg:myzone:inherit-pkg-dir> set dir=/lib
zonecfg:myzone:inherit-pkg-dir> end
zonecfg:myzone>

Then confiorm what you have asked for:
Code:
zonecfg:myzone> info

Then do:
Code:
zonecfg:myzone> verify
zonecfg:myzone> commit 
zonecfg:myzone> exit

Whether this has to be set during the zone creation stage rather than afterwards, I do not know, I imagine it has to be during the zone creation stage!

Please see:
Solaris Zone Management
and:
Create Sparse Root Solaris Zone
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

change login dir

Ok when I log in to my terminal I land in a dir. How can I change the dir that I start from when I login? Thanks for the help, sure it is a no brainer for you guys cd (5 Replies)
Discussion started by: lorcet222
5 Replies

2. Shell Programming and Scripting

how I change dir in dos

Hi I have a dos batch file in window server where I call a cmd command for creating some db. this cmd commad is located in e:\data\abcd\xyz.cmd. Now I call this batch file from unix ssh.sh but my access point is D in window server here I want to change the dos prompt to e:\data\abcd. in... (3 Replies)
Discussion started by: Jamil Qadir
3 Replies

3. Solaris

cant able to change permission in a DIR as root user

Hi my directory not accepting any commands. its simply telling permission denied. i tried ( cp, mv, rm ) as roor i want to set default permissons to this DIR please find the Logs below. dr-xr-xr-x 1 root root 1 Jun 1 09:04 AP1_ROP ( original dir) root> chmod 777... (5 Replies)
Discussion started by: vijayq8
5 Replies

4. Solaris

remove dir from inherit-pkg-dir

hi i configured zone and have 4 files /usr and /lib /platform /sbin from global zone and i want to exclude /usr/local from /usr any one has an idea ? (2 Replies)
Discussion started by: maxim42
2 Replies

5. HP-UX

could not able change permission of /home dir

Hi i am new to this admin area . i have created user with name as "ab" and gave home dir as /home/ab . when i tried to create the /home/ab dir , i got he following error. "mkdir: Failed to make directory "/home/ab"; Operation not applicable " Thanks in advance . (1 Reply)
Discussion started by: expert
1 Replies

6. Shell Programming and Scripting

Generate a change list of files/dir

Is there a tool that can diff a directory and generate a change list of files in that directory based on a previous snapshot on the directory? For example /etc/a.txt:changed /etc/b.txt:removed /etc/c.txt:added Thanks! (1 Reply)
Discussion started by: overmindxp
1 Replies

7. Solaris

Change Dir doubt and some advice.

Hello, This is my first post in this forum. I need to change the owner of several directories and files in Solaris 10 Operating system, more than 500. The server is in production and my question is: If i change the owner of directories and files, the server can become unstable, i mean,... (2 Replies)
Discussion started by: checoturco
2 Replies

8. Solaris

How extract SUNWexplo.7.1.pkg & SUNWexplu.7.1.pkg from install_stb.sh?

Hi all, Could please guideas how to extract SUNWexplo.7.2.pkg & SUNWexplu.7.2.pkg from install_stb.sh. I need to upgrade my Sun Explorer to 7.2 version from 7.1 . This what written in read me file about its installation: The Lightweight Availability Collection Tool (LWACT) is no... (1 Reply)
Discussion started by: manalisharmabe
1 Replies

9. Solaris

Pkg problem, one zone trying pkg.Oracle.com on port 1008

Hi Solaris Experts, The pkg utility on one of my non-global zones has stopped working, it's trying to connect to port 1008 at pkg.oracle.com I was using pkg successfully from this zone, but now it's showing this error: lzone1 $ pkg search xterm pkg: Some repositories failed to respond... (4 Replies)
Discussion started by: ad101
4 Replies

10. Solaris

# pkg publisher gives bash: pkg: command not found

This is the operating system im using Oracle Solaris 10 9/10 s10s_u9wos_14a SPARC I need to install some packages by setting local repository While i run the below command # pkg publisher command returns bash: pkg: command not found while looking for /usr/bin/pkg i get bash:... (2 Replies)
Discussion started by: babinlonston
2 Replies
pkg2du(1M)						  System Administration Commands						pkg2du(1M)

NAME
pkg2du - convert driver packages to Driver Update format SYNOPSIS
/usr/bin/pkg2du [-f] [-v] [-d dir] [-o iso] [-l label] [-r release] pkg [pkg ...] DESCRIPTION
The /usr/bin/pkg2du utility takes one or more packages as input and converts them to Driver Update (DU) format. If the -d option is speci- fied, the resulting DU directory tree is placed in the directory dir. If the -o option is specified, a Solaris ISO image of the DU direc- tory tree is written in the file iso. The ISO image can be burned onto CD/DVD using cdrw(1) or cdrecord(1) (not a SunOS man page) and used during Solaris installation. At least one of the -d and -o options must be specified. If both are specified, then both an ISO image and a directory tree are generated. OPTIONS
The following options are supported: -d dir Directory where the DU directory should be created. -o iso Create a Solaris ISO image of the DU directory. -f If dir/DU or iso exists, remove it without asking first. -l label Label/volume name of the ISO image (if -o option is specified). -r release Solaris release number to use. It takes the form of the return from uname -r command, for example, 5.10. If unspecified, the release number of the currently running Solaris is used. -v Verbose. Multiple -v options increase verbosity. OPERANDS
The following operands are supported: pkg [pkg...] One or more packages to be converted to DU format. EXAMPLES
Example 1 Creating a DU CD/DVD The following commands create a DU CD or DVD containing packages SUNWfoo and SUNWbar. # /usr/bin/pkg2du -r 5.10 -o my.iso SUNWfoo SUNWbar # /usr/bin/cdrw -i my.iso ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
cdrw(1), mkcd(1M), attributes(5) mkisofs(8), (/usr/share/man/man8/mkisofs.8), in the SUNWfsman package (not a SunOS man page) SunOS 5.11 29 Jul 2008 pkg2du(1M)
All times are GMT -4. The time now is 05:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy