Operating System - HP-UX
1838629 Members
2858 Online
110128 Solutions
New Discussion

Re: swinstall.autoreboot=false NO impact

 
Herbert Loevenich
Frequent Advisor

swinstall.autoreboot=false NO impact

I'm using swinstall to install Kernel patches on a local system with a remote software depot. I've removed all entries
in /var/adm/sw/defaults, because i would like to contral the reboot time.

Unfortunately the system rebooted immediatly after the software installation finished sucessfull.

Any hints about to get the expected behaviour.

Thanks,

Herbert
50% of all problems are based on communication issues, lets talk
6 REPLIES 6
RAC_1
Honored Contributor

Re: swinstall.autoreboot=false NO impact

What was there in /var/adm/sw, when you installed kernel patches?

Also what was the commandline that you used?


Anil
There is no substitute to HARDWORK
Mel Burslan
Honored Contributor

Re: swinstall.autoreboot=false NO impact

I am wondering, while you are loding this patch, did you actually set the flag by including the command line switch:

swinstall ... -x autoreboot=false ... PHKL_1234

or just trusted whatever is in the /var/adm/sw/defaults file is going to protect you from an unwanted reboot ?

if you have used the interactive gui/tui, have you checked under the options menu, if autoreboot option was unchecked ?

If you have just trusted the entry in the defaults file, only thing I can say, you should not have. But if everything is checked fine before the patch install and after all this it reboot, then I am stumped as well.

________________________________
UNIX because I majored in cryptology...
Scot Bean
Honored Contributor

Re: swinstall.autoreboot=false NO impact

The default behavior is to reboot.

If you don't specifiy it on the command line (-x) or via GUI options, reboot will occur.
Sanjay_6
Honored Contributor

Re: swinstall.autoreboot=false NO impact

Hi,

If you use this option on the swinstall command line it will prevent any software installation that needs a reboot. However if you do the installation using a GUI / user interface you are propted if you will accept a reboot and that should be enough to say that the system will reboot even if the setting is set to false (no reboot). You did accept the reboot "Yes" when prompted, didn't you?.

Looks at the swinstall man pages for more help on this option with swinstall command.

Hope this helps.

Regds
Herbert Loevenich
Frequent Advisor

Re: swinstall.autoreboot=false NO impact

I've use the GUI without startup options.
In the file /var/adm/sw/defaults was:
either
swinstall.autoreboot=false
or
no entries
or
# swinstal.autoreboot=true

I'm installating HWE1100 and QPK1100
March 2003 with the "GUI option" Manage Patch Selection.

I expect the local software install should finish the installation and expect a confirmation before it reboots.

Unfortunately the system didn't wait for a confirmation, it simply completes the installation and reboots.
50% of all problems are based on communication issues, lets talk
Scot Bean
Honored Contributor

Re: swinstall.autoreboot=false NO impact

Apparently this option only applies to the local system in GUI mode.

Remote system has it's own defaults, I presume.

I think moving to the command line mode WILL block on remote systems as well.

Use "view /usr/lib/sw/sys.defaults" to read more about it.