SRSS 4.1 on Debian/lenny (stable)
From Sun Ray User Group Wiki
This document will detail my attempts to get SRSS on Debian Stable (lenny).
Contents |
Before You Start
In case you have a different experience than me whilst installing this, I'm not actually using straight Lenny (although it's been pinned to stable so it should work all the same).
First though, change the bash prompt from debian default.
examplehost:~# export PS1='\u@\h:\w\$ ' root@examplehost:~#
root@examplehost:~# echo These installation instructions are current as at `date`. These installation instructions are current as at Sun Jul 12 12:47:50 WST 2009. root@examplehost:~#
Here are the contents of my:
/etc/apt/sources.list
root@examplehost:~# cat /etc/apt/sources.list ### Stable Binaries and Source deb http://ftp.au.debian.org/debian/ stable main contrib non-free deb-src http://ftp.au.debian.org/debian/ stable main contrib non-free ### Stable Security Binaries and Source deb http://security.debian.org/ stable/updates main contrib non-free deb-src http://security.debian.org/ stable/updates main contrib non-free ### Stable Volatile Binaries and Source deb http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free deb-src http://volatile.debian.org/debian-volatile stable/volatile main contrib non-free root@examplehost:~#
/etc/apt/preferences
root@examplehost:~# cat /etc/apt/preferences Package: * Pin: release a=stable,l=debian-security Pin-Priority: 950 Package: * Pin: release a=stable Pin-Priority: 900 Package: * Pin: release a=stable,l=debian-volatile Pin-Priority: 900 root@examplehost:~#
/etc/apt/apt.conf
root@examplehost:~# cat /etc/apt/apt.conf APT::Default-Release "stable"; root@examplehost:~#
Output Of 'apt-cache policy'
root@examplehost:~# apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
990 http://volatile.debian.org stable/volatile/non-free Packages
release o=volatile.debian.org,a=stable,l=debian-volatile,c=non-free
origin volatile.debian.org
990 http://volatile.debian.org stable/volatile/contrib Packages
release o=volatile.debian.org,a=stable,l=debian-volatile,c=contrib
origin volatile.debian.org
990 http://volatile.debian.org stable/volatile/main Packages
release o=volatile.debian.org,a=stable,l=debian-volatile,c=main
origin volatile.debian.org
990 http://security.debian.org stable/updates/non-free Packages
release v=5.0,o=Debian,a=stable,l=Debian-Security,c=non-free
origin security.debian.org
990 http://security.debian.org stable/updates/contrib Packages
release v=5.0,o=Debian,a=stable,l=Debian-Security,c=contrib
origin security.debian.org
990 http://security.debian.org stable/updates/main Packages
release v=5.0,o=Debian,a=stable,l=Debian-Security,c=main
origin security.debian.org
990 http://ftp.au.debian.org stable/non-free Packages
release v=5.0.2,o=Debian,a=stable,l=Debian,c=non-free
origin ftp.au.debian.org
990 http://ftp.au.debian.org stable/contrib Packages
release v=5.0.2,o=Debian,a=stable,l=Debian,c=contrib
origin ftp.au.debian.org
990 http://ftp.au.debian.org stable/main Packages
release v=5.0.2,o=Debian,a=stable,l=Debian,c=main
origin ftp.au.debian.org
Pinned packages:
root@examplehost:~#
Installation
Install Prerequisite Software In Debian
Here is a list of packages you'll need to get the SRSS software installed.
- atftpd - This is probably for Sun Ray firmware deployment.
- alien - Used to convert the RPMs Sun provide in the SRSS download to DEBs
- chkconfig - Some of the RPM post installation scripts automatically assume chkconfig is installed to modify daemon startups.
- devscripts - Unsure why this is required.
- dhcp3-server - Technically you do not need this. Sun provide their own DHCP server as a part of the SRSS install. Additionally, if your network already has ISC dhcpd or Microsoft DHCP Server you can do without Sun's own DHCP server and this part of the install. However this install procedure will install it.
- ed - Was already installed on my system.
- gawk - it's not known why this is needed, but it's handy to have on your system anyway. It's likely that some pre or post install scripts use this.
- gdm - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- iputils-ping - Was already installed on my system.
- ldap-utils - it's not known why this is needed, but it's handy to have on your system anyway.
- libfreetype6 - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- libgdbm3 - Was already installed on my system.
- libldap-2.4-2 - I suspect the SRSS software depends on this being available.
- libsasl2-2 - Was already installed on my system.
- libx11-6 - Was already installed on my system.
- libxt6 - Unsure why this is required.
- module-assistant - Assists in allowing you to compile kernel modules against the current kernel.
- nscd - Used to cache user and group credentials, especially from non-local sources such as LDAP.
- pdksh - Some of the RPMs that provide SRSS use Korn Shell scripts.
- sun-java6-bin - A dependency for sun-java6-jre.
- sun-java6-jdk - A dependency for tomcat5.5.
- sun-java6-jre - Required as a pre-requsuite for the SRSS software. We install it the Debian way rather than downloading it direct from Sun.
- tomcat5.5 - I suspect this runs the Web Management console.
- unzip - Used to uncompress the SRSS 4.1 archive you download from Sun.
- wget - Was already installed on my system.
- xfonts-100dpi - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- xfonts-75dpi - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- xfonts-base - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- xfonts-cyrillic - Likely this is requried to provide Sun Ray's with a Desktop user experience.
- xkb-data-legacy - Required for a few of the SRSS packages.
- zlib1g - Was already installed on my system.
The sun-java6-* packages are only available if you include non-free in your /etc/apt/sources.list file.
Now install the packages:
root@examplehost:~# apt-get install atftpd alien chkconfig devscripts \ dhcp3-server ed gawk gdm iputils-ping ldap-utils libfreetype6 \ libgdbm3 libldap-2.4-2 libsasl2-2 libx11-6 libxt6 module-assistant \ nscd pdksh sun-java6-bin sun-java6-jdk sun-java6-jre tomcat5.5 unzip \ xfonts-100dpi xfonts-75dpi xfonts-base xfonts-cyrillic \ xkb-data-legacy zlib1g ... [output never written down] ... root@examplehost:~#
Check Your Java Version
N.B. GNU Java was intially installed when I was at this step, and I forgot to write down the correct procedure when I fixed this. So I'm going on memory for what I did here. Your Milage May Vary (YMMV).
We need to find out what version of Java we are running. If you, or a package dependency, has installed the GNU Java JRE then it will have priority over the Sun JRE. We don't want this.
Check what version of Java you are using:
root@examplehost:~# java -version
If the output has any reference to GNU, gcj or does not have Java(TM) in it, you probably aren't using the correct version of Java.
Your option here is to uninstall all the incorrect versions, or modify Debian defaults for which JRE is used (hint: /etc/alternative/java)
I opted to remove the other versions.
From memory I uninstalled all versions of Java (sun-java6-*, sun-java5-*, gcj-* and default-jre*), then reinstalled the required sun-java6-* packages:
root@examplehost:~# apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk ... [output never written down] ... root@examplehost:~# which java /usr/bin/java root@examplehost:~# ls -la /usr/bin/java lrwxrwxrwx 1 root root 22 2009-07-12 11:13 /usr/bin/java -> /etc/alternatives/java root@examplehost:~# ls -la /etc/alternatives/java lrwxrwxrwx 1 root root 36 2009-07-12 11:30 /etc/alternatives/java -> /usr/lib/jvm/java-6-sun/jre/bin/java root@examplehost:~# java -version java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)
It's important to note that this is a Client VM installation, which is recommended by Sun in the SRSS 4.1 Installation and Configuration Guide documentation over a Server VM.
If you do not have the Client VM, read the Sun Sun Ray(TM) Server Software 4.1 Installation and Configuration Guide for Linux for why a Client VM is necessary.
Download The Sun Ray Server Software 4 10/08 Suite
I have no instructions for this. I downloaded it from sun.com as at the date of writing this, but you might be getting it from a CD.
In any case, upload the following files to the target server "examplehost" in /root using your favourite method (ftp/scp/nfs/cifs):
- srss_4.1_linux.zip
- srwc_2.1_linux.zip
- SunDesktopMgr-1.0.1.zip
Uncompress The SRSS in /root:
root@examplehost:~# unzip srss_4.1_linux.zip Archive: srss_4.1_linux.zip creating: srss_4.1/ creating: srss_4.1/.install/ inflating: srss_4.1/.install/admin_default inflating: srss_4.1/Copyright inflating: srss_4.1/FR_Copyright creating: srss_4.1/Legal/ ... [output has been truncated for readability] ... inflating: srss_4.1/Service_Tags_1.0/Solaris_10+/i386/Packages/SUNWutsvt/reloc/var/svc/manifest/application/utsvtreg.xml creating: srss_4.1/Service_Tags_1.0/Linux/ creating: srss_4.1/Service_Tags_1.0/Linux/Packages/ inflating: srss_4.1/Service_Tags_1.0/Linux/Packages/SUNWutsvt-1.0-10.i386.rpm root@examplehost:~#
Convert The 32bit *.rpm Packages Supplied In SRSS To *.deb Packages
First, enter the newly created /root/srss_4.1 directory:
root@examplehost:~# cd srss_4.1 root@examplehost:~/srss_4.1#
I had problems running the utinstall script directly, even with the Red Hat Package Manager installed on Debian. So I took a leaf out of the previous guide for installing SRSS on etch, and converted them using alien(1):
root@examplehost:~/srss_4.1# find . -name SUNW*i386.rpm | xargs alien -d --scripts sunwutdso_3.1-4_i386.deb generated sunwutdsr_3.1-4_i386.deb generated sunwutm_4.1-51_i386.deb generated sunwutfw_4.1-51_i386.deb generated sunwutwar_4.1-51_i386.deb generated sunwutgsm_4.1-51_i386.deb generated ... [output has been truncated for readability] ... sunwkiom_4.1-51_i386.deb generated sunwkio-libs_4.1-51_i386.deb generated sunwkio_4.1-51_i386.deb generated sunwjkio_4.1-5_i386.deb generated root@examplehost:~/srss_4.1#
Install The SRSS
Now install the Sun Ray Server Software deb files:
root@examplehost:~/srss_4.1# dpkg -i sunw*deb Selecting previously deselected package sunwckio. (Reading database ... 60352 files and directories currently installed.) Unpacking sunwckio (from sunwckio_4.1-5_i386.deb) ... Selecting previously deselected package sunwcuta. Unpacking sunwcuta (from sunwcuta_4.1-5_i386.deb) ... Selecting previously deselected package sunwcuto. Unpacking sunwcuto (from sunwcuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwcutwa. Unpacking sunwcutwa (from sunwcutwa_4.1-5_i386.deb) ... Selecting previously deselected package sunwcutwh. Unpacking sunwcutwh (from sunwcutwh_4.1-5_i386.deb) ... Selecting previously deselected package sunwcutwl. Unpacking sunwcutwl (from sunwcutwl_4.1-51_i386.deb) ... Selecting previously deselected package sunwdkio. Unpacking sunwdkio (from sunwdkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwduto. Unpacking sunwduto (from sunwduto_4.1-5_i386.deb) ... Selecting previously deselected package sunwekio. Unpacking sunwekio (from sunwekio_4.1-5_i386.deb) ... Selecting previously deselected package sunweuto. Unpacking sunweuto (from sunweuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwfkio. Unpacking sunwfkio (from sunwfkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwfuta. Unpacking sunwfuta (from sunwfuta_4.1-5_i386.deb) ... Selecting previously deselected package sunwfuto. Unpacking sunwfuto (from sunwfuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwfutwa. Unpacking sunwfutwa (from sunwfutwa_4.1-5_i386.deb) ... Selecting previously deselected package sunwfutwh. Unpacking sunwfutwh (from sunwfutwh_4.1-5_i386.deb) ... Selecting previously deselected package sunwfutwl. Unpacking sunwfutwl (from sunwfutwl_4.1-51_i386.deb) ... Selecting previously deselected package sunwhkio. Unpacking sunwhkio (from sunwhkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwhuto. Unpacking sunwhuto (from sunwhuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwikio. Unpacking sunwikio (from sunwikio_4.1-5_i386.deb) ... Selecting previously deselected package sunwiuto. Unpacking sunwiuto (from sunwiuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwjkio. Unpacking sunwjkio (from sunwjkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwjuta. Unpacking sunwjuta (from sunwjuta_4.1-5_i386.deb) ... Selecting previously deselected package sunwjuto. Unpacking sunwjuto (from sunwjuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwjutwa. Unpacking sunwjutwa (from sunwjutwa_4.1-5_i386.deb) ... Selecting previously deselected package sunwjutwh. Unpacking sunwjutwh (from sunwjutwh_4.1-5_i386.deb) ... Selecting previously deselected package sunwjutwl. Unpacking sunwjutwl (from sunwjutwl_4.1-51_i386.deb) ... Selecting previously deselected package sunwkio. Unpacking sunwkio (from sunwkio_4.1-51_i386.deb) ... Selecting previously deselected package sunwkio-libs. Unpacking sunwkio-libs (from sunwkio-libs_4.1-51_i386.deb) ... Selecting previously deselected package sunwkiom. Unpacking sunwkiom (from sunwkiom_4.1-51_i386.deb) ... Selecting previously deselected package sunwkior. Unpacking sunwkior (from sunwkior_4.1-51_i386.deb) ... Selecting previously deselected package sunwkkio. Unpacking sunwkkio (from sunwkkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwkuto. Unpacking sunwkuto (from sunwkuto_4.1-5_i386.deb) ... Selecting previously deselected package sunwlibusbut. Unpacking sunwlibusbut (from sunwlibusbut_4.1-51_i386.deb) ... Selecting previously deselected package sunwpkio. Unpacking sunwpkio (from sunwpkio_4.1-5_i386.deb) ... Selecting previously deselected package sunwputo. Unpacking sunwputo (from sunwputo_4.1-5_i386.deb) ... Selecting previously deselected package sunwuta. Unpacking sunwuta (from sunwuta_4.1-51_i386.deb) ... Selecting previously deselected package sunwutdsk. Unpacking sunwutdsk (from sunwutdsk_4.1-51_i386.deb) ... Selecting previously deselected package sunwutdso. Unpacking sunwutdso (from sunwutdso_3.1-4_i386.deb) ... Selecting previously deselected package sunwutdsr. Unpacking sunwutdsr (from sunwutdsr_3.1-4_i386.deb) ... Selecting previously deselected package sunwutfw. Unpacking sunwutfw (from sunwutfw_4.1-51_i386.deb) ... Selecting previously deselected package sunwutgsm. Unpacking sunwutgsm (from sunwutgsm_4.1-51_i386.deb) ... Selecting previously deselected package sunwuti. Unpacking sunwuti (from sunwuti_4.1-51_i386.deb) ... Selecting previously deselected package sunwutio. Unpacking sunwutio (from sunwutio_4.1-51_i386.deb) ... Selecting previously deselected package sunwutkau. Unpacking sunwutkau (from sunwutkau_4.1-51_i386.deb) ... Selecting previously deselected package sunwutm. Unpacking sunwutm (from sunwutm_4.1-51_i386.deb) ... Selecting previously deselected package sunwuto. Unpacking sunwuto (from sunwuto_4.1-51_i386.deb) ... Selecting previously deselected package sunwutps. Unpacking sunwutps (from sunwutps_4.1-51_i386.deb) ... Selecting previously deselected package sunwutr. Unpacking sunwutr (from sunwutr_4.1-51_i386.deb) ... Selecting previously deselected package sunwutref. Unpacking sunwutref (from sunwutref_4.1-51_i386.deb) ... Selecting previously deselected package sunwutsto. Unpacking sunwutsto (from sunwutsto_4.1-51_i386.deb) ... Selecting previously deselected package sunwutstr. Unpacking sunwutstr (from sunwutstr_4.1-51_i386.deb) ... Unpacking sunwutstr (from sunwutstr_4.1-51_i386.deb) ... Selecting previously deselected package sunwutsvt. Unpacking sunwutsvt (from sunwutsvt_1.0-11_i386.deb) ... Selecting previously deselected package sunwutu. Unpacking sunwutu (from sunwutu_4.1-51_i386.deb) ... Selecting previously deselected package sunwutwa. Unpacking sunwutwa (from sunwutwa_4.1-51_i386.deb) ... Selecting previously deselected package sunwutwar. Unpacking sunwutwar (from sunwutwar_4.1-51_i386.deb) ... Selecting previously deselected package sunwutwh. Unpacking sunwutwh (from sunwutwh_4.1-51_i386.deb) ... Selecting previously deselected package sunwutwl. Unpacking sunwutwl (from sunwutwl_4.1-51_i386.deb) ... Setting up sunwckio (4.1-5) ... Setting up sunwcuta (4.1-5) ... Setting up sunwcuto (4.1-5) ... Setting up sunwcutwa (4.1-5) ... Setting up sunwcutwh (4.1-5) ... Setting up sunwcutwl (4.1-51) ... Setting up sunwdkio (4.1-5) ... Setting up sunwduto (4.1-5) ... Setting up sunwekio (4.1-5) ... Setting up sunweuto (4.1-5) ... Setting up sunwfkio (4.1-5) ... Setting up sunwfuta (4.1-5) ... Setting up sunwfuto (4.1-5) ... Setting up sunwfutwa (4.1-5) ... Setting up sunwfutwh (4.1-5) ... Setting up sunwfutwl (4.1-51) ... Setting up sunwhkio (4.1-5) ... Setting up sunwhuto (4.1-5) ... Setting up sunwikio (4.1-5) ... Setting up sunwiuto (4.1-5) ... Setting up sunwjkio (4.1-5) ... Setting up sunwjuta (4.1-5) ... Setting up sunwjuto (4.1-5) ... Setting up sunwjutwa (4.1-5) ... Setting up sunwjutwh (4.1-5) ... Setting up sunwjutwl (4.1-51) ... Setting up sunwkio (4.1-51) ... Setting up sunwkio-libs (4.1-51) ... Setting up sunwkiom (4.1-51) ... Setting up sunwkior (4.1-51) ... Setting up sunwkkio (4.1-5) ... Setting up sunwkuto (4.1-5) ... Setting up sunwlibusbut (4.1-51) ... Setting up sunwpkio (4.1-5) ... Setting up sunwputo (4.1-5) ... Setting up sunwuta (4.1-51) ... Setting up sunwutdsk (4.1-51) ... +++ Making and installing Sun Ray Mass Storage modules ... rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/SUNWut/utdisk modules make: *** /lib/modules/2.6.26-2-686/build: No such file or directory. Stop. make: *** [default] Error 2 +++ Done. Setting up sunwutdso (3.1-4) ... Setting up sunwutdsr (3.1-4) ... insserv: Service utsyscfg has to be enabled to start service utds insserv: exiting now! /sbin/insserv failed, exit code 1 Setting up sunwutfw (4.1-51) ... Setting up sunwutgsm (4.1-51) ... Setting up sunwuti (4.1-51) ... Setting up sunwutio (4.1-51) ... +++ Making and installing Sun Ray UTIO module ... rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/SUNWut/utio modules make: *** /lib/modules/2.6.26-2-686/build: No such file or directory. Stop. make: *** [default] Error 2 +++ Done. Setting up sunwutkau (4.1-51) ... +++ Making and installing Sun Ray Audio module ... rm -rf .tmp_versions *.cmd *.ko *.o *.mod.c .*.cmd make -C /lib/modules/2.6.26-2-686/build SUBDIRS=/usr/src/SUNWut/utadem modules make: *** /lib/modules/2.6.26-2-686/build: No such file or directory. Stop. make: *** [default] Error 2 +++ Done. Setting up sunwutm (4.1-51) ... Setting up sunwuto (4.1-51) ... Setting up sunwutps (4.1-51) ... Setting up sunwutr (4.1-51) ... Cannot determine GDM install directory insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty). insserv: Service xdm has to be enabled to start service utacleanup insserv: exiting now! /sbin/insserv failed, exit code 1 dpkg: error processing sunwutr (--install): subprocess post-installation script returned error exit status 1 Setting up sunwutref (4.1-51) ... Setting up sunwutsto (4.1-51) ... Setting up sunwutstr (4.1-51) ... insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty). Setting up sunwutsvt (1.0-11) ... insserv: warning: script 'utsvtreg' missing LSB tags and overrides insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountroot' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountfs' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0) of script `halt' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh' overwrites defaults (empty). insserv: warning: current start runlevel(s) (0 6) of script `sendsigs' overwrites defaults (empty). Setting up sunwutu (4.1-51) ... Setting up sunwutwa (4.1-51) ... Setting up sunwutwar (4.1-51) ... insserv: warning: script 'K01utsvtreg' missing LSB tags and overrides insserv: Service utsvc has to be enabled to start service utwadmin insserv: Service utds has to be enabled to start service utwadmin insserv: exiting now! /sbin/insserv failed, exit code 1 Setting up sunwutwh (4.1-51) ... Setting up sunwutwl (4.1-51) ... Errors were encountered while processing: sunwutr root@examplehost:~/srss_4.1#
As you can see, it doesn't go all smoothly.
Clean Up After The SRSS Installation
Link The Sun JRE In To SRSS Config Directory
Make available a link from the Sun Java Runtime Environment to the SRSS configuration directory:
root@examplehost:~/srss_4.1# ln -s /usr/lib/jvm/java-6-sun/jre /etc/opt/SUNWut
Apply The Following Patches
These patches modify Sun code that is dependant on Red Hat configuration file locations for dhcpd.conf, as well as specific syntaxual differences between Red Hat tail(1) and Debian tail(1). They also make a change to sort(1) syntax, as well as a modification to the path of gdmgreeter(1)
First download the patches:
Then upload them to "examplehost" in whatever path you feel is appropriate (I've put them in /root).
Now, apply the patches as follows:
root@examplehost:~/srss_4.1# cd /opt root@examplehost:/opt# patch -p0 < /root/Patch-SUNWut41b.txt patching file SUNWut/bin/utset patching file SUNWut/lib/dhcp/isc/dhcp_config_linux patching file SUNWut/lib/dhcp/isc/utdhcpservice patching file SUNWut/lib/iu_modules/M08GDM patching file SUNWut/lib/iu_modules/M10SunDS patching file SUNWut/lib/iu_modules/M40AuthMgr patching file SUNWut/lib/support_lib/iu_lib Hunk #1 succeeded at 200 (offset 17 lines). patching file SUNWut/lib/support_lib/sras_config patching file SUNWut/lib/support_lib/upgrade_lib patching file SUNWut/lib/utadmingid patching file SUNWut/lib/utctl.d/features/utcompatlinksctl Hunk #1 succeeded at 130 (offset 2 lines). patching file SUNWut/lib/utctl.d/features/utcronctl patching file SUNWut/lib/utctl.d/features/utgdmconfigctl Hunk #1 FAILED at 206. 1 out of 1 hunk FAILED -- saving rejects to file SUNWut/lib/utctl.d/features/utgdmconfigctl.rej patching file SUNWut/lib/utdmsession patching file SUNWut/lib/utdtsession patching file SUNWut/lib/utprodinfo patching file SUNWut/lib/utwebadmin Hunk #1 succeeded at 100 (offset -1 lines). patching file SUNWut/lib/utxsun patching file SUNWut/lib/xmgr/gdm/add-dpy patching file SUNWut/lib/xmgr/gdm/notify Hunk #1 FAILED at 10. 1 out of 1 hunk FAILED -- saving rejects to file SUNWut/lib/xmgr/gdm/notify.rej patching file SUNWut/lib/xmgr/gdm/remove-dpy Hunk #1 FAILED at 37. 1 out of 1 hunk FAILED -- saving rejects to file SUNWut/lib/xmgr/gdm/remove-dpy.rej patching file SUNWut/lib/xmgr/gdm/reset-dpy Hunk #1 FAILED at 11. 1 out of 1 hunk FAILED -- saving rejects to file SUNWut/lib/xmgr/gdm/reset-dpy.rej patching file SUNWut/sbin/utadm patching file SUNWut/sbin/utconfig Hunk #1 succeeded at 240 (offset 95 lines). Hunk #2 succeeded at 260 (offset 96 lines). patching file SUNWut/sbin/utfwadm patching file SUNWut/sbin/utinstall Hunk #1 succeeded at 241 (offset 9 lines). patching file SUNWut/sbin/utreplica Hunk #2 succeeded at 1136 (offset 5 lines). Hunk #3 succeeded at 1175 (offset 5 lines). root@examplehost:/opt# patch -p0 < /root/Patch-SUNWutref.txt patching file SUNWutref/amgh/utamghref_allkeys_script patching file SUNWutref/amgh/utamghref_script root@examplehost:/opt# patch -p0 < /root/Patch-SUNWkio.txt patching file SUNWkio/bin/kioskconfig patching file SUNWkio/lib/gdm/kioskgreeter root@examplehost:/opt# cd - root@examplehost:~/srss_4.1#
As you can see, some of the hunks from /root/Patch-SUNWut41b.txt fail. I'm currently checking to see if there is any impact for not having applied these hunks. Certainly, hunk 206 fails because the code is completely different now.
Fix 'Red Hat'isms In dhcpd
First, zero Debian's default dhcpd.conf, just so the utadmin script adds DHCP entries cleanly:
root@examplehost:~/srss_4.1# mv /etc/dhcp3/dhcpd.conf /etc/dhcp3/dhcpd.conf.debian.default root@examplehost:~/srss_4.1# touch /etc/dhcp3/dhcpd.conf
Now create a symbolic link from Red Hat's dhcpd.conf location to Debian's:
root@examplehost:~/srss_4.1# ln -s /etc/dhcp3/dhcpd.conf /etc/dhcpd.conf
Work in progress, I am still completing these steps on 2009/07/13. Reload for further progress.

