Code:
/# truss -p $(ps -ef | grep pkgadd | grep -v grep | awk '{print $2}')
read(0, 0xFEEB9D10, 1024) (sleeping...)
read(0, "\n", 1024) = 1
open64("/var/tmp/dstreAAAbBayew/signature", O_RDONLY|O_NONBLOCK) Err#2 ENOENT
zone_lookup("") = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFF098, 64) = 14
getpid() = 11299 [10262]
getpid() = 11299 [10262]
zone_lookup("") = 2
zone_lookup("") = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFEAB8, 64) = 14
access("/usr/bin/pkgadm", X_OK) = 0
open("/dev/null", O_RDONLY) = 4
pipe() = 5 [6]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork() = 11308
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(4) = 0
close(6) = 0
read(5, " E R R O R", 256) = 5
read(5, " : c a n n o t c r e".., 251) = 102
read(5, 0x000741DB, 149) = 0
close(5) = 0
waitid(P_PID, 11308, 0xFFBFEA18, WEXITED|WTRAPPED) = 0
write(2, " # # W a i t i n g f".., 131) = 131
write(2, "\n", 1) = 1
getpid() = 11299 [10262]
zone_lookup("") = 2
zone_lookup("") = 2
zone_getattr(2, ZONE_ATTR_NAME, 0xFFBFEAB8, 64) = 14
access("/usr/bin/pkgadm", X_OK) = 0
open("/dev/null", O_RDONLY) = 4
pipe() = 5 [6]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork() = 11310
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(4) = 0
close(6) = 0
read(5, " E R R O R", 256) = 5
read(5, " : c a n n o t c r e".., 251) = 102
read(5, 0x000741DB, 149) = 0
close(5) = 0
waitid(P_PID, 11310, 0xFFBFEA18, WEXITED|WTRAPPED) = 0
write(2, " p k g a d d", 6) = 6
write(2, " : E R R O R : ", 9) = 9
write(2, " E R R O R : ", 7) = 7
write(2, " U n a b l e t o a c".., 78) = 78
write(2, "\n", 1) = 1
write(2, " p k g a d d", 6) = 6
write(2, " : E R R O R : ", 9) = 9
write(2, " U n a b l e t o l o".., 43) = 43
write(2, "\n", 1) = 1
close(3) = 0
access("/bin/rm", X_OK) = 0
open64("/dev/null", O_RDONLY) = 3
pipe() = 4 [5]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork() = 11312
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(3) = 0
close(5) = 0
read(4, " r m : C a n n o t r".., 256) = 101
read(4, "\n", 155) = 1
read(4, 0x00073F16, 154) = 0
close(4) = 0
waitid(P_PID, 11312, 0xFFBFE9A0, WEXITED|WTRAPPED) = 0
access("/var/tmp/dstreAAAbBayew", F_OK) = 0
access("/bin/rmdir", X_OK) = 0
open64("/dev/null", O_RDONLY) = 3
pipe() = 4 [5]
lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFFF) = 0x00000000 [0x00000000]
vfork() = 11313
lwp_sigmask(SIG_SETMASK, 0x00000000, 0x00000000) = 0xFFBFFEFF [0x0000FFFF]
close(3) = 0
close(5) = 0
read(4, " r m d i r", 256) = 5
read(4, " : d i r e c t o r y ".., 251) = 76
read(4, 0x00073F01, 175) = 0
close(4) = 0
waitid(P_PID, 11313, 0xFFBFE9A0, WEXITED|WTRAPPED) = 0
schedctl() = 0xFF3F4000
sigaction(SIGINT, 0xFFBFF058, 0xFFBFF0F8) = 0
sigaction(SIGHUP, 0xFFBFF058, 0xFFBFF0F8) = 0
chdir("/") = 0
write(2, "\n 1 p a c k a g e w".., 30) = 30
write(2, "\n", 1) = 1
_exit(1)