Using: Solaris 2.7 3/99, Ultra 10 and 60.
I am trying to install a package on a system during a reboot,
i.e.: as the system is booting, a script in /etc/rc2.d runs
pkgadd. In theory and on the command line, this works perfectly.
However, as with many things, theory and reality diverge greatly.
During the boot, pkgadd starts, then gives this error and dies:
pkgadd: ERROR: freopen(/dev/tty, "r", stdin) failed, errno=6
pkgadd: ERROR: request script did not complete successfully
My best guess is that pkgadd does not like running without being
attached to a tty. Is this a safe assumption? If it is, how can
I fake pkgadd into thinking it is attached to a tty?
Thanks for any help or hints.
(And, since DejaNews royally screwed up their interface, please
mail me a copy of what you post. Thanks)
chad at radix dot net
--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---