1835094 Members
1987 Online
110073 Solutions
New Discussion

/var/spool/sw

 
SOLVED
Go to solution
Donny Jekels
Respected Contributor

/var/spool/sw

short of changing the sw to a soft link pointing else where. say /mydepots.

does anyone know how can I modify this default software depot container? and also remove this entry in SD-UX.
"Vision, is the art of seeing the invisible"
7 REPLIES 7
Bill Douglass
Esteemed Contributor
Solution

Re: /var/spool/sw

/var/adm/sw/defaults describes the deault values used in the SD commands.

/var/adm/sw/sys.default has a list of the various options available.

To change the default depot, go to/ var/adm/sw/defaults and enter

distribution_source_directory = /path/to/depot

Donny Jekels
Respected Contributor

Re: /var/spool/sw

I have done that, but why does the /var/spool/sw keep listing itself 1st when I do a swinstall?
"Vision, is the art of seeing the invisible"
Donny Jekels
Respected Contributor

Re: /var/spool/sw

WARNING: When reading the options file, "/var/adm/sw/defaults", 1
option(s) were found that are not recognized by this program.
"Vision, is the art of seeing the invisible"
Umapathy S
Honored Contributor

Re: /var/spool/sw

Donny,
By any chance did you forget to restart swagentd.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Sridhar Bhaskarla
Honored Contributor

Re: /var/spool/sw

Hi,

Copy defaults file from /usr/lib/sw into /var/adm/sw and modify it to reflect your /mydepots.

#cp /usr/lib/sw/sys.default /var/adm/sw/defaults
#vi /var/adm/sw/defaults

Search for spool. There are directories defined for different kinds of distributions like swcopy, swinstall etc., Modify the ones that you want to redirect to. Restart swagentd by killing it and starting it with 'swagentd -r'.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Bill Douglass
Esteemed Contributor

Re: /var/spool/sw

Did you do a

swagentd -r

to restart the agent daemon?
Donny Jekels
Respected Contributor

Re: /var/spool/sw

# swreg -l depot -u /var/spool/sw

======= 06/16/03 14:20:11 EDT BEGIN swreg SESSION (non-interactive)

* Session started for user "root@myhp".

* Beginning Selection
* Targets: myhp
* Objects: /var/spool/sw
* Selection succeeded.



======= 06/16/03 14:20:11 EDT END swreg SESSION (non-interactive)

thanks, it works now.

config and restart saved the day. and the removal.
"Vision, is the art of seeing the invisible"