Project

General

Profile

Bug #2979

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

Added by Csaba Patkos almost 9 years ago. Updated over 7 years ago.

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

100%

Estimated time:
1.00 h
Difficulty:
Medium
Tags:
pkg

Description

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.

#1

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

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.

Also available in: Atom PDF