Hi folks,
today on elpaso we once again got bitten by the effect of
1482 image find_root should ignore autofs directories listed in mnttab
Checking whether perl-510 was installed worked fine for me,
but not JBeck, because his pwd was /net/opal/something, and
he hasn't installed perl-510 on opal yet.
After a long and somewhat heated discussion with Rich earlier
this evening, I found out that a number of people using pkg(5)
make the assumption that
cd /random/mount/point
pkg install randomfuu
will install randomfuu in the image which is found underneath
/random/mount/point. (Rather than running pkg -R /random/mount/point
install randomfuu, as I would have expected from TFM).
And therefore fixing pkg(1) so that it searches for system images
first (ie, what a naive user like myself might think after
reading TFM), would break them. And they would scream.
I've searched, but I haven't come across any actual user images
yet. By that I mean, images that I want to install into $HOME.
Where can I find a pkg(5) definition of a user image?
It is my opinion that this behaviour is a significant departure
from the principle of least surprise. Particularly from the
perspective of somebody who has many years of SVR4 pkgadd/pkgrm
muscle memory.
I'd be glad to find out why it is that what I think of as the
obvious use case is now deprecated.
In the meantime, I'm going to have to alias "pkg" to
"/usr/bin/pkg -R /".
thankyou in advance,
James C. McPherson
--
Senior Software Engineer, Solaris
Oracle
http://www.jmcp.homeunix.com/blog
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss