Hi,

I ran into this problem today while trying to install a locally created package for xymon (a server monitoring tool). (error messages below)

r...@sutl000t:~# pkg install xymon-client
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    1/1       27/27     0.48/0.48

PHASE                                        ACTIONS
Install Phase 1/39 Action install failed for 'home/hobbit/client' (pkg://mi-pkg/xymon-client):
  KeyError: 'user name not found: hobbit'

The hobbit username is an NIS user account and /etc/nsswitch.conf is configured to look at NIS after files, so I need some pointers on where to look next in my system config. The python traceback is below, I'l be glad to open a bug report if necessary.

Thanks,
Tom
----

Traceback (most recent call last):
  File "/usr/bin/pkg", line 2598, in ?
    __ret = main_func()
  File "/usr/bin/pkg", line 2541, in main_func
    return install(mydir, pargs)
  File "/usr/bin/pkg", line 767, in install
    api_inst.execute_plan()
File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 525, in execute_plan
    self.img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py", line 719, in execute
    p.execute_install(src, dest)
File "/usr/lib/python2.4/vendor-packages/pkg/client/pkgplan.py", line 260, in execute_install
    dest.install(self, src)
File "/usr/lib/python2.4/vendor-packages/pkg/actions/directory.py", line 66, in install
    owner = pkgplan.image.get_user_by_name(self.attrs["owner"])
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 2423, in get_user_by_name
    self.type != IMG_USER)
File "/usr/lib/python2.4/vendor-packages/pkg/portable/os_unix.py", line 106, in get_user_by_name
    raise KeyError, "user name not found: %s" % name
KeyError: 'user name not found: hobbit'


pkg: This is an internal error.  Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message.  The version of pkg(5) is '26c3e2407c53'.
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to