[Pkg] [OpenIndiana Distribution - Bug #2979] (Closed) pkg -r --license does not show remote license after system was rebooted.

illumos project devnull at illumos.org
Tue Dec 10 19:47:28 UTC 2013


Issue #2979 has been updated by Ken Mays.

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
Tags changed from needs-triage to pkg

Tested. First set up remote publisher to query. Then 'pkg info -r <packagename>' to ensure it contacts the remote or alternate repo. If that works as expected, then 'pkg info --license -r  <package-name>'. This reads it from the alternate server.
----------------------------------------
Bug #2979: pkg -r --license does not show remote license after system was rebooted.
https://www.illumos.org/issues/2979

Author: Csaba Patkos
Status: Closed
Priority: Normal
Assignee: OI PKG
Category: pkg (Image Packaging System)
Target version: 
Difficulty: Medium
Tags: pkg


pkg -r --license does not show remote license after system was rebooted.

The license is saved in a cache file in /var/pkg/license/package_name at shutdown time. After the system is started, pkg -r --license makes no network request to obtain the license. Instead it serves it from the cached file, which can get outdated in case a package is updated and it has a modified license.


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Pkg-team mailing list