tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg_add problem with nosuid on /var



Hi,

I installed a new server, and tested to add some extra security precautions to 
the mounted filesystems.
Then I started to use pkgin to install the basic stuff, it didn't work 
anymore...

Ex.

server# pkgin in bash
calculating dependencies... done.

nothing to upgrade.
1 packages to be installed: bash-4.2nb2 (0B to download, 3897K to install)

proceed ? [Y/n] y
downloading packages...
installing packages...
installing bash-4.2nb2...
pkg_install warnings: 0, errors: 1
pkg_install error log can be found in /var/db/pkgin/pkg_install-err.log

server# more /var/db/pkgin/pkg_install-err.log
---Nov 12 12:59:37: installing bash-4.2nb2...
pkg_add: exec of install script failed: Permission denied
pkg_add: 1 package addition failed

server# mount
/dev/sd0a on / type ffs (local)
/dev/sd0f on /var type ffs (log, noexec, nosuid, local)
/dev/sd0e on /usr type ffs (log, local)
/dev/sd0g on /home type ffs (log, nosuid, local)
kernfs on /kern type kernfs (local)
ptyfs on /dev/pts type ptyfs (local)
procfs on /proc type procfs (local)

Repeat the pkg_add commando:

server# pkg_add /var/db/pkgin/cache/bash-4.2nb2.tgz
pkg_add: exec of install script failed: Permission denied
pkg_add: 1 package addition failed

server# cp /var/db/pkgin/cache/bash-4.2nb2.tgz /home/

server# pkg_add /home/bash-4.2nb2.tgz
pkg_add: exec of install script failed: Permission denied
pkg_add: 1 package addition failed

So pkg_add does setuid operations in /var. I understand that it's critical for 
pkg_add and friends to work today.
But in the long term, would it be possible to make pkg_add and friend to 
perform their job without requiring setuid operations in /var? 

Re,
/P

ktruss from pkg_add: 

server# ktruss pkg_add /var/db/pkgin/cache/bash-4.2nb2.tgz
   622      1 ktruss   fktrace                     = 0
pkg_add:    622      1 ktruss   emul(netbsd)
exec of install script failed   622      1 ktruss   fcntl(0x4, 0x3, 0)          
= 1
:    622      1 ktruss   fcntl(0x4, 0x4, 0x1)        = 0
Permission denied
   622      1 ktruss   execve("/sbin/pkg_add", 0xbfbfed50, 0xbfbfed5c) Err#2 
ENOENT
pkg_add:    622      1 pkg_add  execve("/usr/sbin/pkg_add", 0xbfbfed50, 
0xbfbfed5c) JUSTRETURN
1 package addition failed   622      1 pkg_add  emul(netbsd)

   622      1 pkg_add  mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 
0xbbbe5000
   622      1 pkg_add  open("/etc/ld.so.conf", 0, 0) Err#2 ENOENT
   622      1 pkg_add  open("/usr/lib/libterminfo.so.1", 0, 0) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbe4000
   622      1 pkg_add  munmap(0xbbbe4000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0xc000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbbd9000
   622      1 pkg_add  mmap(0xbbbe4000, 0x1000, 0x3, 0x12, 0x3, 0, 0xb000, 0) = 
0xbbbe4000
   622      1 pkg_add  mmap(0xbbbe5000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbbbe5000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libfetch.so.3", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbd8000
   622      1 pkg_add  munmap(0xbbbd8000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0xe000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbbcb000
   622      1 pkg_add  mmap(0xbbbd8000, 0x1000, 0x3, 0x12, 0x3, 0, 0xd000, 0) = 
0xbbbd8000
   622      1 pkg_add  mmap(0xbbbd9000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbbbd9000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libssl.so.10", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbbca000
   622      1 pkg_add  munmap(0xbbbca000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x59000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbbb72000
   622      1 pkg_add  mmap(0xbbbc5000, 0x6000, 0x3, 0x12, 0x3, 0, 0x52000, 0) 
= 0xbbbc5000
   622      1 pkg_add  mmap(0xbbbcb000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbbbcb000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libcrypto.so.8", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbbb71000
   622      1 pkg_add  munmap(0xbbb71000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x1a4000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb9ce000
   622      1 pkg_add  mmap(0xbbb55000, 0x1a000, 0x3, 0x12, 0x3, 0, 0x186000, 
0) = 0xbbb55000
   622      1 pkg_add  mmap(0xbbb6f000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 0, 
0) = 0xbbb6f000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libarchive.so.3", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb9cd000
   622      1 pkg_add  munmap(0xbb9cd000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x36000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb998000
   622      1 pkg_add  mmap(0xbb9cc000, 0x1000, 0x3, 0x12, 0x3, 0, 0x34000, 0) 
= 0xbb9cc000
   622      1 pkg_add  mmap(0xbb9cd000, 0x1000, 0x3, 0x1012, 0xffffffff, 0, 0, 
0) = 0xbb9cd000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libz.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb997000
   622      1 pkg_add  munmap(0xbb997000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x12000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb986000
   622      1 pkg_add  mmap(0xbb997000, 0x1000, 0x3, 0x12, 0x3, 0, 0x10000, 0) 
= 0xbb997000
   622      1 pkg_add  mmap(0xbb998000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbb998000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libbz2.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb985000
   622      1 pkg_add  munmap(0xbb985000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x10000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb976000
   622      1 pkg_add  mmap(0xbb985000, 0x1000, 0x3, 0x12, 0x3, 0, 0xf000, 0) = 
0xbb985000
   622      1 pkg_add  mmap(0xbb986000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbb986000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/liblzma.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb975000
   622      1 pkg_add  munmap(0xbb975000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x24000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb952000
   622      1 pkg_add  mmap(0xbb975000, 0x1000, 0x3, 0x12, 0x3, 0, 0x22000, 0) 
= 0xbb975000
   622      1 pkg_add  mmap(0xbb976000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbb976000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb951000
   622      1 pkg_add  munmap(0xbb951000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0xc000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb946000
   622      1 pkg_add  mmap(0xbb951000, 0x1000, 0x3, 0x12, 0x3, 0, 0xa000, 0) = 
0xbb951000
   622      1 pkg_add  mmap(0xbb952000, 0, 0x3, 0x1012, 0xffffffff, 0, 0, 0) = 
0xbb952000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/usr/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb945000
   622      1 pkg_add  munmap(0xbb945000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x110000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb836000
   622      1 pkg_add  mmap(0xbb92f000, 0x8000, 0x3, 0x12, 0x3, 0, 0xf9000, 0) 
= 0xbb92f000
   622      1 pkg_add  mmap(0xbb937000, 0xf000, 0x3, 0x1012, 0xffffffff, 0, 0, 
0) = 0xbb937000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libcrypt.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0, 0) = 0xbb835000
   622      1 pkg_add  munmap(0xbb835000, 0x1000)  = 0
   622      1 pkg_add  mmap(0, 0x9000, 0x5, 0x2, 0x3, 0, 0, 0) = 0xbb82d000
   622      1 pkg_add  mmap(0xbb832000, 0x1000, 0x3, 0x12, 0x3, 0, 0x5000, 0) = 
0xbb832000
   622      1 pkg_add  mmap(0xbb833000, 0x3000, 0x3, 0x1012, 0xffffffff, 0, 0, 
0) = 0xbb833000
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libgcc_s.so.1", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  open("/lib/libc.so.12", 0, 0xbfbfe4cc) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfe4cc)  = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  mmap(0, 0x9000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 
0xbb824000
   622      1 pkg_add  _lwp_setprivate(0xbb825040) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec88, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  __sysctl(0xbb92d2dc, 0x2, 0x805b5e0, 0xbfbfec28, 0, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfec38, 0xbfbfed08) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfed08, 0) = 0
   622      1 pkg_add  open("/etc/pkg_install.conf", 0, 0x1b6) Err#2 ENOENT
   622      1 pkg_add  __sysctl(0xbfbfe79c, 0x2, 0xbb93ee68, 0xbfbfe7a4, 0, 0) 
= 0
   622      1 pkg_add  __sysctl(0xbfbfe6a4, 0x2, 0xbb9455e0, 0xbfbfe6ac, 0, 0) 
= 0
   622      1 pkg_add  readlink("/etc/malloc.conf", 0xbfbfe7a9, 0x400) Err#2 
ENOENT
   622      1 pkg_add  break(0x8100000)            = 0
   622      1 pkg_add  mmap(0, 0x100000, 0x3, 0x14001002, 0xffffffff, 0, 0, 0) 
= 0xbb700000
   622      1 pkg_add  __getcwd(0xbfbfe89c, 0x400) = 5
   622      1 pkg_add  open("/var/db/pkgin/cache/bash-4.2nb2.tgz", 0, 
0x1000001) = 3
   622      1 pkg_add  __fstat50(0x3, 0xbfbfea64)  = 0
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M-}7zXZ\0\0\^D\M-f\M-V\M-4F\^B\0!\^A\^V\0\0\0t/\M-e\M-#\M-b\M-T\^D"
   622      1 pkg_add  mmap(0, 0x800000, 0x3, 0x14001002, 0xffffffff, 0, 0, 0) 
= 0xbaf00000
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\^_LH\M-b\M-"\M-V\M^P\M-a\M-Z\^Eyt{%\M-fX\M-v\M-U\M-F;_\M-U\M^_\M-{ow"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M^_R\^P&\M-$\^E\M-3>\M^?2:\M-&\M-nn>\M-O\^W\M-/(\M-l\M-9SBE\M-|\^Q"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M-}^d\M-9\b\^Fl\M^R$\^RA\M-If&\M^D\M^P\^B{\M-b\^S-\M-[\M^S\^O\M-~"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "S\M-f~i\\\M-Z\M^P\M^O\M-ym\^?\^V\M^E\v\M-k\M-y\M-S\M^^Y\^O\M-b\M-57"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\^E\M-U#\M-NmR\^R\M^B\M-)\M-%y\^T\^A\M-E\M^M\^D{\M-.\M-v\M-T\M-^\M^@"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       ""|M\M-;rBY\M-# #\M^T{\M-f\M-V\M^W\M-o\M-o\M-^R1\240]Ro\M^S\M-Q\M-="
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "{@\^D\M^FCy\^S\r\M-20\M-z\^B>\M-Q(O!\M-n\M-I\M^S2[$]\M^E\t\M-N\^C}T!"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M-N\M-Eq\M-q\^S?\M-4\M-a\M-=\M--\M-3\M->\M-)9\M^L\M-9=\^Cy\M^\d\M-Gg"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "v\M-(\M-C\M-/\M^X\M-H\^N\M-w\M-m\M-V\M-B\M-,\M-v~p\^T\M-Q\M-sR.\M-w. "
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M^P\M-"\M-\\M-M\M--\M-G_\M^H\M-'\M-XJ\M^I\^A\^R\M-/g\^S\M-t[\M-]\M^G"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M^NCa\vW\M^D\M^S\^E\M-%d\^A\M^E\v\^C\M-_\M^L1\M-R7J\M^H\M^G\^E\M-H"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M^B\M^@!\M-F\M-U\M^Mt\M^DGT\M^V\a$[\M-)\M-EZ=\M-f\M-v#\a\M-a\M-*\M-F"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "e\M-S\M-@I#\M-"\M-a\^C\^QF\M^A\^W\^RFR`A\M-]\^D\M-8\M-W\M^\\M-1\M-X."
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\M-^\^]\240\t*G%\M^[;\M^G$?\M-"\M-]\M-G\M^\\^V\M^Vh\M-~\M-$\M-T\M-l"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "\b\^O\240\M-LuO\M^D9\^T\M-y\M-S\M^_\M-2\M^_RS\^UC\M-$\M-`&\^F\M-R!"
   622      1 pkg_add  read(0x3, 0xbb70a800, 0x400) = 1024
       "0\M-a\M-@\M-B\M^@\M-=\M-`i\M-\\M-A\M^^\M-:\M-o\M-'p\M-3Wu]\^Z\M-L\M-s"
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+CONTENTS", 0, 0xbb701120) 
Err#2 ENOENT
   622      1 pkg_add  __sysctl(0xbfbfe5e4, 0x2, 0xbfbfe64c, 0xbfbfe5ec, 0, 0) 
= 0
   622      1 pkg_add  __sysctl(0xbfbfe5e4, 0x2, 0xbfbfe74c, 0xbfbfe5ec, 0, 0) 
= 0
   622      1 pkg_add  __sysctl(0xbfbfe5e4, 0x2, 0xbfbfe84c, 0xbfbfe5ec, 0, 0) 
= 0
   622      1 pkg_add  __sysctl(0xbfbfe5e4, 0x2, 0xbfbfe94c, 0xbfbfe5ec, 0, 0) 
= 0
   622      1 pkg_add  __sysctl(0xbfbfe5e4, 0x2, 0xbfbfea4c, 0xbfbfe5ec, 0, 0) 
= 0
   622      1 pkg_add  open("/var/db/pkg", 0x400004, 0xbbbf0885) = 5
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe19c)  = 0
   622      1 pkg_add  fstatvfs1(0x5, 0xbfbfe218, 0x2) = 0
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 0
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 136
       "\M^VS\^U\0\0\0\0\0\^P\0\^A\0\^D.\0\0\M^@S\^U\0\0\0\0\0\^P\0\^B\0\^D.."
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 512
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  open("/var/db/pkg", 0x400004, 0xbfbfeb38) = 5
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe19c)  = 0
   622      1 pkg_add  fstatvfs1(0x5, 0xbfbfe218, 0x2) = 0
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 0
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 136
       "\M^VS\^U\0\0\0\0\0\^P\0\^A\0\^D.\0\0\M^@S\^U\0\0\0\0\0\^P\0\^B\0\^D.."
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 512
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  open("/var/db/pkg", 0x400004, 0xbfbfeb08) = 5
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe19c)  = 0
   622      1 pkg_add  fstatvfs1(0x5, 0xbfbfe218, 0x2) = 0
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 0
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 136
       "\M^VS\^U\0\0\0\0\0\^P\0\^A\0\^D.\0\0\M^@S\^U\0\0\0\0\0\^P\0\^B\0\^D.."
   622      1 pkg_add  open("/var/db/pkg/pkg_install-20120221/+CONTENTS", 0, 
0x1b6) = 6
   622      1 pkg_add  __fstat50(0x6, 0xbfbfe4e4)  = 0
   622      1 pkg_add  read(0x6, 0xbb760000, 0x4000) = 1492
       "@cwd /usr/pkg\n@pkgcfl audit-packages-[0-9]*\n@name pkg_install-20120"
   622      1 pkg_add  read(0x6, 0xbb760000, 0x4000) = 0
       ""
   622      1 pkg_add  close(0x6)                  = 0
   622      1 pkg_add  open("/var/db/pkg/pkgin-0.6.2.2nb1/+CONTENTS", 0, 0x1b6) 
= 6
   622      1 pkg_add  __fstat50(0x6, 0xbfbfe4e4)  = 0
   622      1 pkg_add  read(0x6, 0xbb760000, 0x4000) = 587
       "@cwd /usr/pkg\n@name pkgin-0.6.2.2nb1\n@blddep pkg_install-20120221\n"
   622      1 pkg_add  read(0x6, 0xbb760000, 0x4000) = 0
       ""
   622      1 pkg_add  close(0x6)                  = 0
   622      1 pkg_add  lseek(0x5, 0, 0, 0, 0x1)    = 512
   622      1 pkg_add  __getdents30(0x5, 0xbb75f000, 0x1000) = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  open("/var/db/pkg/pkgdb.byfile.db", 0, 0x1a4) = 5
   622      1 pkg_add  fcntl(0x5, 0x2, 0x1)        = 0
   622      1 pkg_add  fcntl(0x5, 0x2, 0x1)        = 0
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe604)  = 0
   622      1 pkg_add  read(0x5, 0xbfbfe680, 0x18) = 24
       "b1\^E\0\^C\0\0\0\0\^P\0\0\0\0\0\0\0\0\0\0 \0\0\0"
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe524)  = 0
   622      1 pkg_add  pread(0x5, 0xbb75f01c, 0x1000, 0, 0, 0) = 4096
       "b1\^E\0\^C\0\0\0\0\^P\0\0\0\0\0\0\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0"
   622      1 pkg_add  pread(0x5, 0xbb76101c, 0x1000, 0, 0x1000, 0) = 4096
       "\^A\0\0\0\0\0\0\0\0\0\0\0\^B\0\0\0<\0(\v\M-0\v\M-D\^O\M^H\^OH\^O\b\^O"
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  mkdir("/var/db/pkg/bash-4.2nb2", 0x1ff) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+CONTENTS") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+CONTENTS", 0x601, 0x1a4) 
= 5
   622      1 pkg_add  write(0x5, 0xbb757000, 0xbd1) = 3025
       "@cwd /usr/pkg\n@pkgcfl static-bash-[0-9]*\n@name bash-4.2nb2\n@blddep"
   622      1 pkg_add  write(0x5, 0xbb757000, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+COMMENT") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+COMMENT", 0x601, 0x124) = 
5
   622      1 pkg_add  write(0x5, 0xbb7041a0, 0x1b) = 27
       "The GNU Bourne Again Shell\n"
   622      1 pkg_add  write(0x5, 0xbb7041a0, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+DESC") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+DESC", 0x601, 0x124) = 5
   622      1 pkg_add  write(0x5, 0xbb70ac00, 0x263) = 611
       "Bash is an sh-compatible shell that incorporates useful features from"
   622      1 pkg_add  write(0x5, 0xbb70ac00, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+INSTALL") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+INSTALL", 0x601, 0x16d) = 
5
   622      1 pkg_add  write(0x5, 0xbb758000, 0x3388) = 13192
       "#!/bin/sh\n#\n# $NetBSD: header,v 1.2 2006/07/19 22:26:26 jlam Exp $"
   622      1 pkg_add  write(0x5, 0xbb758000, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+DEINSTALL") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+DEINSTALL", 0x601, 0x16d) 
= 5
   622      1 pkg_add  write(0x5, 0xbb75c000, 0xfeb) = 4075
       "#!/bin/sh\n#\n# $NetBSD: header,v 1.2 2006/07/19 22:26:26 jlam Exp $"
   622      1 pkg_add  write(0x5, 0xbb75c000, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+BUILD_VERSION") Err#2 
ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+BUILD_VERSION", 0x601, 
0x124) = 5
   622      1 pkg_add  write(0x5, 0xbb70b000, 0x2f5) = 757
       "shells/bash/Makefile:\t$NetBSD: Makefile,v 1.55 2012/09/11 23:25:07 a"
   622      1 pkg_add  write(0x5, 0xbb70b000, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+BUILD_INFO") Err#2 
ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+BUILD_INFO", 0x601, 
0x124) = 5
   622      1 pkg_add  write(0x5, 0xbb75d000, 0xdb4) = 3508
       "ABI=\nBUILD_DATE=2012-10-10 22:17:23 +0000\nBUILD_HOST=NetBSD neuroma"
   622      1 pkg_add  write(0x5, 0xbb75d000, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+SIZE_PKG") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+SIZE_PKG", 0x601, 0x124) 
= 5
   622      1 pkg_add  write(0x5, 0xbb701060, 0x8) = 8
       "3990138\n"
   622      1 pkg_add  write(0x5, 0xbb701060, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+SIZE_ALL") Err#2 ENOENT
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2/+SIZE_ALL", 0x601, 0x124) 
= 5
   622      1 pkg_add  write(0x5, 0xbb701070, 0x8) = 8
       "3990138\n"
   622      1 pkg_add  write(0x5, 0xbb701070, 0)   = 0
       ""
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  __vfork14()                 = 299
   622      1 pkg_add  __wait450(0x12b, 0xbfbfeaac, 0, 0) = 299
   622      1 pkg_add  write(0x2, 0xbfbfe324, 0x9) = 9
       "pkg_add: "
   622      1 pkg_add  write(0x2, 0xbfbfe344, 0x1d) = 29
       "exec of install script failed"
   622      1 pkg_add  write(0x2, 0xbb92b157, 0x2) = 2
       ": "
   622      1 pkg_add  issetugid()                 = 0
   622      1 pkg_add  issetugid()                 = 0
   622      1 pkg_add  open("/usr/share/nls/nls.alias.db", 0x400000, 
0xbbbf1c09) Err#2 ENOENT
   622      1 pkg_add  open("/usr/share/nls/nls.alias", 0x400000, 0xc) = 5
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe0d4)  = 0
   622      1 pkg_add  mmap(0, 0x5f0, 0x1, 0x2, 0x5, 0, 0, 0) = 0xbb823000
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  munmap(0xbb823000, 0x5f0)   = 0
   622      1 pkg_add  open("/usr/share/nls/C/libc.cat", 0, 0x1) = 5
   622      1 pkg_add  __fstat50(0x5, 0xbfbfe154)  = 0
   622      1 pkg_add  mmap(0, 0x10be, 0x1, 0x1, 0x5, 0, 0, 0) = 0xbb822000
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  munmap(0xbb822000, 0x10be)  = 0
   622      1 pkg_add  write(0x2, 0xbfbfe324, 0x12) = 18
       "Permission denied\n"
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2", 0xbfbfeab4) = 0
   622      1 pkg_add  rmdir("/var/db/pkg/bash-4.2nb2") Err#66 ENOTEMPTY
   622      1 pkg_add  open(".", 0, 0xbb75e2b0)    = 5
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2", 0xbfbfe604) = 0
   622      1 pkg_add  rmdir("/var/db/pkg/bash-4.2nb2") Err#66 ENOTEMPTY
   622      1 pkg_add  open("/var/db/pkg/bash-4.2nb2", 0x400004, 0x42) = 6
   622      1 pkg_add  __fstat50(0x6, 0xbfbfe16c)  = 0
   622      1 pkg_add  fstatvfs1(0x6, 0xbfbfe1e8, 0x2) = 0
   622      1 pkg_add  lseek(0x6, 0, 0, 0, 0x1)    = 0
   622      1 pkg_add  __getdents30(0x6, 0xbb761000, 0x1000) = 264
       "\M-LS\^U\0\0\0\0\0\^P\0\^A\0\^D.\0\0\M^VS\^U\0\0\0\0\0\^P\0\^B\0\^D.."
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+CONTENTS", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+CONTENTS") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+COMMENT", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+COMMENT") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+DESC", 0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+DESC") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+INSTALL", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+INSTALL") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+DEINSTALL", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+DEINSTALL") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+BUILD_VERSION", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+BUILD_VERSION") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+BUILD_INFO", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+BUILD_INFO") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+SIZE_PKG", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+SIZE_PKG") = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2/+SIZE_ALL", 
0xbfbfe5a4) = 0
   622      1 pkg_add  unlink("/var/db/pkg/bash-4.2nb2/+SIZE_ALL") = 0
   622      1 pkg_add  lseek(0x6, 0, 0, 0, 0x1)    = 512
   622      1 pkg_add  __getdents30(0x6, 0xbb761000, 0x1000) = 0
       ""
   622      1 pkg_add  close(0x6)                  = 0
   622      1 pkg_add  fchdir(0x5)                 = 0
   622      1 pkg_add  __lstat50("/var/db/pkg/bash-4.2nb2", 0xbfbfe604) = 0
   622      1 pkg_add  rmdir("/var/db/pkg/bash-4.2nb2") = 0
   622      1 pkg_add  close(0x5)                  = 0
   622      1 pkg_add  munmap(0xbaf00000, 0x800000) = 0
   622      1 pkg_add  close(0x3)                  = 0
   622      1 pkg_add  write(0x2, 0xbfbfe4d4, 0x9) = 9
       "pkg_add: "
   622      1 pkg_add  write(0x2, 0xbfbfe4f4, 0x19) = 25
       "1 package addition failed"
   622      1 pkg_add  write(0x2, 0x805b6f3, 0x1)  = 1
       "\n"
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfebe0, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  _lwp_self()                 = 1
   622      1 pkg_add  __sigprocmask14(0x1, 0xbfbfeb80, 0xbfbfec20) = 0
   622      1 pkg_add  __sigprocmask14(0x3, 0xbfbfec20, 0) = 0
   622      1 pkg_add  exit(0x1)

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail



Home | Main Index | Thread Index | Old Index