pkg image format update shafts /var/pkg
Dan upgraded to 151a3, and it broke the illumos build.
It turns out that what really broke was pkg in general. As part of the image format upgrade, when he got the new version of pkg it made the permissions of /var/pkg 0700, preventing non-root users from doing anything at all to do with pkg.
That's, obviously, really rather bad.
I think this bug may have existed and been fixedu pstream, so a patch for it should be relatively easy to find.
Updated by Dan McDonald about 9 years ago
Rich Lowe wrote:
Dan states that this may be umask sensitivity
Yes. My preferred-root-account has umask 077, which might explain why MY box got wedged, while another just-upgraded OI_151a3 installation doesn't have this problem. (Its umask was 022).
Updated by Ken Mays over 7 years ago
- Due date set to 2013-12-10
- Status changed from New to Closed
- % Done changed from 0 to 100
- Estimated time set to 1.00 h
- Tags changed from needs-triage to pkg
Reviewed for OI-hipster/pkg 12-10-13. Check /var/pkg and other directories and things were still intact. Noted user mentioned a certain setup that caused this issue with an older pkg5 install. Closing.