Blog Archive

Monday, September 13, 2010

routes on linux

Turns out that calling ifup on RedHat executes the script /etc/sysconfig/network-scripts/route-ethx, which can have lines in the form

[root@host network-scripts]# cat route-eth3
192.168.101.0/24 via 192.168.100.0

Saturday, September 11, 2010

kerberos

Reading documentation on kerberos for opensolaris.
http://dlc.sun.com/osol/docs/content/2009.06/IMGPACKAGESYS/gentextid-410.html

Seems to mention commands that don't exist on my system. After searching the webs, I realized that I have a package called SUNWkrb but not SUNWkdc. However, attemps to install SUNWkdc would report:

pkg: No matching version of SUNWkdc can be installed:
pkg://opensolaris.org/SUNWkdc@0.5.11,5.11-0.132:20100130T092746Z: This version is excluded by installed incorporation pkg://opensolaris.org/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.134:20100302T010625Z

Finally solved as follows:
# dev is not release. for better or worse, I have a dev image...
650 pkg search -s http://pkg.opensolaris.org/dev kdc | grep 134
652 pkg install pkg:/system/security/kerberos-5@0.5.11-0.134

missing man pages in opensolaris

Installed CollabNet subversion, which modified /etc/profile to include

export MANPATH=/opt/CollabNet_Subversion/share/man:$MANPATH

OpenSolaris's man is smart; it finds manpages all by itself without relying on $MANPATH. Presence of MANPATH turns off this default behavior so you get craziness:

root@ns:/etc/# man ls
No manual entry for ls.

Solution: comment out the line specified above.