Project

General

Profile

Actions

Bug #2651

closed

pkg image format update shafts /var/pkg

Added by Rich Lowe about 9 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
PKG (Image Packaging System)
Target version:
-
Start date:
2012-04-24
Due date:
2013-12-10
% Done:

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
pkg

Description

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.

Actions #1

Updated by Rich Lowe about 9 years ago

Dan states that this may be umask sensitivity

Actions #2

Updated by Rich Lowe about 9 years ago

  • Category set to PKG (Image Packaging System)
Actions #3

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).

Actions #4

Updated by Ken Mays over 8 years ago

  • Assignee set to OI PKG
Actions #5

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.

Actions

Also available in: Atom PDF