|
|
Subject: Re: can't find pfksh - msg#00879
List: os.solaris.opensolaris.pkg.general
Mayuresh Nirhali wrote:
>
> # pkg search -r pfksh
>
> returns nothing.
>
> User 'postgres' is configured with default shell as '/usr/bin/pfksh'.
>
> Is it missing in the repo or am I missing anything here ?
The problem is that there is no pfksh93 - it was ripped out of the
original ARC case since there was some unresolved discussion whether
POSIX shell behaviour or RBAC behaviour should be enforced for commands
which are available as builtin commands.
The other issue was simply that ksh93 -P was defunct for some time (and
no time was invested to fix it since the functionality was removed from
the ARC case anyway) ... but that has been fixed in the meantime
Workaround:
1. Download
http://www.opensolaris.org/os/project/ksh93-integration/downloads/2008-06-24/
(to get the fix for ksh93 -P)
2. Make a hardlink from /usr/bin/ksh93 to /usr/bin/pfksh
AFAIK this should work now...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz@xxxxxxxxxxx
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL <currently fluctuating>
(;O/ \/ \O;)
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
can't find pfksh
# pkg search -r pfksh
returns nothing.
User 'postgres' is configured with default shell as '/usr/bin/pfksh'.
Is it missing in the repo or am I missing anything here ?
Mayuresh
Next Message by Date:
click to view message preview
Hardlink actions cause install failure
I am getting a traceback when trying to install a package that
installs a file and a hardlink to that file. The file appears before
the hardlink in the manifest, in case the order matters:
OSError: [Errno 2] No such file or directory
pkg: An unexpected error happened during installation: [Errno 2] No
such file or directory
The Boot Environment opensolaris-2 failed to be updated. A snapshot
was taken before the failed attempt and is mounted here /tmp/
tmpb6HCg3. Use 'beadm activate opensolaris-2_static:-:
2008-06-30-10:16:18 and reboot if you wish to boot to this BE.
Traceback (most recent call last):
File "/usr/bin/pkg", line 1458, in ?
ret = main_func()
File "/usr/bin/pkg", line 1424, in main_func
return install(img, pargs)
File "/usr/bin/pkg", line 473, in install
img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 476, 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/hardlink.py",
line 78, in install
os.link(target, path)
OSError: [Errno 2] No such file or directory
Here's the relevant bit of manifest - emacs-22.2 is the file, and
emacs is a hardlink to it.
bash-3.2$ grep opt/emacs/bin/emacs-22 manifest
file opt/emacs/bin/emacs-22.2 mode=0555 owner=root group=bin path=opt/
emacs/bin/emacs-22.2
hardlink path=opt/emacs/bin/emacs target=opt/emacs/bin/emacs-22.2
Cheers,
Chris
Previous Message by Thread:
click to view message preview
can't find pfksh
# pkg search -r pfksh
returns nothing.
User 'postgres' is configured with default shell as '/usr/bin/pfksh'.
Is it missing in the repo or am I missing anything here ?
Mayuresh
Next Message by Thread:
click to view message preview
Hardlink actions cause install failure
I am getting a traceback when trying to install a package that
installs a file and a hardlink to that file. The file appears before
the hardlink in the manifest, in case the order matters:
OSError: [Errno 2] No such file or directory
pkg: An unexpected error happened during installation: [Errno 2] No
such file or directory
The Boot Environment opensolaris-2 failed to be updated. A snapshot
was taken before the failed attempt and is mounted here /tmp/
tmpb6HCg3. Use 'beadm activate opensolaris-2_static:-:
2008-06-30-10:16:18 and reboot if you wish to boot to this BE.
Traceback (most recent call last):
File "/usr/bin/pkg", line 1458, in ?
ret = main_func()
File "/usr/bin/pkg", line 1424, in main_func
return install(img, pargs)
File "/usr/bin/pkg", line 473, in install
img.imageplan.execute()
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageplan.py",
line 476, 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/hardlink.py",
line 78, in install
os.link(target, path)
OSError: [Errno 2] No such file or directory
Here's the relevant bit of manifest - emacs-22.2 is the file, and
emacs is a hardlink to it.
bash-3.2$ grep opt/emacs/bin/emacs-22 manifest
file opt/emacs/bin/emacs-22.2 mode=0555 owner=root group=bin path=opt/
emacs/bin/emacs-22.2
hardlink path=opt/emacs/bin/emacs target=opt/emacs/bin/emacs-22.2
Cheers,
Chris
|
|