Operating System - HP-UX
1757030 Members
2081 Online
108858 Solutions
New Discussion юеВ

Re: preremove script problem in HP-UX 11.31

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor
Solution

Re: preremove script problem in HP-UX 11.31

>I debugged this issue by myself

Thanks, this makes the problem clear.

>2. Only found in /usr/bin/sh and /sbin/sh shells.

You forgot to mention that you have PHCO_37286 or PHCO_37177.

>Once the shell process is created, no changes in UNIX95 will correct the problem.

That's right. The shell is looking at its environment and not the environment of the shell user.

Any reason you don't rewrite your test expression in a rational manner, that doesn't use naked strings without a prefix or infix operator:
[ -z 23 -o -n "" ]

In any case, this is a bug in the above two patches for the fix to QXCR1000750268 and you should contact the Response Center. You can mention my name, as to the actual problem.
http://www.itrc.hp.com/service/patch/patchDetail.do?patchid=PHCO_37286#Defect%20Description:
Jdamian
Respected Contributor

Re: preremove script problem in HP-UX 11.31

Hi again

Yes, the patch PHCO_37286 is installed.
The PHCO_38048 is installed, too:

PHCO_38048 libc cumulative patch
Dennis Handly
Acclaimed Contributor

Re: preremove script problem in HP-UX 11.31

Have you contacted the Response Center yet?
Jdamian
Respected Contributor

Re: preremove script problem in HP-UX 11.31

Yes.

We decided to install next patch.
Jdamian
Respected Contributor

Re: preremove script problem in HP-UX 11.31

Thanks a lot
Dennis Handly
Acclaimed Contributor

Re: preremove script problem in HP-UX 11.31

>Yes.

Do you have an ID for your call?

>We decided to install next patch.

It isn't fixed yet.