Wednesday Jul 06, 2011

Recommended Reading

If you're a user of Solaris, there's probably a handful of Solaris blogs that you follow. There's one group of guys that I want to bring your attention to - the Solaris sales consultants and architects. While I sit in my lush corporate office, these guys are out in the field dealing with customers on a daily basis. Their experience is valuable, and lucky for us, most of them take the time to share what they know. They are:

Bob Netherton
Jeff Savit
Jeff Victor
Jim Laurent
Scott Dickson
Steffen Weiberle

Add these guys to your favorite reader now (just click the  icon) - you'll be a better Solaris user for it.

Monday Jul 04, 2011

Making yourself indispensible with DTrace

DTrace technology and tools appeared in 2005, and despite this, it is still not very well known among majority of developers and system administrators. It is especially surprising given that for five and a half years since the release of Solaris 10, where DTrace was first implemented, there was no better technology made for analyzing of operating systems and applications.[Read More]

Friday Jul 01, 2011

Getting Audio from a Zone

Now that I have Firefox and Java Web Start running from a zone, the last piece of the puzzle was audio (essential because most Flash content is accompanied by sound). 

In the global zone there's a nice little utility called audiotest for testing your sound:

bleonard@solaris:~$ audiotest
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 snv_151a i86pc

*** Scanning sound adapter #1 ***
/dev/sound/audio810:0dsp (audio engine 0): audio810#0
  - Performing audio playback test... 
	<left> ................OK
	<right> ...............OK
	<stereo> ..............OK
	<measured sample rate 47727.00 Hz (-0.57%)>

*** All tests completed OK ***

Of course, before you can try audiotest in a zone, it must be installed:

root@myzone:~# pkg install audio-utilities
               Packages to install:     1
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         6/6      0.4/0.4

PHASE                                        ACTIONS
Install Phase                                  20/20 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2

However, we'll need to do more than just install audiotest:

root@myzone:~# audiotest
/dev/mixer: No such file or directory
The device file is missing from /dev.

The audio devices also need to be added to the zone. For this we modify the zone configuration as follows:

bleonard@solaris:~$ sudo zonecfg -z myzone
Password: 
zonecfg:myzone> add device
zonecfg:myzone:device> set match=/dev/audio*
zonecfg:myzone:device> end
zonecfg:myzone> add device
zonecfg:myzone:device> set match=/dev/sound/*
zonecfg:myzone:device> end
zonecfg:myzone> add device
zonecfg:myzone:device> set match=/dev/mixer*
zonecfg:myzone:device> end
zonecfg:myzone> add device
zonecfg:myzone:device> set match=/dev/sndstat
zonecfg:myzone:device> end
zonecfg:myzone> verify
zonecfg:myzone> exit

Then reboot the zone:

bleonard@solaris:~$ sudo zoneadm -z myzone reboot

After which, audiotest should work:

root@myzone:~# audiotest
Sound subsystem and version: SunOS Audio 4.0 (0x00040003)
Platform: SunOS 5.11 snv_151a i86pc

*** Scanning sound adapter #1 ***
/dev/sound/audio810:0dsp (audio engine 0): audio810#0
  - Performing audio playback test... 
        <left> ................OK
        <right> ...............OK
        <stereo> ..............OK
        <measured sample rate 48208.00 Hz (0.43%)>

*** All tests completed OK ***

You can also examine /dev/sndstat for additional information:

root@myzone:~# cat /dev/sndstat
SunOS Audio Framework

Audio Devices:
0: audio810#0 Intel AC'97, ICH (DUPLEX)

Mixers:
0: audio810#0 Intel AC'97, ICH
        AC'97 codec: SigmaTel STAC9700

However, when testing the sound from Firefox (from a user account other than root), such as this recent Flash presentation on Solaris availability, you may still be disappointed. This is simply a permissions problem, as the devices only have read and write permissions for root:

root@myzone:~# ls -l /dev/audio*
crw-------   1 root     root      99,  3 Jul  1 10:21 /dev/audio
crw-------   1 root     root      99,  4 Jul  1 10:21 /dev/audioctl

To address this:

root@myzone:~# chmod 777 /dev/audio*
root@myzone:~# chmod 777 /dev/sound/*

And you should be all set.

Thursday Jun 23, 2011

Giving a Zone "More Power"

In addition to the traditional virtualization benefits that Solaris zones offer, applications running in zones are also running in a more secure environment. One way to quantify this is compare the privileges available to the global zone with those of a local zone.

For example, there a 82 distinct privileges available to the global zone:

bleonard@solaris:~$ ppriv -l | wc -l 
82

You can view the descriptions for each of those privileges as follows:

bleonard@solaris:~$ ppriv -lv
contract_event
	Allows a process to request critical events without limitation.
	Allows a process to request reliable delivery of all events on
	any event queue.
contract_identity
	Allows a process to set the service FMRI value of a process
	contract template.
...

Or for just one or more privileges:

bleonard@solaris:~$ ppriv -lv file_dac_read file_dac_write
file_dac_read
	Allows a process to read a file or directory whose permission
	bits or ACL do not allow the process read permission.
file_dac_write
	Allows a process to write a file or directory whose permission
	bits or ACL do not allow the process write permission.
	In order to write files owned by uid 0 in the absence of an
	effective uid of 0 ALL privileges are required.

However, in a non-global zone, only 43 of the 83 privileges are available by default:

root@myzone:~# ppriv -l zone | wc -l      
43

The missing privileges are:

cpc_cpu
dtrace_kernel
dtrace_proc
dtrace_user
file_downgrade_sl
file_flag_set
file_upgrade_sl
graphics_access
graphics_map
net_mac_implicit
proc_clock_highres
proc_priocntl
proc_zone
sys_config
sys_devices
sys_ipc_config
sys_linkdir
sys_dl_config
sys_net_config
sys_res_bind
sys_res_config
sys_smb
sys_suser_compat
sys_time
sys_trans_label
virt_manage
win_colormap
win_config
win_dac_read
win_dac_write
win_devices
win_dga
win_downgrade_sl
win_fontpath
win_mac_read
win_mac_write
win_selection
win_upgrade_sl
xvm_control

However, just like Tim Taylor, it is possible to give your zones more power. For example, a zone by default doesn't have the privileges to support DTrace:

root@myzone:~# dtrace -l
   ID   PROVIDER            MODULE                          FUNCTION NAME

The DTrace privileges can be added, however, as follows:

bleonard@solaris:~$ sudo zonecfg -z myzone
Password:
zonecfg:myzone> set limitpriv="default,dtrace_proc,dtrace_user"
zonecfg:myzone> verify
zonecfg:myzone> exit
bleonard@solaris:~$ sudo zoneadm -z myzone reboot

Now I can run DTrace from within the zone:

root@myzone:~# dtrace -l | more
   ID   PROVIDER            MODULE                          FUNCTION NAME
    1     dtrace                                                     BEGIN
    2     dtrace                                                     END
    3     dtrace                                                     ERROR
 7115    syscall                                               nosys entry
 7116    syscall                                               nosys return
...

Note, certain privileges are never allowed to be assigned to a zone. You'll be notified on boot if you attempt to assign a prohibited privilege to a zone:

bleonard@solaris:~$ sudo zoneadm -z myzone reboot
privilege "dtrace_kernel" is not permitted within the zone's privilege set
zoneadm: zone myzone failed to verify

Here's a nice listing of all the privileges and their zone status (default, optional, prohibited): Privileges in a Non-Global Zone.

Thursday Jun 09, 2011

Running Java Web Start From a Zone

As indicated in my previous entry, I run my VPN software within a zone to connect to the Oracle intranet. Another component I need to access is the Solaris bug tracking system, which is launched via Java Web Start. To my disappointment, this also required a bit of troubleshooting. As my example here, I'll use one of my favorite Java Web Start applications, JDiskReport.

Assuming you left off with getting Firefox running from a zone, if you attempted to Web Start JDiskReport, the first problem is that Java Web Start isn't even installed on the system:


This is easy enough to fix:

root@myzone:~# pkg install java
               Packages to install:     5
           Create boot environment:    No
               Services to restart:     1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  5/5     779/779    34.4/34.4

PHASE                                        ACTIONS
Install Phase                              1179/1179 

PHASE                                          ITEMS
Package State Update Phase                       5/5 
Image State Update Phase                         2/2 

With Java installed, Firefox properly detects Java Web Start:

However, when you try to launch JDiskReport now, nothing happens at all. This is the most frustrating kind of error.

If you select the option to save the jdiskreport.jnlp file to your home directory and try to launch it from there, you'll see we're dumping core again:

bleonard@myzone:~$ javaws jdiskreport.jnlp 
Segmentation Fault (core dumped)

Unlike with Firefox however, we're not given anything else to work with. Using truss and digging into the stack trace, I was able to determine we also need the packages utf-8 and libxtst:

root@myzone:~# pkg install utf-8 libxtst
               Packages to install:     1
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1   2674/2674    10.4/10.4

PHASE                                        ACTIONS
Install Phase                              2722/2722 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

Once these 2 packages are installed, you're in business with Java Web Start:


It's worth noting what a small footprint my zone has - less than 1 GB. Pretty cool, huh? Even more impressive is that it's actually only consuming 400 MB of space in my global zone because it's on a zfs dataset with compression turned on:

bleonard@solaris:~/Desktop$ zfs get all rpool/zones/myzone
NAME                PROPERTY                        VALUE                           SOURCE
rpool/zones/myzone  type                            filesystem                      -
rpool/zones/myzone  creation                        Wed Jun  8 11:31 2011           -
rpool/zones/myzone  used                            388M                           -
rpool/zones/myzone  available                       14.7G                           -
rpool/zones/myzone  referenced                      33K                             -
rpool/zones/myzone  compressratio                   1.89x  
...                         -

And while we're on the subject of resource consumption, look at zonestat:

bleonard@solaris:~$ zonestat 5 1
Collecting data for first interval...
Interval: 1, Duration: 0:00:05
SUMMARY                    Cpus/Online: 1/1   Physical: 1535M    Virtual: 2512M
                    ----------CPU---------- ----PHYSICAL----- -----VIRTUAL-----
               ZONE  USED %PART  %CAP %SHRU  USED   PCT  %CAP  USED   PCT  %CAP
            [total]  0.31 31.8%     -     - 1141M 74.3%     - 1369M 54.5%     -
           [system]  0.12 12.7%     -     -  302M 19.6%     -  643M 25.6%     -
             global  0.15 15.5%     -     -  604M 39.3%     -  529M 21.0%     -
             myzone  0.03 3.57%     -     -  234M 15.2%     -  196M 7.81%     -

Only 234M of RAM. Like I said in the previous post, you can't achieve numbers like that with a VirtualBox VM.

Wednesday Jun 08, 2011

Running Firefox From a Zone

I know a lot of folks that VPN into their office environment. However, VPN connections generally reduce your bandwidth and in many cases restrict your connections to local network services (such as printers).

A common workaround that some folks use is to setup their VPN environment in a VirtualBox image, freeing their host OS from the shackles of VPN. However, the VirtualBox approach has its own limitations, as you're now dedicating a significant amount of system resources to running another operating system just to get VPN access. I also use VirtualBox on a daily basis so dedicating a VM for VPN is not really an option.

This is where zones and network virtualization really shine. I've created an exclusive IP zone and installed my VPN software - no problem. The trickier part was actually getting Firefox up and running from the zone so I could browse the Oracle intranet. For future reference, I'm documenting those steps here.

Step 1: Install Firefox

The obvious...

root@myzone:~# pkg install firefox
               Packages to install:    46
           Create boot environment:    No
               Services to restart:     8
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                46/46   8916/8916    62.3/62.3

PHASE                                        ACTIONS
Install Phase                            11116/11116 

PHASE                                          ITEMS
Package State Update Phase                     46/46 
Image State Update Phase                         2/2 
Loading smf(5) service descriptions: 1/1

Step 2: Create a User Account

To share the display with the global zone, we're going to ssh into the zone. By default, root is not allowed to ssh into a zone. If you don't already have a user account in the zone, create one now:

root@myzone:~# useradd -m -d /bleonard -s /usr/bin/bash bleonard
80 blocks

root@myzone:~# passwd bleonard
New Password: 
Re-enter new Password: 
passwd: password successfully changed for bleonard

Step 3: Install the X authority file utility

If you ssh into the zone and attempt to start Firefox, you'll get a "no display specified" error:

bleonard@solaris:~$ ssh -X bleonard@10.0.2.50
The authenticity of host '10.0.2.50 (10.0.2.50)' can't be established.
RSA key fingerprint is b3:1b:be:55:69:95:51:5d:b8:23:c7:9c:57:73:1a:98.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.2.50' (RSA) to the list of known hosts.
Password: 
Last login: Wed Jun  8 12:17:28 2011 from 10.0.2.15
Oracle Corporation      SunOS 5.11      snv_151a        November 2010

bleonard@myzone:~$ firefox 
Error: no display specified

The X authority file utility manages the display authorization when using the -X option to ssh into a zone:

root@myzone:~# pkg install xauth
               Packages to install:     1
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         6/6      0.0/0.0

PHASE                                        ACTIONS
Install Phase                                  37/37

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

You then have to exit and re-ssh into the zone. Then try starting Firefox again. This is where things get interesting. If you already have Firefox running in the global zone, Firefox on a remote machine (à la, the zone) will hand off to a process already running on your local box if it is available. For our purposes, this is not what we want as we need a unique instance of Firefox running form the zone. The solution is to use the -no-remote option. However, with this approach we're kindly greeted with a core dump:

bleonard@myzone:~$ firefox -no-remote
GLib: Cannot convert message: Conversion from character set 'UTF-8' to 'ASCII' is not supported
Gtk-Message: Failed to load module "canberra-gtk-module": ld.so.1: firefox-bin: fatal: libcanberra-gtk-module.so: open failed: No such file or directory
process 2976: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace
/usr/lib/firefox/run-mozilla.sh: line 131:  2976 Abort                   (core dumped) "$prog" ${1+"$@"}


We've got several issues to deal with here, and we'll take them 1 at a time.

Step 4: Deal with the Error Messages

Install a Locale

One of the messages we see in the above output is:

bleonard@myzone:~$ GLib: Cannot convert message: Conversion from character set 'UTF-8' to 'ASCII' is not supported

If we look at the default locale on the system, it's "C":

bleonard@myzone:~$ locale
LANG=
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_ALL=

Let's install something more appropriate that supports UTF-8, in my case en_us:

root@myzone:~# pkg install en_us
               Packages to install:     2
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  2/2       16/16      2.0/2.0

PHASE                                        ACTIONS
Install Phase                                  82/82 

PHASE                                          ITEMS
Package State Update Phase                       2/2 
Image State Update Phase                         2/2 

And then set that locale:

bleonard@myzone:~$ export LANG=en_US.UTF-8

bleonard@myzone:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=

Install the Event Sound API

Another message we see in the above:

Gtk-Message: Failed to load module "canberra-gtk-module": ld.so.1: firefox-bin: fatal: libcanberra-gtk-module.so: open failed: No such file or directory

The missing libcanberra-gtk-module.so is found in the libcanberra package:

root@myzone:~# pkg install libcanberra    
               Packages to install:    14
           Create boot environment:    No
               Services to restart:     2
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                14/14   2024/2024    18.9/18.9

PHASE                                        ACTIONS
Install Phase                              2773/2773 

PHASE                                          ITEMS
Package State Update Phase                     14/14 
Image State Update Phase                         2/2 

Install the D-Bus Message Bus System

And the final message we see in the output above:

process 3730: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
  D-Bus not built with -rdynamic so unable to print a backtrace

So let's install D-Bus:

root@myzone:~# pkg install dbus
               Packages to install:     1
           Create boot environment:    No
               Services to restart:     2
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1       31/31      0.4/0.4

PHASE                                        ACTIONS
Install Phase                                  77/77 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 
Loading smf(5) service descriptions: 1/1

And try starting Firefox again:

bleonard@myzone:~$ firefox -no-remote

(firefox-bin:3393): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
/usr/lib/firefox/run-mozilla.sh: line 131:  3393 Segmentation Fault      (core dumped) "$prog" ${1+"$@"}

Now we've got a new issue to deal with, fonts.

Step 5: Install Fonts

root@myzone:~# pkg install fonts-core
               Packages to install:     1
           Create boot environment:    No
               Services to restart:     1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1       84/84      9.5/9.5

PHASE                                        ACTIONS
Install Phase                                108/108 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

And we're finally greeted with Firefox:

A couple of points to note here. Notice the header which indicates from which host Firefox is running (on myzone). This is very nice as mine says (on vpn).

You'll also notice we're missing the Nimbus look & feel. This can be quickly addressed by installing the nimbus package:

root@myzone:~# pkg install nimbus
               Packages to install:     1
           Create boot environment:    No
               Services to restart:     1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1   1352/1352      3.5/3.5

PHASE                                        ACTIONS
Install Phase                              3126/3126 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

And finally, the Oracle Solaris welcome page is missing. If you care about this, just install the os-welcome package:

root@myzone:~# pkg install os-welcome
               Packages to install:     1
           Create boot environment:    No
               Services to restart:     1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1       69/69      0.1/0.1

PHASE                                        ACTIONS
Install Phase                                166/166 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

All set and done we look as follows:

Step 6: Optional Niceties

Flash

One suggestion (from the comments below), install Flash:

root@myzone:~# pkg install firefox-flashplayer
               Packages to install:     1
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         2/2      4.7/4.7

PHASE                                        ACTIONS
Install Phase                                  30/30 

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

Dictionary

Installing a dictionary will give Firefox spell checking capabilities. Pick the one appropriate for your language:
root@myzone:~# pkg install dictionary/en
               Packages to install:     1
           Create boot environment:    No
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  1/1         4/4      0.2/0.2

PHASE                                        ACTIONS
Install Phase                                  29/29

PHASE                                          ITEMS
Package State Update Phase                       1/1 
Image State Update Phase                         2/2 

PDF Viewer

root@punchin-zone:~# pkg install evince
               Packages to install:    20
           Create boot environment:    No
               Services to restart:     6
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                20/20   5515/5515    47.3/47.3

PHASE                                        ACTIONS
Install Phase                              6821/6821 

PHASE                                          ITEMS
Package State Update Phase                     20/20 
Image State Update Phase                         2/2 
Loading smf(5) service descriptions: 



What's in a Zone?

I was recently asked what packages were installed in a zone. The generally answer is "not much". That's surprising to some as Solaris 11 itself is pretty lightweight. Zones, in comparison, are featherweight.

There at 848 packages in a fresh installation of Solaris 11 Express:

bleonard@solaris:~$ pkg list | wc -l
848

Compared to only 120 in a fresh installation of a zone:

root@myzone:~# pkg list | wc -l     
120

You're not going to get much done in a zone w/out first installing some software.

At the risk of creating too long a blog entry, here at the 848 packages installed in the global zone. The packages that are also found in the fresh installation of a local zone are in bold blue:

bleonard@solaris:~$ pkg list
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
SUNWcs                                        0.5.11-0.151.0.1 installed  -----
SUNWcsd                                       0.5.11-0.151.0.1 installed  -----
archiver/gnu-tar                              1.23-0.151.0.1  installed  -----
audio/audio-utilities                         0.5.11-0.151.0.1 installed  -----
benchmark/x11perf                             1.5.1-0.151     installed  -----
codec/flac                                    0.5.11-0.151.0.1 installed  -----
codec/libtheora                               0.5.11-0.151.0.1 installed  -----
codec/ogg-vorbis                              0.5.11-0.151.0.1 installed  -----
codec/speex                                   0.5.11-0.151.0.1 installed  -----
communication/im/pidgin                       0.5.11-0.151.0.1 installed  -----
communication/pda/gnome-pilot                 0.5.11-0.151.0.1 installed  -----
communication/pda/pilot-link                  0.5.11-0.151.0.1 installed  -----
compatibility/packages/SUNWxwplt              0.5.11-0.151    installed  -----
compress/bzip2                                1.0.6-0.151.0.1 installed  -----
compress/gzip                                 1.3.5-0.151.0.1 installed  -----
compress/p7zip                                4.55-0.151.0.1  installed  -----
compress/unzip                                5.53.7-0.151.0.1 installed  -----
compress/zip                                  2.32-0.151.0.1  installed  -----
consolidation/SunVTS/SunVTS-incorporation     0.5.11-0.151.0.1 installed  -----
consolidation/X/X-incorporation               0.5.11-0.151    installed  -----
consolidation/admin/admin-incorporation       0.5.11-0.151.0.1 installed  -----
consolidation/cacao/cacao-incorporation       0.5.11-0.151.0.1 installed  -----
consolidation/cde/cde-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/cns/cns-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/dbtg/dbtg-incorporation         0.5.11-0.151.0.1 installed  -----
consolidation/gfx/gfx-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/gnome/gnome-incorporation       0.5.11-0.151.0.1 installed  -----
consolidation/gnome_l10n/gnome_l10n-incorporation 0.5.11-0.151.0.1 installed  -----
consolidation/hcts/hcts-incorporation         0.5.11-0.151.0.1 installed  -----
consolidation/install/install-incorporation   0.5.11-0.151.0.1 installed  -----
consolidation/ips/ips-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/jdmk/jdmk-incorporation         0.5.11-0.151.0.1 installed  -----
consolidation/l10n/l10n-incorporation         0.5.11-0.151.0.1 installed  -----
consolidation/man/man-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/nspg/nspg-incorporation         0.5.11-0.151.0.1 installed  -----
consolidation/nvidia/nvidia-incorporation     0.5.11-0.151.0.1 installed  -----
consolidation/osnet/osnet-incorporation       0.5.11-0.151.0.1 installed  -----
consolidation/sfw/sfw-incorporation           0.5.11-0.151.0.1 installed  -----
consolidation/sic_team/sic_team-incorporation 0.5.11-0.151.0.1 installed  -----
consolidation/solaris_re/solaris_re-incorporation 0.5.11-0.151.0.1 installed  -----
consolidation/sunpro/sunpro-incorporation     0.5.11-0.151.0.1 installed  -----
consolidation/ub_javavm/ub_javavm-incorporation 0.5.11-0.151.0.1 installed  -----
consolidation/vpanels/vpanels-incorporation   0.5.11-0.151    installed  -----
consolidation/xvm/xvm-incorporation           0.5.11-0.151.0.1 installed  -----
crypto/ca-certificates                        0.5.11-0.151.0.1 installed  -----
crypto/gnupg                                  2.0.13-0.151.0.1 installed  -----
data/iso-codes                                0.5.11-0.151.0.1 installed  -----
database/sqlite-3                             3.6.23-0.151.0.1 installed  -----
desktop/administration/gnome-system-tools     0.5.11-0.151.0.1 installed  -----
desktop/administration/gparted                0.4.5-0.151.0.1 installed  -----
desktop/administration/nwam-manager           0.5.11-0.151.0.1 installed  -----
desktop/archive-manager/file-roller           0.5.11-0.151.0.1 installed  -----
desktop/calculator/gcalctool                  0.5.11-0.151.0.1 installed  -----
desktop/cd-burning/brasero                    0.5.11-0.151.0.1 installed  -----
desktop/cd-ripping/sound-juicer               0.5.11-0.151.0.1 installed  -----
desktop/character-map/gucharmap               0.5.11-0.151.0.1 installed  -----
desktop/compiz                                0.5.11-0.151.0.1 installed  -----
desktop/compiz/ccsm                           0.5.11-0.151.0.1 installed  -----
desktop/compiz/library/compizconfig-gconf     0.5.11-0.151.0.1 installed  -----
desktop/compiz/library/libcompizconfig        0.5.11-0.151.0.1 installed  -----
desktop/compiz/plugin/compiz-fusion-extra     0.5.11-0.151.0.1 installed  -----
desktop/compiz/plugin/compiz-fusion-main      0.5.11-0.151.0.1 installed  -----
desktop/gksu                                  0.5.11-0.151.0.1 installed  -----
desktop/pdf-viewer/evince                     0.5.11-0.151.0.1 installed  -----
desktop/remote-desktop/tigervnc               1.0.1-0.151     installed  -----
desktop/system-monitor/gnome-system-monitor   0.5.11-0.151.0.1 installed  -----
desktop/time-slider                           0.2.97-0.151.0.1 installed  -----
desktop/window-manager/twm                    1.0.4-0.151     installed  -----
desktop/xdg/menu-editor/alacarte              0.5.11-0.151.0.1 installed  -----
desktop/xdg/xdg-user-dirs-gtk                 0.5.11-0.151.0.1 installed  -----
desktop/xdg/xdg-utils                         0.5.11-0.151.0.1 installed  -----
desktop/xscreensaver                          5.11-0.151.0.1  installed  -----
developer/build/gnu-make                      3.81-0.151.0.1  installed  -----
developer/build/make                          0.5.11-0.151.0.1 installed  -----
developer/debug/mdb                           0.5.11-0.151.0.1 installed  -----
developer/debug/mdb/module/module-ce          0.5.11-0.151.0.1 installed  -----
developer/debug/mdb/module/module-fibre-channel 0.5.11-0.151.0.1 installed  -----
developer/debug/mdb/module/module-qlc         0.5.11-0.151.0.1 installed  -----
developer/dtrace                              0.5.11-0.151.0.1 installed  -----
developer/dtrace/toolkit                      0.5.11-0.151.0.1 installed  -----
developer/gnome/gnome-doc-utils               0.5.11-0.151.0.1 installed  -----
developer/linker                              0.5.11-0.151.0.1 installed  -----
developer/macro/cpp                           0.5.11-0.151.0.1 installed  -----
developer/object-file                         0.5.11-0.151.0.1 installed  -----
developer/ui-designer/glade                   0.5.11-0.151.0.1 installed  -----
diagnostic/acpidump                           0.2007.11.16-0.151.0.1 installed  -----
diagnostic/constype                           1.0.2-0.151     installed  -----
diagnostic/cpu-counters                       0.5.11-0.151.0.1 installed  -----
diagnostic/ddu                                0.5.11-0.151.0.1 installed  -----
diagnostic/ddu/data                           0.5.11-0.151.0.1 installed  -----
diagnostic/ddu/library                        0.5.11-0.151.0.1 installed  -----
diagnostic/ddu/locale                         0.5.11-0.151.0.1 installed  -----
diagnostic/latencytop                         0.5.11-0.151.0.1 installed  -----
diagnostic/powertop                           0.5.11-0.151.0.1 installed  -----
diagnostic/scanpci                            0.10.9-0.151    installed  -----
diagnostic/top                                3.8-0.151.0.1   installed  -----
diagnostic/xload                              1.0.2-0.151     installed  -----
documentation/gnome/gnome-user-docs           0.5.11-0.151.0.1 installed  -----
driver/audio                                  0.5.11-0.151.0.1 installed  -----
driver/audio/audio810                         0.5.11-0.151.0.1 installed  -----
driver/audio/audiocmi                         0.5.11-0.151.0.1 installed  -----
driver/audio/audioemu10k                      0.5.11-0.151.0.1 installed  -----
driver/audio/audiohd                          0.5.11-0.151.0.1 installed  -----
driver/audio/audioixp                         0.5.11-0.151.0.1 installed  -----
driver/audio/audiols                          0.5.11-0.151.0.1 installed  -----
driver/audio/audiop16x                        0.5.11-0.151.0.1 installed  -----
driver/audio/audiosolo                        0.5.11-0.151.0.1 installed  -----
driver/audio/audiovia823x                     0.5.11-0.151.0.1 installed  -----
driver/audio/audiovia97                       0.5.11-0.151.0.1 installed  -----
driver/crypto/dca                             0.5.11-0.151.0.1 installed  -----
driver/crypto/tpm                             0.5.11-0.151.0.1 installed  -----
driver/firewire                               0.5.11-0.151.0.1 installed  -----
driver/graphics/agpgart                       0.5.11-0.151.0.1 installed  -----
driver/graphics/atiatom                       0.5.11-0.151.0.1 installed  -----
driver/graphics/av1394                        0.5.11-0.151.0.1 installed  -----
driver/graphics/dcam1394                      0.5.11-0.151.0.1 installed  -----
driver/graphics/dcam1394/devfsadm-dcam1394    0.5.11-0.151.0.1 installed  -----
driver/graphics/drm                           0.5.11-0.151.0.1 installed  -----
driver/graphics/nvidia                        0.256.44-0.151.0.1 installed  -----
driver/graphics/usbvc                         0.5.11-0.151.0.1 installed  -----
driver/i86pc/fipe                             0.5.11-0.151.0.1 installed  -----
driver/i86pc/ioat                             0.5.11-0.151.0.1 installed  -----
driver/i86pc/platform                         0.5.11-0.151.0.1 installed  -----
driver/management/bmc                         0.5.11-0.151.0.1 installed  -----
driver/network/afe                            0.5.11-0.151.0.1 installed  -----
driver/network/amd8111s                       0.5.11-0.151.0.1 installed  -----
driver/network/arn                            0.5.11-0.151.0.1 installed  -----
driver/network/atge                           0.5.11-0.151.0.1 installed  -----
driver/network/ath                            0.5.11-0.151.0.1 installed  -----
driver/network/atu                            0.5.11-0.151.0.1 installed  -----
driver/network/bfe                            0.5.11-0.151.0.1 installed  -----
driver/network/bge                            0.5.11-0.151.0.1 installed  -----
driver/network/bnx                            0.5.11-0.151.0.1 installed  -----
driver/network/bnxe                           0.5.11-0.151.0.1 installed  -----
driver/network/bpf                            0.5.11-0.151.0.1 installed  -----
driver/network/ce                             0.5.11-0.151.0.1 installed  -----
driver/network/chxge                          0.5.11-0.151.0.1 installed  -----
driver/network/dmfe                           0.5.11-0.151.0.1 installed  -----
driver/network/e1000g                         0.5.11-0.151.0.1 installed  -----
driver/network/elxl                           0.5.11-0.151.0.1 installed  -----
driver/network/emlxs                          0.5.11-0.151.0.1 installed  -----
driver/network/fcip                           0.5.11-0.151.0.1 installed  -----
driver/network/fcp                            0.5.11-0.151.0.1 installed  -----
driver/network/fcsm                           0.5.11-0.151.0.1 installed  -----
driver/network/fp                             0.5.11-0.151.0.1 installed  -----
driver/network/hme                            0.5.11-0.151.0.1 installed  -----
driver/network/hxge                           0.5.11-0.151.0.1 installed  -----
driver/network/ib                             0.5.11-0.151.0.1 installed  -----
driver/network/igb                            0.5.11-0.151.0.1 installed  -----
driver/network/ipw                            0.5.11-0.151.0.1 installed  -----
driver/network/iwh                            0.5.11-0.151.0.1 installed  -----
driver/network/iwi                            0.5.11-0.151.0.1 installed  -----
driver/network/iwk                            0.5.11-0.151.0.1 installed  -----
driver/network/iwp                            0.5.11-0.151.0.1 installed  -----
driver/network/ixgb                           0.5.11-0.151.0.1 installed  -----
driver/network/ixgbe                          0.5.11-0.151.0.1 installed  -----
driver/network/mcxe                           0.5.11-0.151.0.1 installed  -----
driver/network/mwl                            0.5.11-0.151.0.1 installed  -----
driver/network/mxfe                           0.5.11-0.151.0.1 installed  -----
driver/network/myri10ge                       0.5.11-0.151.0.1 installed  -----
driver/network/nge                            0.5.11-0.151.0.1 installed  -----
driver/network/ntxn                           0.5.11-0.151.0.1 installed  -----
driver/network/nxge                           0.5.11-0.151.0.1 installed  -----
driver/network/pcan                           0.5.11-0.151.0.1 installed  -----
driver/network/pcwl                           0.5.11-0.151.0.1 installed  -----
driver/network/platform                       0.5.11-0.151.0.1 installed  -----
driver/network/qlc                            0.5.11-0.151.0.1 installed  -----
driver/network/ral                            0.5.11-0.151.0.1 installed  -----
driver/network/rge                            0.5.11-0.151.0.1 installed  -----
driver/network/rtls                           0.5.11-0.151.0.1 installed  -----
driver/network/rtw                            0.5.11-0.151.0.1 installed  -----
driver/network/rum                            0.5.11-0.151.0.1 installed  -----
driver/network/rwd                            0.5.11-0.151.0.1 installed  -----
driver/network/rwn                            0.5.11-0.151.0.1 installed  -----
driver/network/sfe                            0.5.11-0.151.0.1 installed  -----
driver/network/uath                           0.5.11-0.151.0.1 installed  -----
driver/network/ural                           0.5.11-0.151.0.1 installed  -----
driver/network/urtw                           0.5.11-0.151.0.1 installed  -----
driver/network/usbecm                         0.5.11-0.151.0.1 installed  -----
driver/network/vr                             0.5.11-0.151.0.1 installed  -----
driver/network/wpi                            0.5.11-0.151.0.1 installed  -----
driver/network/xge                            0.5.11-0.151.0.1 installed  -----
driver/network/yge                            0.5.11-0.151.0.1 installed  -----
driver/network/zyd                            0.5.11-0.151.0.1 installed  -----
driver/pcmcia                                 0.5.11-0.151.0.1 installed  -----
driver/serial/pcser                           0.5.11-0.151.0.1 installed  -----
driver/serial/usbftdi                         0.5.11-0.151.0.1 installed  -----
driver/serial/usbsacm                         0.5.11-0.151.0.1 installed  -----
driver/serial/usbser                          0.5.11-0.151.0.1 installed  -----
driver/serial/usbser_edge                     0.5.11-0.151.0.1 installed  -----
driver/serial/usbsksp                         0.5.11-0.151.0.1 installed  -----
driver/serial/usbsksp/usbs49_fw               0.5.11-0.151.0.1 installed  -----
driver/serial/usbsprl                         0.5.11-0.151.0.1 installed  -----
driver/storage/aac                            0.5.11-0.151.0.1 installed  -----
driver/storage/adpu320                        0.5.11-0.151.0.1 installed  -----
driver/storage/ahci                           0.5.11-0.151.0.1 installed  -----
driver/storage/amr                            0.5.11-0.151.0.1 installed  -----
driver/storage/arcmsr                         0.5.11-0.151.0.1 installed  -----
driver/storage/ata                            0.5.11-0.151.0.1 installed  -----
driver/storage/bcm_sata                       0.5.11-0.151.0.1 installed  -----
driver/storage/blkdev                         0.5.11-0.151.0.1 installed  -----
driver/storage/cpqary3                        0.5.11-0.151.0.1 installed  -----
driver/storage/glm                            0.5.11-0.151.0.1 installed  -----
driver/storage/lsimega                        0.5.11-0.151.0.1 installed  -----
driver/storage/marvell88sx                    0.5.11-0.151.0.1 installed  -----
driver/storage/mega_sas                       0.5.11-0.151.0.1 installed  -----
driver/storage/mpt_sas                        0.5.11-0.151.0.1 installed  -----
driver/storage/mr_sas                         0.5.11-0.151.0.1 installed  -----
driver/storage/nv_sata                        0.5.11-0.151.0.1 installed  -----
driver/storage/pcata                          0.5.11-0.151.0.1 installed  -----
driver/storage/pmcs                           0.5.11-0.151.0.1 installed  -----
driver/storage/sbp2                           0.5.11-0.151.0.1 installed  -----
driver/storage/scsa1394                       0.5.11-0.151.0.1 installed  -----
driver/storage/sdcard                         0.5.11-0.151.0.1 installed  -----
driver/storage/ses                            0.5.11-0.151.0.1 installed  -----
driver/storage/si3124                         0.5.11-0.151.0.1 installed  -----
driver/storage/smp                            0.5.11-0.151.0.1 installed  -----
driver/usb                                    0.5.11-0.151.0.1 installed  -----
driver/usb/ugen                               0.5.11-0.151.0.1 installed  -----
driver/x11/winlock                            0.5.11-0.151.0.1 installed  -----
driver/x11/xsvc                               0.5.11-0.151.0.1 installed  -----
driver/xvm/pv                                 0.5.11-0.151.0.1 installed  -----
editor/gedit                                  0.5.11-0.151.0.1 installed  -----
editor/nano                                   2.0.9-0.151.0.1 installed  -----
editor/vim                                    7.2.308-0.151.0.1 installed  -----
entire                                        0.5.11-0.151.0.1 installed  -----
file/gnu-coreutils                            8.5-0.151.0.1   installed  -----
file/gnu-findutils                            0.5.11-0.151.0.1 installed  -----
file/slocate                                  0.5.11-0.151.0.1 installed  -----
gnome/accessibility/gnome-a11y-libs           0.5.11-0.151.0.1 installed  -----
gnome/accessibility/gok                       0.5.11-0.151.0.1 installed  -----
gnome/accessibility/orca                      0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-applets                    0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-fun-applets                0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-internet-applets           0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-intranet-applets           0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-mm-applets                 0.5.11-0.151.0.1 installed  -----
gnome/applet/gnome-utility-applets            0.5.11-0.151.0.1 installed  -----
gnome/config/gconf                            0.5.11-0.151.0.1 installed  -----
gnome/disk-analyzer/baobab                    0.5.11-0.151.0.1 installed  -----
gnome/file-manager/nautilus                   0.5.11-0.151.0.1 installed  -----
gnome/ggv                                     0.5.11-0.151.0.1 installed  -----
gnome/gnome-audio                             0.5.11-0.151.0.1 installed  -----
gnome/gnome-camera                            0.5.11-0.151.0.1 installed  -----
gnome/gnome-dictionary                        0.5.11-0.151.0.1 installed  -----
gnome/gnome-keyring                           0.5.11-0.151.0.1 installed  -----
gnome/gnome-log-viewer                        0.5.11-0.151.0.1 installed  -----
gnome/gnome-panel                             0.5.11-0.151.0.1 installed  -----
gnome/gnome-power-manager                     0.5.11-0.151.0.1 installed  -----
gnome/gnome-remote-desktop                    0.5.11-0.151.0.1 installed  -----
gnome/gnome-screenshot                        0.5.11-0.151.0.1 installed  -----
gnome/gnome-search-tool                       0.5.11-0.151.0.1 installed  -----
gnome/gnome-session                           0.5.11-0.151.0.1 installed  -----
gnome/help-viewer/yelp                        0.5.11-0.151.0.1 installed  -----
gnome/locale/de                               0.5.11-0.151.0.1 installed  -----
gnome/locale/es                               0.5.11-0.151.0.1 installed  -----
gnome/locale/fr                               0.5.11-0.151.0.1 installed  -----
gnome/locale/hi                               0.5.11-0.151.0.1 installed  -----
gnome/locale/it                               0.5.11-0.151.0.1 installed  -----
gnome/locale/ja                               0.5.11-0.151.0.1 installed  -----
gnome/locale/ko                               0.5.11-0.151.0.1 installed  -----
gnome/locale/pl                               0.5.11-0.151.0.1 installed  -----
gnome/locale/pt_br                            0.5.11-0.151.0.1 installed  -----
gnome/locale/rtl                              0.5.11-0.151.0.1 installed  -----
gnome/locale/ru                               0.5.11-0.151.0.1 installed  -----
gnome/locale/zh_cn                            0.5.11-0.151.0.1 installed  -----
gnome/locale/zh_tw                            0.5.11-0.151.0.1 installed  -----
gnome/media/gnome-media                       0.5.11-0.151.0.1 installed  -----
gnome/media/gnome-media-player                0.5.11-0.151.0.1 installed  -----
gnome/preferences/control-center              0.5.11-0.151.0.1 installed  -----
gnome/speech/gnome-speech                     0.4.25-0.151.0.1 installed  -----
gnome/speech/gnome-speech/driver/gnome-speech-espeak 0.5.11-0.151.0.1 installed  -----
gnome/theme/background/os-backgrounds         0.5.11-0.151.0.1 installed  -----
gnome/theme/gnome-icon-theme                  0.5.11-0.151.0.1 installed  -----
gnome/theme/gnome-themes                      0.5.11-0.151.0.1 installed  -----
gnome/theme/gtk2-engines                      0.5.11-0.151.0.1 installed  -----
gnome/theme/hicolor-icon-theme                0.5.11-0.151.0.1 installed  -----
gnome/theme/nimbus                            0.1.5-0.151.0.1 installed  -----
gnome/theme/sound/xdg-sound-theme             0.5.11-0.151.0.1 installed  -----
gnome/theme/tango-icon-theme                  0.5.11-0.151.0.1 installed  -----
gnome/window-manager/metacity                 0.5.11-0.151.0.1 installed  -----
gnome/zenity                                  0.5.11-0.151.0.1 installed  -----
image/dcraw                                   8.99-0.151.0.1  installed  -----
image/library/libart                          0.5.11-0.151.0.1 installed  -----
image/library/libexif                         0.5.11-0.151.0.1 installed  -----
image/library/libjpeg                         0.5.11-0.151.0.1 installed  -----
image/library/libpng                          0.5.11-0.151.0.1 installed  -----
image/library/librsvg                         0.5.11-0.151.0.1 installed  -----
image/library/libtiff                         0.5.11-0.151.0.1 installed  -----
image/scanner/xsane/sane-backends             1.0.19-0.151.0.1 installed  -----
image/viewer/eog                              0.5.11-0.151.0.1 installed  -----
install/beadm                                 0.5.11-0.151.0.1 installed  -----
library/aalib                                 1.4.5-0.151.0.1 installed  -----
library/accessibility/brltty                  0.5.11-0.151.0.1 installed  -----
library/audio/gstreamer                       0.5.11-0.151.0.1 installed  -----
library/c++/glibmm                            0.5.11-0.151.0.1 installed  -----
library/c++/sigcpp                            0.5.11-0.151.0.1 installed  -----
library/demo/audio-samples                    0.5.11-0.151.0.1 installed  -----
library/desktop/atk                           0.5.11-0.151.0.1 installed  -----
library/desktop/c++/cairomm                   0.5.11-0.151.0.1 installed  -----
library/desktop/c++/gtkmm                     0.5.11-0.151.0.1 installed  -----
library/desktop/c++/pangomm                   0.5.11-0.151.0.1 installed  -----
library/desktop/cairo                         0.5.11-0.151.0.1 installed  -----
library/desktop/evolution-data-server         0.5.11-0.151.0.1 installed  -----
library/desktop/gtk2                          0.5.11-0.151.0.1 installed  -----
library/desktop/gtk2/gtk-backend-cups         0.5.11-0.151.0.1 installed  -----
library/desktop/gtksourceview                 0.5.11-0.151.0.1 installed  -----
library/desktop/gtkspell                      0.5.11-0.151.0.1 installed  -----
library/desktop/libgdata                      0.6.4-0.151.0.1 installed  -----
library/desktop/libglade                      0.5.11-0.151.0.1 installed  -----
library/desktop/libgnomecanvas                0.5.11-0.151.0.1 installed  -----
library/desktop/libgsf                        0.5.11-0.151.0.1 installed  -----
library/desktop/libgweather                   0.5.11-0.151.0.1 installed  -----
library/desktop/libsexy                       0.1.11-0.151.0.1 installed  -----
library/desktop/libvisual                     0.4.0-0.151.0.1 installed  -----
library/desktop/pango                         0.5.11-0.151.0.1 installed  -----
library/desktop/search/tracker                0.5.11-0.151.0.1 installed  -----
library/desktop/xdg/libcanberra               0.5.11-0.151.0.1 installed  -----
library/expat                                 2.0.1-0.151.0.1 installed  -----
library/file-monitor/gamin                    0.1.10-0.151.0.1 installed  -----
library/gc                                    0.5.11-0.151.0.1 installed  -----
library/glib2                                 0.5.11-0.151.0.1 installed  -----
library/gmime                                 0.5.11-0.151.0.1 installed  -----
library/gmp                                   4.3.1-0.151.0.1 installed  -----
library/gnome/gnome-component                 0.5.11-0.151.0.1 installed  -----
library/gnome/gnome-keyring                   0.5.11-0.151.0.1 installed  -----
library/gnome/gnome-libs                      0.5.11-0.151.0.1 installed  -----
library/gnome/gnome-vfs                       0.5.11-0.151.0.1 installed  -----
library/gnome/gvfs                            0.5.11-0.151.0.1 installed  -----
library/gnome/print/gnome-print               0.5.11-0.151.0.1 installed  -----
library/gnutls                                0.5.11-0.151.0.1 installed  -----
library/graphics/pixman                       0.18.4-0.151    installed  -----
library/idnkit                                0.5.11-0.151.0.1 installed  -----
library/java/javahelp                         0.5.11-0.151.0.1 installed  -----
library/java/jss                              0.5.11-0.151.0.1 installed  -----
library/lcms                                  1.19-0.151.0.1  installed  -----
library/libcroco                              0.5.11-0.151.0.1 installed  -----
library/libdaemon                             0.5.11-0.151.0.1 installed  -----
library/libffi                                0.5.11-0.151.0.1 installed  -----
library/libgtop                               0.5.11-0.151.0.1 installed  -----
library/libical                               0.5.11-0.151.0.1 installed  -----
library/libidn                                1.9-0.151.0.1   installed  -----
library/libnotify                             0.4.5-0.151.0.1 installed  -----
library/liboil                                0.3.17-0.151.0.1 installed  -----
library/libproxy                              0.3.1-0.151.0.1 installed  -----
library/libsoup                               0.5.11-0.151.0.1 installed  -----
library/libtasn1                              0.5.11-0.151.0.1 installed  -----
library/libtecla                              1.6.0-0.151.0.1 installed  -----
library/libtool/libltdl                       1.5.22-0.151.0.1 installed  -----
library/libunique                             0.5.11-0.151.0.1 installed  -----
library/libxml2                               2.7.6-0.151.0.1 installed  -----
library/libxslt                               1.1.26-0.151.0.1 installed  -----
library/media-player/totem-pl-parser          0.5.11-0.151.0.1 installed  -----
library/musicbrainz/libdiscid                 0.2.2-0.151.0.1 installed  -----
library/musicbrainz/libmusicbrainz            0.5.11-0.151.0.1 installed  -----
library/myspell/dictionary/en                 0.5.11-0.151.0.1 installed  -----
library/ncurses                               0.5.11-0.151.0.1 installed  -----
library/neon                                  0.29.0-0.151.0.1 installed  -----
library/nspr                                  0.5.11-0.151.0.1 installed  -----
library/pcre                                  7.8-0.151.0.1   installed  -----
library/perl-5/authen-pam                     0.5.11-0.151.0.1 installed  -----
library/perl-5/xml-parser                     0.5.11-0.151.0.1 installed  -----
library/popt                                  0.5.11-0.151.0.1 installed  -----
library/print/cups-libs                       1.4.2-0.151.0.1 installed  -----
library/print/open-printing                   0.5.11-0.151.0.1 installed  -----
library/pth                                   2.0.7-0.151.0.1 installed  -----
library/python-2/cherrypy                     3.1.2-0.151.0.1 installed  -----
library/python-2/coherence-26                 0.5.11-0.151.0.1 installed  -----
library/python-2/libxml2-26                   2.7.6-0.151.0.1 installed  -----
library/python-2/libxsl-26                    1.1.26-0.151.0.1 installed  -----
library/python-2/m2crypto                     0.20.0-0.151.0.1 installed  -----
library/python-2/mako                         0.2.2-0.151.0.1 installed  -----
library/python-2/ply                          3.1-0.151.0.1   installed  -----
library/python-2/pyatspi-26                   0.5.11-0.151.0.1 installed  -----
library/python-2/pybonjour                    1.1.1-0.151.0.1 installed  -----
library/python-2/pycups                       1.9.46-0.151.0.1 installed  -----
library/python-2/pycurl                       7.19.0.1-0.151.0.1 installed  -----
library/python-2/pyopenssl-26                 0.8-0.151.0.1   installed  -----
library/python-2/python-compizconfig-26       0.5.11-0.151.0.1 installed  -----
library/python-2/python-dbus-26               0.5.11-0.151.0.1 installed  -----
library/python-2/python-extra-26              0.5.11-0.151.0.1 installed  -----
library/python-2/python-gnome-desktop-26      0.5.11-0.151.0.1 installed  -----
library/python-2/python-gnome-extras-26       0.5.11-0.151.0.1 installed  -----
library/python-2/python-gnome-libs-26         0.5.11-0.151.0.1 installed  -----
library/python-2/python-gst-26                0.5.11-0.151.0.1 installed  -----
library/python-2/python-notify-26             0.1.1-0.151.0.1 installed  -----
library/python-2/python-twisted-26            0.5.11-0.151.0.1 installed  -----
library/python-2/python-xdg-26                0.5.11-0.151.0.1 installed  -----
library/python-2/python-zope-interface-26     0.5.11-0.151.0.1 installed  -----
library/python-2/pyyaml-26                    0.5.11-0.151.0.1 installed  -----
library/python-2/simplejson-26                0.5.11-0.151.0.1 installed  -----
library/raptor                                0.5.11-0.151.0.1 installed  -----
library/readline                              5.2-0.151.0.1   installed  -----
library/samba/libsmbclient                    3.5.5-0.151.0.1 installed  -----
library/sdl                                   0.5.11-0.151.0.1 installed  -----
library/security/libgpg-error                 0.5.11-0.151.0.1 installed  -----
library/security/openssl                      0.9.8.15-0.151.0.1 installed  -----
library/security/tcp-wrapper                  7.6-0.151.0.1   installed  -----
library/security/trousers                     0.3.4-0.151.0.1 installed  -----
library/slang                                 2.2.2-0.151.0.1 installed  -----
library/speech/espeak                         0.5.11-0.151.0.1 installed  -----
library/spell-checking/enchant                0.5.11-0.151.0.1 installed  -----
library/unixodbc                              2.2.14-0.151.0.1 installed  -----
library/xdg/consolekit                        0.4.1-0.151.0.1 installed  -----
library/xdg/xdg-user-dirs                     0.5.11-0.151.0.1 installed  -----
library/zlib                                  1.2.3-0.151.0.1 installed  -----
mail/thunderbird                              0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/de                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/es                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/fr                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/it                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/ja                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/ko                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/pl                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/pt_br                 0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/ru                    0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/zh_cn                 0.5.11-0.151.0.1 installed  -----
mail/thunderbird/locale/zh_tw                 0.5.11-0.151.0.1 installed  -----
mail/thunderbird/plugin/thunderbird-lightning 0.5.11-0.151.0.1 installed  -----
media/cdrtools                                3.0-0.151.0.1   installed  -----
naming/ldap                                   0.5.11-0.151.0.1 installed  -----
network/bridging                              0.5.11-0.151.0.1 installed  -----
network/dns/bind                              9.6.2.2-0.151.0.1 installed  -----
network/ftp                                   0.5.11-0.151.0.1 installed  -----
network/ftp/ncftp                             3.2.3-0.151.0.1 installed  -----
network/ipfilter                              0.5.11-0.151.0.1 installed  -----
network/iscsi/initiator                       0.5.11-0.151.0.1 installed  -----
network/iscsi/iser                            0.5.11-0.151.0.1 installed  -----
network/rsync                                 3.0.6-0.151.0.1 installed  -----
network/ssh                                   0.5.11-0.151.0.1 installed  -----
network/ssh/ssh-key                           0.5.11-0.151.0.1 installed  -----
network/telnet                                0.5.11-0.151.0.1 installed  -----
package/pkg                                   0.5.11-0.151.0.1 installed  -----
package/pkg/package-manager                   0.5.11-0.151.0.1 installed  -----
package/pkg/update-manager                    0.5.11-0.151.0.1 installed  -----
package/rpm                                   0.5.11-0.151.0.1 installed  -----
package/svr4                                  0.5.11-0.151.0.1 installed  -----
print/cups                                    1.4.2-0.151.0.1 installed  -----
print/cups/hal-cups-utils                     0.6.19-0.151.0.1 installed  -----
print/cups/system-config-printer              0.5.11-0.151.0.1 installed  -----
print/filter/ghostscript                      8.64-0.151.0.1  installed  -----
print/filter/ghostscript/fonts/gnu-gs-fonts-other 6.0-0.151.0.1   installed  -----
print/filter/ghostscript/fonts/gnu-gs-fonts-std 6.0-0.151.0.1   installed  -----
print/filter/gutenprint                       5.2.4-0.151.0.1 installed  -----
print/filter/hplip                            3.9.8-0.151.0.1 installed  -----
print/lp/print-client-commands                0.5.11-0.151.0.1 installed  -----
release/getting-started                       0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/de             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/es             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/extra          0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/fr             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/it             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/ja             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/ko             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/pt_br          0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/ru             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/sv             0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/zh_cn          0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/zh_hk          0.5.11-0.151.0.1 installed  -----
release/getting-started/locale/zh_tw          0.5.11-0.151.0.1 installed  -----
release/name                                  0.5.11-0.151.0.1 installed  -----
release/notices                               0.5.11-0.151.0.1 installed  -----
release/os-welcome                            0.5.11-0.151.0.1 installed  -----
release/registration                          0.5.11-0.151.0.1 installed  -----
runtime/java                                  0.5.11-0.151.0.1 installed  -----
runtime/perl-584                              5.8.4-0.151.0.1 installed  -----
runtime/perl-584/extra                        5.8.4-0.151.0.1 installed  -----
runtime/perl-584/manual                       5.8.4-0.151.0.1 installed  -----
runtime/python-24                             2.4.6-0.151.0.1 installed  -----
runtime/python-26                             2.6.4-0.151.0.1 installed  -----
runtime/tcl-8                                 8.4.18-0.151.0.1 installed  -----
runtime/tk-8                                  8.4.18-0.151.0.1 installed  -----
security/bart                                 0.5.11-0.151.0.1 installed  -----
security/sudo                                 1.7.4.4-0.151.0.1 installed  -----
service/fault-management                      0.5.11-0.151.0.1 installed  -----
service/file-system/nfs                       0.5.11-0.151.0.1 installed  -----
service/file-system/smb                       0.5.11-0.151.0.1 installed  -----
service/gnome/desktop-cache                   0.2.2-0.151.0.1 installed  -----
service/hal                                   0.5.11-0.151.0.1 installed  -----
service/management/sysidtool                  0.5.11-0.151.0.1 installed  -----
service/network/dns/mdns                      0.5.11-0.151.0.1 installed  -----
service/network/ftp                           0.5.11-0.151.0.1 installed  -----
service/network/network-clients               0.5.11-0.151.0.1 installed  -----
service/network/network-servers               0.5.11-0.151.0.1 installed  -----
service/network/ntp                           4.2.5.200-0.151.0.1 installed  -----
service/network/slp                           0.5.11-0.151.0.1 installed  -----
service/network/smtp/sendmail                 8.14.4-0.151.0.1 installed  -----
service/network/ssh                           0.5.11-0.151.0.1 installed  -----
service/network/telnet                        0.5.11-0.151.0.1 installed  -----
service/network/tftp                          0.5.11-0.151.0.1 installed  -----
service/network/wpa                           0.5.11-0.151.0.1 installed  -----
service/opengl/ogl-select                     0.5.11-0.151    installed  -----
service/picl                                  0.5.11-0.151.0.1 installed  -----
service/postrun                               0.5.11-0.151.0.1 installed  -----
service/resource-pools                        0.5.11-0.151.0.1 installed  -----
service/resource-pools/poold                  0.5.11-0.151.0.1 installed  -----
service/security/gss                          0.5.11-0.151.0.1 installed  -----
service/security/kerberos-5                   0.5.11-0.151.0.1 installed  -----
service/storage/fibre-channel/fc-fabric       0.5.11-0.151.0.1 installed  -----
service/storage/media-volume-manager          0.5.11-0.151.0.1 installed  -----
service/storage/removable-media               0.5.11-0.151.0.1 installed  -----
shell/bash                                    4.0.28-0.151.0.1 installed  -----
shell/expect                                  5.43-0.151.0.1  installed  -----
shell/pipe-viewer                             1.1.4-0.151.0.1 installed  -----
shell/tcsh                                    6.17.0-0.151.0.1 installed  -----
shell/which                                   2.16-0.151.0.1  installed  -----
shell/zsh                                     4.3.10-0.151.0.1 installed  -----
storage/mpathadm                              0.5.11-0.151.0.1 installed  -----
storage/stmf                                  0.5.11-0.151.0.1 installed  -----
storage/svm                                   0.5.11-0.151.0.1 installed  -----
system/accounting/legacy                      0.5.11-0.151.0.1 installed  -----
system/boot/grub                              0.97-0.151.0.1  installed  -----
system/boot/real-mode                         0.5.11-0.151.0.1 installed  -----
system/boot/wanboot                           0.5.11-0.151.0.1 installed  -----
system/data/hardware-registry                 0.5.11-0.151.0.1 installed  -----
system/data/keyboard/keytables                0.5.11-0.151.0.1 installed  -----
system/data/terminfo                          0.5.11-0.151.0.1 installed  -----
system/display-manager/desktop-startup        0.5.11-0.151.0.1 installed  -----
system/display-manager/gdm                    0.5.11-0.151.0.1 installed  -----
system/extended-system-utilities              0.5.11-0.151.0.1 installed  -----
system/file-system/autofs                     0.5.11-0.151.0.1 installed  -----
system/file-system/nfs                        0.5.11-0.151.0.1 installed  -----
system/file-system/ntfsprogs                  2.0.0-0.151.0.1 installed  -----
system/file-system/smb                        0.5.11-0.151.0.1 installed  -----
system/file-system/udfs                       0.5.11-0.151.0.1 installed  -----
system/file-system/zfs                        0.5.11-0.151.0.1 installed  -----
system/flash/fwflash                          0.5.11-0.151.0.1 installed  -----
system/font/truetype/arphic-uming             0.5.11-0.151.0.1 installed  -----
system/font/truetype/dejavu                   2.31-0.151      installed  -----
system/font/truetype/hanyang-ko-core          0.5.11-0.151.0.1 installed  -----
system/font/truetype/ipafont                  0.5.11-0.151.0.1 installed  -----
system/font/truetype/liberation               1.4-0.151       installed  -----
system/font/truetype/lohit                    0.5.11-0.151.0.1 installed  -----
system/font/xorg/iso8859-1                    7.5-0.151       installed  -----
system/font/xorg/xorg-core                    7.5-0.151       installed  -----
system/fru-id                                 0.5.11-0.151.0.1 installed  -----
system/fru-id/platform                        0.5.11-0.151.0.1 installed  -----
system/input-method/iiim                      0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/anthy                0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/cle-core             0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/cle-sunpinyin        0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/hangul               0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/thaile               0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/twle-chewing         0.5.11-0.151.0.1 installed  -----
system/input-method/iiim/twle-core            0.5.11-0.151.0.1 installed  -----
system/input-method/imf-startup               0.5.11-0.151.0.1 installed  -----
system/input-method/library/libanthy          0.5.11-0.151.0.1 installed  -----
system/input-method/library/libchewing        0.5.11-0.151.0.1 installed  -----
system/input-method/library/libhangul         0.5.11-0.151.0.1 installed  -----
system/install                                0.5.11-0.151.0.1 installed  -----
system/install/tests                          0.5.11-0.151.0.1 installed  -----
system/ipc                                    0.5.11-0.151.0.1 installed  -----
system/kernel                                 0.5.11-0.151.0.1 installed  -----
system/kernel/cpu-counters                    0.5.11-0.151.0.1 installed  -----
system/kernel/dtrace/providers                0.5.11-0.151.0.1 installed  -----
system/kernel/dynamic-reconfiguration/i86pc   0.5.11-0.151.0.1 installed  -----
system/kernel/platform                        0.5.11-0.151.0.1 installed  -----
system/kernel/power                           0.5.11-0.151.0.1 installed  -----
system/kernel/secure-rpc                      0.5.11-0.151.0.1 installed  -----
system/kernel/security/gss                    0.5.11-0.151.0.1 installed  -----
system/kernel/suspend-resume                  0.5.11-0.151.0.1 installed  -----
system/kernel/ultra-wideband                  0.5.11-0.151.0.1 installed  -----
system/keyboard/kbd_mode                      0.5.11-0.151    installed  -----
system/library                                0.5.11-0.151.0.1 installed  -----
system/library/c++/sunpro                     0.5.11-0.151.0.1 installed  -----
system/library/dbus                           0.5.11-0.151.0.1 installed  -----
system/library/flex-runtime                   2.5.35-0.151.0.1 installed  -----
system/library/fontconfig                     2.8.0-0.151     installed  -----
system/library/freetype-2                     2.4.2-0.151     installed  -----
system/library/gcc-3-runtime                  3.4.3-0.151.0.1 installed  -----
system/library/iconv/utf-8                    0.5.11-0.151.0.1 installed  -----
system/library/iconv/utf-8/manual             0.5.11-0.151.0.1 installed  -----
system/library/install                        0.5.11-0.151.0.1 installed  -----
system/library/libdbus                        0.5.11-0.151.0.1 installed  -----
system/library/libdbus-glib                   0.5.11-0.151.0.1 installed  -----
system/library/libdiskmgt                     0.5.11-0.151.0.1 installed  -----
system/library/libfcoe                        0.5.11-0.151.0.1 installed  -----
system/library/libpcap                        1.0.0-0.151.0.1 installed  -----
system/library/math                           0.5.11-0.151.0.1 installed  -----
system/library/mozilla-nss                    0.5.11-0.151.0.1 installed  -----
system/library/platform                       0.5.11-0.151.0.1 installed  -----
system/library/policykit                      0.5.11-0.151.0.1 installed  -----
system/library/processor                      0.5.11-0.151.0.1 installed  -----
system/library/security/gss                   0.5.11-0.151.0.1 installed  -----
system/library/security/gss/diffie-hellman    0.5.11-0.151.0.1 installed  -----
system/library/security/gss/spnego            0.5.11-0.151.0.1 installed  -----
system/library/security/libgcrypt             0.5.11-0.151.0.1 installed  -----
system/library/security/libsasl               0.5.11-0.151.0.1 installed  -----
system/library/security/rpcsec                0.5.11-0.151.0.1 installed  -----
system/library/storage/fibre-channel/hbaapi   0.5.11-0.151.0.1 installed  -----
system/library/storage/fibre-channel/libsun_fc 0.5.11-0.151.0.1 installed  -----
system/library/storage/ima                    0.5.11-0.151.0.1 installed  -----
system/library/storage/ima/header-ima         0.5.11-0.151.0.1 installed  -----
system/library/storage/libmpapi               0.5.11-0.151.0.1 installed  -----
system/library/storage/libmpscsi_vhci         0.5.11-0.151.0.1 installed  -----
system/library/storage/scsi-plugins           0.5.11-0.151.0.1 installed  -----
system/library/sysidtool                      0.5.11-0.151.0.1 installed  -----
system/library/usb/libusb                     0.5.11-0.151.0.1 installed  -----
system/library/usb/libusbugen                 0.5.11-0.151.0.1 installed  -----
system/locale                                 0.5.11-0.151.0.1 installed  -----
system/locale/af                              0.5.11-0.151.0.1 installed  -----
system/locale/ar_eg                           0.5.11-0.151.0.1 installed  -----
system/locale/as                              0.5.11-0.151.0.1 installed  -----
system/locale/az                              0.5.11-0.151.0.1 installed  -----
system/locale/be                              0.5.11-0.151.0.1 installed  -----
system/locale/bg                              0.5.11-0.151.0.1 installed  -----
system/locale/bn                              0.5.11-0.151.0.1 installed  -----
system/locale/bs                              0.5.11-0.151.0.1 installed  -----
system/locale/ca                              0.5.11-0.151.0.1 installed  -----
system/locale/cs                              0.5.11-0.151.0.1 installed  -----
system/locale/da                              0.5.11-0.151.0.1 installed  -----
system/locale/de_de                           0.5.11-0.151.0.1 installed  -----
system/locale/el_gr                           0.5.11-0.151.0.1 installed  -----
system/locale/en_us                           0.5.11-0.151.0.1 installed  -----
system/locale/es_es                           0.5.11-0.151.0.1 installed  -----
system/locale/et                              0.5.11-0.151.0.1 installed  -----
system/locale/fi                              0.5.11-0.151.0.1 installed  -----
system/locale/fr_fr                           0.5.11-0.151.0.1 installed  -----
system/locale/gu                              0.5.11-0.151.0.1 installed  -----
system/locale/he                              0.5.11-0.151.0.1 installed  -----
system/locale/hi                              0.5.11-0.151.0.1 installed  -----
system/locale/hr                              0.5.11-0.151.0.1 installed  -----
system/locale/hu                              0.5.11-0.151.0.1 installed  -----
system/locale/hy                              0.5.11-0.151.0.1 installed  -----
system/locale/id                              0.5.11-0.151.0.1 installed  -----
system/locale/is                              0.5.11-0.151.0.1 installed  -----
system/locale/it_it                           0.5.11-0.151.0.1 installed  -----
system/locale/ja                              0.5.11-0.151.0.1 installed  -----
system/locale/ka                              0.5.11-0.151.0.1 installed  -----
system/locale/kk                              0.5.11-0.151.0.1 installed  -----
system/locale/kn                              0.5.11-0.151.0.1 installed  -----
system/locale/ko                              0.5.11-0.151.0.1 installed  -----
system/locale/ks                              0.5.11-0.151.0.1 installed  -----
system/locale/ku                              0.5.11-0.151.0.1 installed  -----
system/locale/ky                              0.5.11-0.151.0.1 installed  -----
system/locale/lt                              0.5.11-0.151.0.1 installed  -----
system/locale/lv                              0.5.11-0.151.0.1 installed  -----
system/locale/mk                              0.5.11-0.151.0.1 installed  -----
system/locale/ml                              0.5.11-0.151.0.1 installed  -----
system/locale/mr                              0.5.11-0.151.0.1 installed  -----
system/locale/ms                              0.5.11-0.151.0.1 installed  -----
system/locale/mt                              0.5.11-0.151.0.1 installed  -----
system/locale/nb                              0.5.11-0.151.0.1 installed  -----
system/locale/nl_nl                           0.5.11-0.151.0.1 installed  -----
system/locale/nn                              0.5.11-0.151.0.1 installed  -----
system/locale/or                              0.5.11-0.151.0.1 installed  -----
system/locale/pa                              0.5.11-0.151.0.1 installed  -----
system/locale/pl                              0.5.11-0.151.0.1 installed  -----
system/locale/pt                              0.5.11-0.151.0.1 installed  -----
system/locale/pt_br                           0.5.11-0.151.0.1 installed  -----
system/locale/ro                              0.5.11-0.151.0.1 installed  -----
system/locale/ru_ru                           0.5.11-0.151.0.1 installed  -----
system/locale/sa                              0.5.11-0.151.0.1 installed  -----
system/locale/sk                              0.5.11-0.151.0.1 installed  -----
system/locale/sl                              0.5.11-0.151.0.1 installed  -----
system/locale/sq                              0.5.11-0.151.0.1 installed  -----
system/locale/sr_rs                           0.5.11-0.151.0.1 installed  -----
system/locale/sv                              0.5.11-0.151.0.1 installed  -----
system/locale/th                              0.5.11-0.151.0.1 installed  -----
system/locale/tr                              0.5.11-0.151.0.1 installed  -----
system/locale/uk                              0.5.11-0.151.0.1 installed  -----
system/locale/vi                              0.5.11-0.151.0.1 installed  -----
system/locale/zh_cn                           0.5.11-0.151.0.1 installed  -----
system/locale/zh_tw                           0.5.11-0.151.0.1 installed  -----
system/management/intel-amt                   0.5.11-0.151.0.1 installed  -----
system/management/ipmitool                    1.8.10-0.151.0.1 installed  -----
system/management/product-registry            0.5.11-0.151.0.1 installed  -----
system/management/service-tag                 0.5.11-0.151.0.1 installed  -----
system/management/snmp/net-snmp               5.4.1-0.151.0.1 installed  -----
system/management/snmp/net-snmp/documentation 5.4.1-0.151.0.1 installed  -----
system/management/snmp/sea                    0.5.11-0.151.0.1 installed  -----
system/management/snmp/sea/sea-config         0.5.11-0.151.0.1 installed  -----
system/management/sysidtool                   0.5.11-0.151.0.1 installed  -----
system/management/visual-panels               0.5.11-0.151    installed  -----
system/management/visual-panels/panel-firewall 0.5.11-0.151    installed  -----
system/management/visual-panels/panel-sharemgr 0.5.11-0.151    installed  -----
system/manual                                 0.5.11-0.151.0.1 installed  -----
system/manual/locale/ca                       0.5.11-0.151.0.1 installed  -----
system/manual/locale/ja                       0.5.11-0.151.0.1 installed  -----
system/network                                0.5.11-0.151.0.1 installed  -----
system/network/avahi                          0.5.11-0.151.0.1 installed  -----
system/network/nis                            0.5.11-0.151.0.1 installed  -----
system/network/ppp                            0.5.11-0.151.0.1 installed  -----
system/network/ppp/pppdump                    0.5.11-0.151.0.1 installed  -----
system/network/ppp/tunnel                     0.5.11-0.151.0.1 installed  -----
system/network/routing                        0.5.11-0.151.0.1 installed  -----
system/network/wificonfig                     0.5.11-0.151.0.1 installed  -----
system/prerequisite/gnu                       0.5.11-0.151.0.1 installed  -----
system/scheduler/fss                          0.5.11-0.151.0.1 installed  -----
system/storage/fibre-channel/port-utility     0.5.11-0.151.0.1 installed  -----
system/storage/luxadm                         0.5.11-0.151.0.1 installed  -----
system/storage/parted                         1.8.8-0.151.0.1 installed  -----
system/xopen/xcu4                             0.5.11-0.151.0.1 installed  -----
system/xvm/ipagent                            0.5.11-0.151.0.1 installed  -----
system/xvm/xvmstore                           3.4.2-0.151.0.1 installed  -----
system/zones                                  0.5.11-0.151.0.1 installed  -----
system/zones/brand/ipkg                       0.5.11-0.151.0.1 installed  -----
terminal/fbconsole                            0.5.11-0.151    installed  -----
terminal/gnome-terminal                       0.5.11-0.151.0.1 installed  -----
terminal/luit                                 1.0.5-0.151     installed  -----
terminal/screen                               4.0.3-0.151.0.1 installed  -----
terminal/xterm                                261-0.151       installed  -----
text/doctools                                 0.5.11-0.151.0.1 installed  -----
text/doctools/ja                              0.5.11-0.151.0.1 installed  -----
text/gawk                                     3.1.5-0.151.0.1 installed  -----
text/gnu-diffutils                            2.8.7-0.151.0.1 installed  -----
text/gnu-grep                                 2.5.4-0.151.0.1 installed  -----
text/gnu-patch                                2.5.9-0.151.0.1 installed  -----
text/gnu-sed                                  4.2.1-0.151.0.1 installed  -----
text/groff                                    0.5.11-0.151.0.1 installed  -----
text/less                                     436-0.151.0.1   installed  -----
text/locale                                   0.5.11-0.151.0.1 installed  -----
text/texinfo                                  4.7-0.151.0.1   installed  -----
web/browser/firefox                           0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/de_de              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/es_es              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/fr_fr              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/hi_in              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/it_it              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/ja_jp              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/ko_kr              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/pl_pl              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/pt_br              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/ru_ru              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/zh_cn              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/locale/zh_tw              0.5.11-0.151.0.1 installed  -----
web/browser/firefox/plugin/firefox-flashplayer 10.1.85.3-0.151.0.1 installed  -----
web/browser/firefox/plugin/firefox-java       0.5.11-0.151.0.1 installed  -----
web/browser/w3m                               0.5.2-0.151.0.1 installed  -----
web/curl                                      7.21.1-0.151.0.1 installed  -----
web/data/firefox-bookmarks                    0.5.11-0.151.0.1 installed  -----
web/wget                                      1.12-0.151.0.1  installed  -----
x11/colormap-utilities                        7.5-0.151       installed  -----
x11/compatibility/links-svid                  0.5.11-0.151    installed  -----
x11/compatibility/links-xorg                  0.5.11-0.151    installed  -----
x11/data/workspace-patterns                   0.5.11-0.151    installed  -----
x11/data/xbitmaps                             1.1.0-0.151     installed  -----
x11/data/xcursor-themes                       1.0.2-0.151     installed  -----
x11/demo                                      7.5-0.151       installed  -----
x11/demo/mesa-demos                           7.4.4-0.151     installed  -----
x11/diagnostic/x11-info-clients               7.5-0.151       installed  -----
x11/diagnostic/xev                            1.0.4-0.151     installed  -----
x11/diagnostic/xscope                         1.2-0.151       installed  -----
x11/documentation/xorg-docs                   1.5-0.151       installed  -----
x11/font-utilities                            7.5-0.151       installed  -----
x11/header/x11-protocols                      7.5-0.151       installed  -----
x11/keyboard/data-xkb                         0.5.11-0.151.0.1 installed  -----
x11/keyboard/xkb-utilities                    7.5-0.151       installed  -----
x11/keyboard/xkbcomp                          1.1.1-0.151     installed  -----
x11/library/dps                               7.5-0.151       installed  -----
x11/library/libdga                            0.5.11-0.151    installed  -----
x11/library/libdrm                            2.4.14-0.151    installed  -----
x11/library/libfontenc                        1.0.5-0.151     installed  -----
x11/library/libfs                             1.0.2-0.151     installed  -----
x11/library/libice                            1.0.6-0.151     installed  -----
x11/library/libowconfig                       0.5.11-0.151    installed  -----
x11/library/libsm                             1.0.3-0.151     installed  -----
x11/library/libx11                            1.3.5-0.151     installed  -----
x11/library/libxau                            1.0.6-0.151     installed  -----
x11/library/libxcomposite                     0.4.2-0.151     installed  -----
x11/library/libxcursor                        1.1.10-0.151    installed  -----
x11/library/libxdamage                        1.1.3-0.151     installed  -----
x11/library/libxdmcp                          1.0.3-0.151     installed  -----
x11/library/libxevie                          1.0.2-0.151     installed  -----
x11/library/libxext                           1.1.2-0.151     installed  -----
x11/library/libxfixes                         4.0.5-0.151     installed  -----
x11/library/libxfont                          1.4.1-0.151     installed  -----
x11/library/libxft                            2.1.14-0.151    installed  -----
x11/library/libxi                             1.3.2-0.151     installed  -----
x11/library/libxinerama                       1.1-0.151       installed  -----
x11/library/libxkbfile                        1.0.6-0.151     installed  -----
x11/library/libxmu                            1.0.5-0.151     installed  -----
x11/library/libxmuu                           1.0.5-0.151     installed  -----
x11/library/libxp                             1.0.0-0.151     installed  -----
x11/library/libxpm                            3.5.8-0.151     installed  -----
x11/library/libxrandr                         1.3.0-0.151     installed  -----
x11/library/libxrender                        0.9.6-0.151     installed  -----
x11/library/libxres                           1.0.4-0.151     installed  -----
x11/library/libxscrnsaver                     1.2.0-0.151     installed  -----
x11/library/libxtst                           1.1.0-0.151     installed  -----
x11/library/libxv                             1.0.5-0.151     installed  -----
x11/library/libxvmc                           1.0.6-0.151     installed  -----
x11/library/libxxf86misc                      1.0.2-0.151     installed  -----
x11/library/libxxf86vm                        1.1.0-0.151     installed  -----
x11/library/mesa                              7.4.4-0.151     installed  -----
x11/library/toolkit/libxaw4                   0.5.11-0.151    installed  -----
x11/library/toolkit/libxaw5                   0.5.11-0.151    installed  -----
x11/library/toolkit/libxaw7                   1.0.7-0.151     installed  -----
x11/library/toolkit/libxt                     1.0.8-0.151     installed  -----
x11/library/xtrans                            1.2.5-0.151     installed  -----
x11/network/rstart                            1.0.3-0.151     installed  -----
x11/server/xephyr                             1.7.7-0.151     installed  -----
x11/server/xorg                               1.7.7-0.151     installed  -----
x11/server/xorg/driver/xorg-input-hotkey      0.5.11-0.151    installed  -----
x11/server/xorg/driver/xorg-input-keyboard    1.4.0-0.151     installed  -----
x11/server/xorg/driver/xorg-input-mouse       1.5.0-0.151     installed  -----
x11/server/xorg/driver/xorg-input-synaptics   1.2.1-0.151     installed  -----
x11/server/xorg/driver/xorg-input-vmmouse     12.6.10-0.151   installed  -----
x11/server/xorg/driver/xorg-video             0.5.11-0.151    installed  -----
x11/server/xorg/driver/xorg-video-apm         1.2.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-ark         0.7.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-ast         0.91.10-0.151   installed  -----
x11/server/xorg/driver/xorg-video-ati         6.13.1-0.151    installed  -----
x11/server/xorg/driver/xorg-video-chips       1.2.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-cirrus      1.3.2-0.151     installed  -----
x11/server/xorg/driver/xorg-video-glint       1.2.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-i128        1.3.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-i740        1.3.2-0.151     installed  -----
x11/server/xorg/driver/xorg-video-intel       2.6.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-mach64      6.8.2-0.151     installed  -----
x11/server/xorg/driver/xorg-video-mga         1.4.13-0.151    installed  -----
x11/server/xorg/driver/xorg-video-neomagic    1.2.5-0.151     installed  -----
x11/server/xorg/driver/xorg-video-nv          2.1.18-0.151    installed  -----
x11/server/xorg/driver/xorg-video-openchrome  0.2.904-0.151   installed  -----
x11/server/xorg/driver/xorg-video-r128        6.8.1-0.151     installed  -----
x11/server/xorg/driver/xorg-video-radeonhd    1.3.0-0.151     installed  -----
x11/server/xorg/driver/xorg-video-rendition   4.2.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-s3          0.6.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-s3virge     1.10.4-0.151    installed  -----
x11/server/xorg/driver/xorg-video-savage      2.2.1-0.151     installed  -----
x11/server/xorg/driver/xorg-video-siliconmotion 1.7.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-sis         0.10.3-0.151    installed  -----
x11/server/xorg/driver/xorg-video-tdfx        1.4.3-0.151     installed  -----
x11/server/xorg/driver/xorg-video-tga         1.2.1-0.151     installed  -----
x11/server/xorg/driver/xorg-video-trident     1.3.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-tseng       1.2.4-0.151     installed  -----
x11/server/xorg/driver/xorg-video-vesa        2.3.0-0.151     installed  -----
x11/server/xorg/driver/xorg-video-vmware      10.16.9-0.151   installed  -----
x11/server/xserver-common                     1.7.7-0.151     installed  -----
x11/server/xvnc                               1.0.1-0.151     installed  -----
x11/session/sessreg                           1.0.6-0.151     installed  -----
x11/session/smproxy                           1.0.3-0.151     installed  -----
x11/session/winsysck                          0.5.11-0.151    installed  -----
x11/session/xauth                             1.0.4-0.151     installed  -----
x11/session/xinit                             1.2.1-0.151     installed  -----
x11/trusted/libxtsol                          0.5.11-0.151    installed  -----
x11/x11-server-utilities                      7.5-0.151       installed  -----
x11/x11-window-dump                           1.0.3-0.151     installed  -----
x11/xcalc                                     1.0.3-0.151     installed  -----
x11/xclipboard                                1.1.0-0.151     installed  -----
x11/xfd                                       1.0.1-0.151     installed  -----
x11/xfontsel                                  1.0.2-0.151     installed  -----
x11/xfs/xfs-utilities                         7.5-0.151       installed  -----
x11/xkill                                     1.0.2-0.151     installed  -----
x11/xlock                                     0.5.11-0.151    installed  -----
x11/xmag                                      1.0.3-0.151     installed  -----
x11/xvidtune                                  1.0.2-0.151     installed  -----

Quick Local Repository

Solaris 11 Express makes it pretty easy to set up a local copy of the repository. However, the full repository is several gigabytes large, so that in itself can be a deterrent, especially if you're just looking to install a couple of packages.

A common reason folks need access to a local repository is because their system is not connected to the Internet. In this example I will show you how to create a local repository, receive files into it, copy that repository to another machine, install it as a publisher and finally install the software. My real world use case for this blog was my need to install software from an internal Oracle repository to an machine not connected to the Oracle network. However, for this example I'll use the public repository as my example and the Tomcat web server as the software I want to make available to the remote machine.

Step 1: Create a Repository

The first step is to create the repository to host the packages. This repository will then be copied to the remote machine. This is easily accomplished with the pkgrepo command. Here I'm creating a repository off of my home directory:

bleonard@solaris:~$ pkgrepo create ~/repo

This basically creates a directory, repo, with a single file, pkg5.repository:

bleonard@solaris:~$ cat repo/pkg5.repository 
[publisher]
prefix = 

[CONFIGURATION]
version = 4

[repository]
version = 4

Note, there's no command to delete the repository. As it's a file based repository, just delete the directory:

bleonard@solaris:~$ rm -r repo

Step 2: Receive the Packages into the Repository

The next step is to receive the packages into the new repository. For this I will use the pkgrecv command. If the repository you want to receive the packages from is not configured as a publisher, you can also specify that on the command line. In addition, you can use the -r option to recursively grab all of the package's dependencies. Beware, however, that depending on the package, this may end up downloading most of the repository. For this example I'm going to grab the Apache Tomcat server, sans dependencies:

bleonard@solaris:~$ pkgrecv -s http://pkg.oracle.com/solaris/release -d ~/repo web/java-servlet/tomcat web/java-servlet/tomcat/tomcat-examples
Processing packages for publisher solaris ...
Retrieving and evaluating 2 package(s)...                      
PROCESS                                         ITEMS     GET (MB)    SEND (MB)
Completed                                         2/2    10.4/10.4    13.5/13.5

Step 3: Copy the Repository to the Remote Machine

You could use your favorite approach for copying files. In this example, I'm going to use scp:

oracle@solaris:~$ scp -r bleonard@10.0.1.3:repo repo
The authenticity of host '10.0.1.3 (10.0.1.3)' can't be established.
RSA key fingerprint is f7:1d:2c:d7:24:e3:1c:57:53:0f:59:75:31:4a:0f:7d.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.0.1.3' (RSA) to the list of known hosts.
Password: 
ndd: No such file or directory
pkg5.repository      100% |*****************************|    78       00:00    
19bd9e48c1f7ce9a2bb6 100% |*****************************|   541       00:00    
...
catalog.dependency.C 100% |*****************************|  1055       00:00    
6.0.28%2C5.11-0.151. 100% |*****************************| 45641       00:00    
6.0.28%2C5.11-0.151. 100% |*****************************| 71145       00:00    
6.0.20%2C5.11-0.133% 100% |*****************************|   419       00:00    

You can check the status of the new repo:

oracle@solaris:~$ pkgrepo info -s ~/repo
PUBLISHER PACKAGES STATUS           UPDATED
solaris   3        online           2011-06-07T20:38:51.166088Z

Note, searches against the repository will initially fail:

oracle@solaris:~$ pkg search -s file:///home/oracle/repo tomcat
pkg: Some repositories failed to respond appropriately:
solaris:
file protocol error: code: 11 reason: Search temporarily unavailable.
Repository URL: 'file:///home/oracle/repo'. (happened 4 times

This can be corrected by refreshing the index:

oracle@solaris:~$ pkgrepo refresh -s ~/repo
Repository refresh initiated.

oracle@solaris:~$ pkg search -s file:///home/oracle/repo tomcat
INDEX           ACTION VALUE                                               PACKAGE
description     set    Tomcat Servlet/JSP Container                        pkg:/web/java-servlet/tomcat@6.0.28-0.151.0.1
description     set    Tomcat Servlet/JSP Container - example applications pkg:/web/java-servlet/tomcat/tomcat-examples@6.0.28-0.151.0.1
pkg.description set    Tomcat Servlet/JSP Container                        pkg:/web/java-servlet/tomcat@6.0.28-0.151.0.1
pkg.description set    Tomcat Servlet/JSP Container - example applications pkg:/web/java-servlet/tomcat/tomcat-examples@6.0.28-0.151.0.1
pkg.summary     set    Tomcat Servlet/JSP Container                        pkg:/web/java-servlet/tomcat@6.0.28-0.151.0.1
pkg.summary     set    Tomcat Servlet/JSP Container - example applications pkg:/web/java-servlet/tomcat/tomcat-examples@6.0.28-0.151.0.1
pkg.fmri        set    solaris/web/java-servlet/tomcat                     pkg:/web/java-servlet/tomcat@6.0.28-0.151.0.1

To see all the packages in the repository:

oracle@solaris:~$ pkg search -p -s file:///home/oracle/repo '*'
PACKAGE                                                       PUBLISHER
pkg:/SUNWtcat-examples@6.0.20-0.133                           solaris
pkg:/web/java-servlet/tomcat/tomcat-examples@6.0.28-0.151.0.1 solaris
pkg:/web/java-servlet/tomcat@6.0.28-0.151.0.1                 solaris

Step 4: Add the Repository as a Publisher

Since the packages are from the default 'solaris' repository, we're just going to add a new origin to the existing configured repository. We'll then remove the default origin of http://pkg.oracle.com/solaris/release (since theoretically we can't connect to it anyway). If the packages were from a new or unconfigured repository, you would use the -p option instead:

oracle@solaris:~$ sudo pkg set-publisher -g file:///home/oracle/repo solaris

oracle@solaris:~$ sudo pkg set-publisher -G http://pkg.oracle.com/solaris/release/ solaris

oracle@solaris:~$ pkg publisher
PUBLISHER                             TYPE     STATUS   URI
solaris                  (preferred)  origin   online   file:///home/oracle/repo/

Step 5: Install Software

oracle@solaris:~$ sudo pkg install tomcat tomcat-examples
Password: 
               Packages to install:     2
           Create boot environment:    No
               Services to restart:     1
DOWNLOAD                                  PKGS       FILES    XFER (MB)
Completed                                  2/2     475/475      5.8/5.8

PHASE                                        ACTIONS
Install Phase                                610/610 

PHASE                                          ITEMS
Package State Update Phase                       2/2 
Image State Update Phase                         2/2 

In this particular case, we'll start the Tomcat server:

oracle@solaris:~$ sudo svcadm enable tomcat6


Tuesday May 31, 2011

A D Script for Observing the Network - Take Two

About a year and a half ago I wrote about a nifty little D script I came across while working with the now defunct Crossbow Virtual Wire Demo Tool. However, the script stopped compiling somewhere between the release of OpenSolaris 2009.06 and Solaris 11 Express. 

Solaris 11 Express also included the addition of two new DTrace providers, TCP and UDP. These new providers make it possible to simplify the script and Solaris Systems Architect Andrew Gabriel did this.[Read More]

Wednesday May 25, 2011

ipadm

Solaris 11 introduces a new command for administering IP interfaces - ipadm. ipadm is an upgrade over the venerable ifconfig and unlike ifconfig, changes made with ipadm persist across reboots. There's no longer a need to fuddle with configuration files.

ifconfig hasn't gone away, but I've been trying to wean myself off of it in favor of the new ipadm command.

An initial look at the usage command for ipadm shows a much cleaner interface that introduces a subcommand:

bleonard@solaris:~$ ipadm
usage:  ipadm <subcommand> <args> ...
	create-if	[-t] <interface>
	disable-if	-t <interface>
	enable-if	-t <interface>
	delete-if	<interface>
	show-if		[[-p] -o <field>,...] [<interface>]

	set-ifprop	[-t] -p <prop>=<value[,...]> -m <protocol> <interface>
	reset-ifprop	[-t] -p <prop> -m <protocol> <interface>
	show-ifprop	[[-c] -o <field>,...] [-p <prop>,...]
			[-m <protocol>] [interface]

	create-addr	[-t] {-T static <static_args> | -T dhcp <dhcp_args> |
			-T addrconf <addrconf_args>} <addrobj>
			static_args = <[-d] -a {local|remote}=addr[/prefixlen]>
			dhcp_args = <[-w <seconds> | forever]>
			addrconf_args = <[-i interface-id]
					[-p {stateful|stateless}={yes|no}]>
	down-addr	[-t] <addrobj>
	up-addr		[-t] <addrobj>
	disable-addr	-t <addrobj>
	enable-addr	-t <addrobj>
	refresh-addr	[-i] <addrobj>
	delete-addr	[-r] <addrobj>
	show-addr	[[-p] -o <field>,...] [<addrobj>]

	set-addrprop	[-t] -p <prop>=<value[,...]> <addrobj>
	reset-addrprop	[-t] -p <prop> <addrobj>
	show-addrprop	[[-c] -o <field>,...] [-p <prop>,...] <addrobj>

	set-prop	[-t] -p <prop>[+|-]=<value[,...]> <protocol>
	reset-prop	[-t] -p <prop> <protocol>
	show-prop	[[-c] -o <field>,...] [-p <prop>,...] [protocol]

Compare this with the overly complex ifconfig command:

bleonard@solaris:~$ ifconfig
usage: ifconfig <interface> | -a[ 4 | 6 | D ][ u | d ][ Z ]
	[ <addr_family> ]
	[ <address>[/<prefix_length>] [ <dest_address> ] ]
	[ set [ <address>][/<prefix_length>] ] [ <address>/<prefix_length>] ]
	[ destination <dest_address> ]
	[ addif <address>[/<prefix_length>]  [ <dest_address> ] ]
	[ removeif <address>[/<prefix_length>] ]
	[ arp | -arp ]
	[ auto-revarp ]
	[ broadcast <broad_addr> ]
	[ index <if_index> ]
	[ metric <n> ] [ mtu <n> ]
	[ netmask <mask> ]
	[ plumb ] [ unplumb ]
	[ preferred | -preferred ]
	[ private | -private ]
	[ local | -local ]
	[ router | -router ]
	[ subnet <subnet_address>]
	[ trailers | -trailers ]
	[ token <address>/<prefix_length> ]
	[ tsrc <tunnel_src_address> ]
	[ tdst <tunnel_dest_address> ]
	[ auth_algs <tunnel_AH_authentication_algorithm> ]
	[ encr_algs <tunnel_ESP_encryption_algorithm> ]
	[ encr_auth_algs <tunnel_ESP_authentication_algorithm> ]
	[ up ] [ down ]
	[ xmit | -xmit ]
	[ modlist ]
	[ modinsert <module_name@position> ]
	[ modremove <module_name@position> ]
	[ ipmp ]
	[ group <groupname>] | [ group ""]
	[ deprecated | -deprecated ]
	[ standby | -standby ]
	[ failover | -failover ]
	[ zone <zonename> | -zone ]
	[ usesrc <interface> ]
	[ all-zones ]
or
	ifconfig <interface> |  -a[ 4 | 6 | D ] [ u | d ]
	auto-dhcp | dhcp
	[ wait <time> | forever ]
	[ primary ]
	start | drop | ping | release | status | inform

However, one thing that initially tripped me up in my usage of ipadm was the introduction of the addrobj.  An addrobj is just a user supplied name for an address configured on a network interface that can later be used to reference that address. It's comprised of 2 parts, the network interface on which the address is configured and a string of your liking, separated by a slash. Generally the string you select would describe the address (v4dhcp, v6static, etc.):

addrobj = <network interface>/<any string>

So, for example:

addrobj = e1000g0/v4static

This addrobj is then used to reference the address. The ipadm subcommands that work with an an addrobj all have "addr" in their name. Likewise, the ipadm subcommands that work with an interface all have "if" in their name.

Typically, the two most common things I do with ifconfig are to configure addresses on my interfaces and list those addresses. Here are the ifconfig commands I use and their ipadm equivalents.

Note, if you plan on using ipadm to configure your network interfaces, disable network/nwam and enable network/physical:default:

bleonard@solaris:~$ svcs nwam physical:default
STATE          STIME    FMRI
disabled       11:32:38 svc:/network/physical:nwam
online         11:32:55 svc:/network/physical:default

Configuring An Interface

Old School

Bringing up an interface using ifconfig is pretty straight-forward. The big drawback is that the interface configuration will not persist across a reboot:

bleonard@solaris:~$ sudo ifconfig e1000g0 plumb 10.0.2.15/24 up

New School

The new ipadm command is a little more esoteric, however, its settings do persist across a reboot:

bleonard@solaris:~$ sudo ipadm create-addr -T static -a 10.0.2.15/24 e1000g0/v4static

This is the command that has taken me the longest to get used to because there appears to be so much going on here. The ifconfig command doesn't have the option flags (-T and -a in my example) - which makes the usage cleaner. For example, ifconfig infers I want a static address because I've passed it an IP address. The ipadm command is also longer than ifconfig because we're now assigning our address a name (e1000g1/v4static).

List My Interfaces

Old School

To see what IP addresses I have configured on my network interfaces I traditionally used:

bleonard@solaris:~$ ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
	inet 127.0.0.1 netmask ff000000 
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 4
	inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
	inet6 ::1/128 
e1000g0: flags=20002000840<RUNNING,MULTICAST,IPv6> mtu 1500 index 4
	inet6 ::/0 

The output is a bit messy, but I'm very accustomed to it.

New School

With ipadm:

bleonard@solaris:~$ ipadm show-addr
ADDROBJ           TYPE     STATE        ADDR
lo0/v4            static   ok           127.0.0.1/8
e1000g0/v4static  static   ok           10.0.2.15/24
lo0/v6            static   ok           ::1/128

Note, if you see an addrobj that is listed as <interface>/?, that address was configured on the interface by an application that did not use libipadm APIs.

Here's a nice table comparing the ifconfig Command Options and ipadm Command Options.

Because I know you're curious, ipadm uses /etc/ipadm/ipadm.conf as its persistence store:

bleonard@solaris:~$ cat /etc/ipadm/ipadm.conf 
#
# CDDL License...
#
# DO NOT EDIT OR PARSE THIS FILE!
#
# Use the ipadm(1m) command to change the contents of this file.
_ifname=e1000g0;_family=2;
_ifname=e1000g0;_family=26;
_ifname=e1000g0;_aobjname=e1000g0/v4static;_ipv4addr=10.0.2.15,;up=yes;
_ifname=e1000g0;_aobjname=e1000g0/v4static;prefixlen=24;

So, that's my brief introduction to ipadm. Here are some other references that you may find useful:


Thursday May 19, 2011

SRUs

If you have a support contract for Oracle Solaris 11 Express (or are an Oracle employee), you have access to the support repository https://pkg.oracle.com/solaris/support.

The support repository provides updates to Solaris 11 Express, known as Support Repository Updates or SRUs which are released on about a monthly basis.  Since the release of Oracle Solaris 11 Express in November, there have been 6 repository updates, which are listed on the Oracle Solaris 11 Express Support Repository Updates Index. (you'll need an account with My Oracle Support to view this page). Here's a screen capture from that page:


For each update there's an associated Readme that lists the updated packages and associated bug fixes included in the SRU.

If you're running the desktop environment you'll be notified on top panel that an update exists by the following icon:

From the command line you can check for a new version of the "entire" package:

bleonard@solaris:~$ pkg list -fa entire
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
entire                                        0.5.11-0.151.0.1.6 known      -----
entire                                        0.5.11-0.151.0.1.5 installed  u----
entire                                        0.5.11-0.151.0.1.4 known      u----
entire                                        0.5.11-0.151.0.1.3 known      u----
entire                                        0.5.11-0.151.0.1.2 known      u----
entire                                        0.5.11-0.151.0.1.2 known      u----
entire                                        0.5.11-0.151.0.1.1 known      u----
entire                                        0.5.11-0.151.0.1 known      u----

In this case I'm currently running SRU5 and SRU6 is now available for installation.

Another useful document that explains how to set up the support repositories is Support Repositories Explained (also on My Oracle Support). However, one little gem I did find referenced in that document is the Oracle Solaris 11 Express Cheat Sheet -  Image Packaging System One Liners for frequently utilized pkg commands, which is the only thing about this blog entry that doesn't cost you anything.

Thursday Mar 10, 2011

Solaris 10 Branded Zones

One of the powerful features of Solaris 11 is the ability to run a Solaris 10 environment in a zone. Solaris 10 allows you to run Solaris 8 and 9 environments in zones, but only on SPARC. 

Unfortunately, you can't just create a Solaris 10 zone from scratch - you have to have an existing Solaris 10 environment. That environment can be either a Solaris 10 instance or a Solaris 10 zone. 

Step 1: Pick a Solaris 10 Instance to Migrate

For this exercise, I'm going to migrate a complete Solaris 10 installation (not a Solaris 10 zone). The Solaris 10 9/10 VirtualBox VM is a great candidate, so that's what I'm going to use. If you're interested in migrating a Solaris 10 zone, see: Migrating an Oracle Solaris 10 native Non-Global Zone Into an Oracle Solaris 10 Container.

Step 2: Set Up Common Storage

We need to create an archive of the Solaris 10 system. Ideally, that archive would be written to and read from the same location. Since we're using VirtualBox, the host system makes a great common storage location. So, on the host system, set up an NFS share if you don't already have one.

Step 3: Create the Archive

As documented in Assessing an Oracle Solaris 10 System and Creating an Archive, note the Solaris 10 system's hostid:

bash-3.00# hostid
3198b62f

Then create the image, writing the archive to the NFS share on the host system:

bash-3.00# flarcreate -S -n s10-system -L cpio /net/10.0.1.3/export/home/bleonard/share/s10-system.flar Archive format requested is cpio
This archiver format is NOT VALID for flash installation of ZFS root pool.
This format is useful for installing the system image into a zone.
Reissue command without -L option to produce an archive for root pool install.
Full Flash
Checking integrity...
Integrity OK.
Running precreation scripts...
Precreation scripts done.
Creating the archive...
6917057 blocks
Archive creation complete.
Running postcreation scripts...
Postcreation scripts done.

Running pre-exit scripts...
Pre-exit scripts done.

The 3.3G file takes about 30 minutes to create.

Step 4: Install the s10 Package

The s10 package provides support for the Solaris 10 Branded Zone. Just click Install to install it.

Step 5: Create a ZFS File System for the Zones

If you already have a ZFS file system for your zones, you can skip this step:

bleonard@solaris:~$ sudo zfs create -o mountpoint=/zones rpool/zones
Password:

Step 6: Create a VNIC for the Zone

This is optional as you could elect to use shared networking, but why not take advantage of network virtualization?

bleonard@solaris:~$ sudo dladm create-vnic -l e1000g0 s10zone0

Step 7: Configure the Zone

The key difference here from creating a standard zone is the zone type is set to SUNWsolaris10:

bleonard@solaris:~$ sudo zonecfg -z s10-zone
s10-zone: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:s10-zone> create -t SUNWsolaris10
zonecfg:s10-zone> set zonepath=/zones/s10-zone
zonecfg:s10-zone> set ip-type=exclusive
zonecfg:s10-zone> add net
zonecfg:s10-zone:net> set physical=s10zone0
zonecfg:s10-zone:net> end
zonecfg:s10-zone> set hostid=<solaris 10 host id>
zonecfg:s10-zone> verify
zonecfg:s10-zone> commit
zonecfg:s10-zone> exit

Step 8: Install the Zone

You'll be installing the zone from the flash archive that was created in step 3. I'll be installing the zone unconfigured (If you wish to preserve the zone configuration, replace the -u with -p, but I've had mixed luck with this approach):

bleonard@solaris:~$ sudo zoneadm -z s10-zone install -a /export/home/bleonard/share/s10-system.flar -u
A ZFS file system has been created for this zone.
      Log File: /var/tmp/s10-zone.install_log.fUa4Lh
    Installing: This may take several minutes...
Postprocessing: This may take a while...
   Postprocess: Updating the image to run within a zone

        Result: Installation completed successfully.
      Log File: /zones/s10-zone/root/var/log/s10-zone.install3809.log

The installation should take about 25 minutes to complete.

Step 9: Configure Solaris 10

This step can be done interactively when the zone is first booted, but I like to automate it by providing a sysidcfg file. See How to Use an /etc/sysidcfg for more information:

bleonard@solaris:~$ sudo cat /zones/s10-zone/root/etc/sysidcfg
system_locale=C
terminal=xterms
network_interface=s10zone0 {
	hostname=s10-zone
	ip_address=10.0.2.25
        default_route=NONE
	netmask=255.255.255.0
 	protocol_ipv6=no}
security_policy=none
name_service=NONE
nfs4_domain=domain
timezone=US/Eastern
root_password=N4l3cWQb/s9zY 

The above root password is "solaris".

Step 10: Boot the Zone

bleonard@solaris:~$ sudo zoneadm -z s10-zone boot
Password:

Step 11: Log Into the Zone

If you attempt to log in immediately after the boot command, you'll need to wait a couple of minutes for the Solaris 10 system configuration to complete before the login prompt appears. Don't fear the message about s10zone0 not being a valid network interface - it configures just fine:

bleonard@solaris:~$ sudo zlogin -C s10-zone bleonard@solaris:~$ sudo zlogin -C s10-zone
[Connected to zone 's10-zone' console]
Hostname: s10-zone
Loading smf(5) service descriptions: 1/1
 network_interface=s10zone0 {
 \^                 
s10zone0 is not a valid network interface  line 3 position 19
Creating new rsa public/private host key pair
Creating new dsa public/private host key pair
Configuring network interface addresses: s10zone0.
Mar 10 13:32:14 s10-zone sendmail[7277]: My unqualified host name (s10-zone) unknown; sleeping for retry

s10-zone console login: root
Password: solaris
Mar 10 13:32:32 s10-zone login: ROOT LOGIN /dev/console
Last login: Thu Feb 24 13:50:44 on console
Oracle Corporation      SunOS 5.10      Generic Patch   January 2005
-bash-3.00# cat /etc/release 
                    Oracle Solaris 10 9/10 s10x_u9wos_14a X86
     Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
                            Assembled 11 August 2010

To get rid of the "unqualified host name" messages from sendmail, add s10-zone.local to /etc/inet/hosts as follows:

-bash-3.00# cat /etc/hosts
#
# Internet host table
#
127.0.0.1       localhost       
::1     localhost       
10.0.2.25       s10-zone        loghost s10-zone.local

Step 12: Use

Now that you have a Solaris 10 zone, it's up to you to decide what to do with it. If you migrated over a Solaris 10 system with applications, then you should be able to quickly get them up and running in the zone. One of the nice benefits of running a Solaris 10 zone in Solaris 11 is the ability to take advantage of new features like network virtualization and zonestat:

bleonard@solaris:~$ zonestat 5
Collecting data for first interval...
Interval: 1, Duration: 0:00:05
SUMMARY                    Cpus/Online: 1/1   Physical: 1535M    Virtual: 2512M
                    ----------CPU---------- ----PHYSICAL----- -----VIRTUAL-----
               ZONE  USED %PART  %CAP %SHRU  USED   PCT  %CAP  USED   PCT  %CAP
            [total]  0.22 22.8%     -     - 1113M 72.4%     - 1338M 53.2%     -
           [system]  0.08 8.73%     -     -  423M 27.5%     -  728M 29.0%     -
             global  0.12 12.8%     -     -  543M 35.3%     -  453M 18.0%     -
           s10-zone  0.01 1.22%     -     -  146M 9.55%     -  156M 6.22%     -

For a great introdution to zonestat, check out Jeff Victor's blog entries: All New Zonestat!, and All New Zonestat - Part 2.

Thursday Feb 24, 2011

Quick & Dirty NFS

NFS is such as well known topic and so well documented that I hesitate to write about it. However, I find it crucial in my everyday use of Solaris, so I thought I'd at least summarize the quick steps I take to share files, if only for my own future benefit.

NFS stands for Network File System. NFS was invented by Sun years ago and it is the premier way to share files between systems (although Microsoft will argue CIFS / SMB fits that bill).

One thing I find confusing about NFS is that it provides several different utilities for creating and managing shares. This is an artifact of NFS's maturity, as it has been around well before newer file systems like ZFS. NFS is now tightly integrated with ZFS and in this entry I'm only going to focus on how NFS is configured via ZFS.

Managing Network File Systems is the official Solaris documentation on using NFS. However, the ZFS features I'm going to be discussing are found in Sharing and Unsharing ZFS File Systems.

On the Server

The first step is to figure out which file system you want to share. For this exercise I'm going to create a new ZFS file system for the sole purpose of sharing files:

10.0.1.20:~$ sudo zfs create rpool/export/home/bleonard/share
Password: 

I'll also change the ownership and  write permissions of the shared directory so anyone can write to it:

10.0.1.20:~$ sudo chown bleonard:staff share
Password: 
10.0.1.20:~$ sudo chmod 777 share
Password: 

Note, the NFS server is disabled by default:

10.0.1.20:~$ svcs nfs/server
STATE          STIME    FMRI
disabled       Feb_14   svc:/network/nfs/server:default

However, setting the sharenfs property on the ZFS dataset will also start the NFS server:

10.0.1.20:~$ sudo zfs sharenfs=on rpool/export/home/bleonard/share
10.0.1.20:~$ svcs nfs/server
STATE          STIME    FMRI
online          7:38:27 svc:/network/nfs/server:default

At this point the share is ready for use. If you use an existing dataset, it only takes one command to set up.

Another useful utility is the showmount command, which will show the file systems that have been shared:

10.0.1.20:~$ showmount -e
export list for solaris:
/export/home/bleonard/share (everyone)

Note, sharing can also be viewed and managed via the GUI at System > Administration > Shared Folders:


On the Client

These instructions assume a Solaris client. Instructions can be easily found for other clients as well.

You can use the showmount command to list which shares are provided by a particular server:

10.0.1.24:~$ showmount -e 10.0.1.20
export list for 10.0.1.20:
/export/home/bleonard/share (everyone)

My favorite way to access NFS shares is via the automounted /net directory. For example:

10.0.1.24:~$ cd /net/10.0.1.20/export/home/bleonard/share/
10.0.1.24:/net/10.0.1.20/export/home/bleonard/share$ 

And that's all there is to it!

If you want to mount the share to a different location, you do so as follows (I'm using the name share again, but the directory could be anywhere and called anything):

10.0.1.24:~$ mkdir share
10.0.1.24:~$ sudo mount -F nfs 10.0.1.20:/export/home/bleonard/share ~/share
Password:

To make the mount permanent (that is, survive a reboot), there are a couple of options, one of which is adding an entry to the /etc/vfstab file. That process is well documented in How to Mount a File System at Boot Time.

 
  


Monday Feb 14, 2011

Automounted Home Directory

If you're running a fresh installation of Solaris 11 Express (as opposed to an upgrade from OpenSolaris), you'll notice your home directory is now at the more appropriate /home/<username>, instead of /export/home/<username>.

bleonard@solaris:~$ pwd
/home/bleonard

bleonard@solaris:~$ grep bleonard /etc/passwd 
bleonard:x:54324:1::/home/bleonard:/usr/bin/bash

In reality, the data for your home directory still resides at /export/home/<username>, it's just that the directory has been automounted for you at /home/<username>. This is configured in the file /etc/auto_home:

oracle@solaris:~$ cat /etc/auto_home 
#
# <license text removed>
#
# Home directory map for automounter
#
oracle  	localhost:/export/home/&
bleonard	localhost:/export/home/&
+auto_home

A big benefit of automating your home directory is that it now becomes very easy to relocate the location of the storage behind the directory. Say, for example, the rpool, in which the home directory is stored by default, starts running out of space. By changing the automount location, we can relocate our home directory to another disk, or even network attached storage (which would make it accessible from any instance of Solaris).

For this example I'm simply going to relocate my home directory to another disk I have available on the machine.

bleonard@solaris:~$ sudo format < /dev/null
Password: 
Searching for disks...
Failed to inquiry this logical diskFailed to inquiry this logical diskdone


AVAILABLE DISK SELECTIONS:
       0. c7d0 <ئ���Pp�nD����pȅ��ئ���pp�n4"��� cyl 2607 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@1,1/ide@0/cmdk@0,0
       1. c8d0 <ئ���Pp�nD����pȅ��ئ���pp�n4"��� cyl 33416 alt 2 hd 255 sec 63>
          /pci@0,0/pci-ide@1,1/ide@1/cmdk@0,0
Specify disk (enter its number): 

The new disk is c8d0 (I forget the reason why the output is messed up, but it gives me the information I need).

I'll create a new zpool using that disk:

bleonard@solaris:~$ sudo zpool create newpool c8d0
Password:

And then create a new file system for my home directory:

bleonard@solaris:~$ sudo zfs create -p newpool/home/bleonard 

Then copy my current home directory to its new location:

bleonard@solaris:~$ sudo cp -rp /export/home/bleonard /newpool/home 

The next step is to tell the automounter to use the new location as the backing store for my home directory by updating /etc/auto_home as follows:

bleonard@solaris:~$ grep bleonard /etc/auto_home 
bleonard	localhost:/newpool/home/&
 
  

Then reboot to re-establish the home directory at its new location:

bleonard@solaris:~$ sudo reboot
Password:

Now you can delete the old home directory in rpool, freeing up space:

bleonard@solaris:~$ sudo zfs destroy rpool/export/home/bleonard
Password: 

For more information on the automounter, see the Task Overview for Autofs Administration.

Friday Feb 04, 2011

Solaris 11 Express VirtualBox VM

A couple of weeks ago I wrote about the release of the Solaris 10 09/10 VirtualBox VM. Yesterday, a VirtualBox image for Solaris 11 Express was released. Here are the quick steps to get it up and running:
  1. Download the Oracle Solaris 11 Express 2010.11 VM for Oracle VM VirtualBox.

  2. Extract the archive:
    bleonard@solaris:~/Download$ unzip OracleSolaris11Express2010_11_VM.zip 
    Archive:  OracleSolaris11Express2010_11_VM.zip
      inflating: OracleSolaris11Express2010_11.mf  
      inflating: OracleSolaris11Express2010_11.ovf  
      inflating: OracleSolaris11Express2010_11-disk1.vmdk  
      inflating: README.txt     
  3. Start VirtualBox and select File > Import Appliance. Then select the OracleSolaris11Express2010_11.ovf file that was just extracted.

  4. On the Appliance Import Wizard, feel free to bump the RAM from the default of 1024 MB if you have it to spare. I'm setting mine to 1536 MB:



  5. Click Finish and wait a few minutes while the VM is imported:



  6. Start the OracleSolaris11Express2010_11 Virtual Machine. Unlike the Solaris 10 VM, the Solaris 11 Express VM comes pre-configured, so you're immediately able to start using the system. When prompted, enter the username oracle and the password oracle:






    Note, the VirtualBox Guest Additions are pre-installed:
    oracle@solaris:~$ pkginfo -l SUNWvboxguest
       PKGINST:  SUNWvboxguest
          NAME:  Oracle VM VirtualBox Guest Additions
      CATEGORY:  application
          ARCH:  i386
       VERSION:  4.0.0,REV=r69151.2010.12.22.15.21
       BASEDIR:  /
        VENDOR:  Oracle Corporation
          DESC:  Oracle VM VirtualBox Guest Additions for Solaris guests
        PSTAMP:  vboxguest20101222152102_r69151
      INSTDATE:  Jan 10 2011 11:50
       HOTLINE:  Please contact your local service provider
         EMAIL:  info@virtualbox.org
        STATUS:  completely installed
         FILES:       50 installed pathnames
                       3 linked files
                       4 directories
                      19 executables
                   22011 blocks used (approx)
    Also, the hard disk isn't quite as generous as the 64 GB disk that ships with the Solaris 10 VM. Here we only have 20 GB:
    oracle@solaris:~$ zpool list rpool
    NAME    SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
    rpool  19.9G  4.24G  15.6G    21%  1.00x  ONLINE  -
    Finally, it would probably help to know the root password. It's ovsroot.
    oracle@solaris:~$ su 
    Password: ovsroot
    oracle@solaris:~#
    Actually, the user oracle is in the /etc/sudoers file, so you don't really need the root password:
    oracle@solaris:~$ sudo su
    
    We trust you have received the usual lecture from the local System
    Administrator. It usually boils down to these three things:
    
        #1) Respect the privacy of others.
        #2) Think before you type.
        #3) With great power comes great responsibility.
    
    Password: oracle
    root@solaris:/home/oracle# 

About

The Observatory is a blog for users of Oracle Solaris. Tune in here for tips, tricks and more as we explore the Solaris operating system from Oracle.

Search

Categories
Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today