Project

General

Profile

Actions

Bug #4956

closed

zonecfg won't use a valid pager

Added by Gary Mills over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Start date:
2014-07-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

The zonecfg command pages the output from some commands, but this only works if the PAGER environment variable specifies a fully-qualified path name. Other commands don't have this requirement. Here's an example of the failure:


$ print $PAGER
pg
$ zonecfg -z tzone
WARNING: you do not have write access to this zone's configuration file;
going into read-only mode.
zonecfg:tzone> info net
PAGER pg does not exist (No such file or directory).
net:
address: 172.16.0.1/24
allowed-address not specified
physical: e1000g0
defrouter not specified
...
zonecfg:tzone> exit

Actions

Also available in: Atom PDF