Customized software

From UGCS
(Difference between revisions)
Jump to: navigation, search
(postfix)
 
(6 intermediate revisions by one user not shown)
Line 2: Line 2:
  
 
=Current software=
 
=Current software=
 +
 
==postfix==
 
==postfix==
Postfix requires a patch to work nicely with AFS. (Do you have the patch, Liz?)
+
Postfix requires a patch to work nicely with AFS.
 +
The patch can be found in /afs/.ugcs/user/elizabeth/build/postfix/postfix-2.4.3/debian/patches/30afs.dpatch
  
 
Responsible sysadmin: Liz
 
Responsible sysadmin: Liz
 +
 +
=Custom stuff on netboot machines=
 +
==Kernel/bootup sequence==
 +
The kernel requires several patches to work nicely with aufs.  These patches are mostly pretty small, but change from kernel-to-kernel.  Googling and looking through the aufs cvs will help a lot.  When compiling a new kernel, make sure to read *all* of the aufs docs to find the required patches.
 +
* lhash patch
 +
* put_filp patch
 +
* sec_perm patch
 +
 +
Additionally, when I was compiling aufs, it did not believe that it had NFS branch support.  There are some lines in aufs.h that determine if it defines AuNoNfsBrach- comment out the part where it defines it and it will work.
 +
 +
The current (2.6.24ugcs1) kernel also has a one-line patch to fix the vmsplice bug.
 +
 +
There is a lot of custom stuff in /etc/initramfs/ that gets the login machines booting nicely.
 +
 +
==e1000==
 +
The core2's need Intel's e1000 network drivers.  You can find them on Intel's site.  After you get clio booted, you can use clio to compile and install these modules so the core2's will boot.
 +
  
 
==matlab==
 
==matlab==
Matlab R2007b is installed to /opt/matlabR2007b on the netboot images.  In /usr/local/bin, matlab, mbuild, mcc, and mex are symlinked to a wrapper script (matlab_wrapper) which prints a message letting users know the license requirements (being a current member of the Caltech community, basicaly) before running the appropriate program.
+
Matlab R2007b is installed to /opt/matlabR2007b on the netboot images.  In /usr/local/bin, matlab, mbuild, mcc, and mex are symlinked to a wrapper script (matlab_wrapper) which prints a message letting users know the license requirements (being a current member of the Caltech community) before running the appropriate program.
  
 
Responsible sysadmin: Joshua
 
Responsible sysadmin: Joshua
 +
 +
==Job posting script==
 +
The job posting script is in /usr/local/bin/ugcs-jobs.  It finds all the files in the drop dir (/afs/ugcs/drop/jobs) newer than ~/.lastlogin, and shows them.  It is run through /etc/profile, /etc/zsh/zlogin, or /etc/csh/login.d/ (for the appropriate shell).  User documentation is at [[Website:Job_Posting]]
 +
 +
Responsible sysadmin: Joshua
 +
 +
==mail_forward==
 +
Sets up mail forwarding for users.  It is a python script in /usr/local/bin/mail_forward
 +
 +
Responsible sysadmin: Liz/Joshua
  
 
=Software no longer installed=
 
=Software no longer installed=
Line 17: Line 46:
  
 
Found at http://freshmeat.net/projects/pam_script/
 
Found at http://freshmeat.net/projects/pam_script/
 +
 +
 +
[[Category:Sysadmin_Documentation]]

Latest revision as of 21:52, 2 May 2009

Please list anything that isn't from normal Debian repositories here.

Contents

Current software

postfix

Postfix requires a patch to work nicely with AFS. The patch can be found in /afs/.ugcs/user/elizabeth/build/postfix/postfix-2.4.3/debian/patches/30afs.dpatch

Responsible sysadmin: Liz

Custom stuff on netboot machines

Kernel/bootup sequence

The kernel requires several patches to work nicely with aufs. These patches are mostly pretty small, but change from kernel-to-kernel. Googling and looking through the aufs cvs will help a lot. When compiling a new kernel, make sure to read *all* of the aufs docs to find the required patches.

  • lhash patch
  • put_filp patch
  • sec_perm patch

Additionally, when I was compiling aufs, it did not believe that it had NFS branch support. There are some lines in aufs.h that determine if it defines AuNoNfsBrach- comment out the part where it defines it and it will work.

The current (2.6.24ugcs1) kernel also has a one-line patch to fix the vmsplice bug.

There is a lot of custom stuff in /etc/initramfs/ that gets the login machines booting nicely.

e1000

The core2's need Intel's e1000 network drivers. You can find them on Intel's site. After you get clio booted, you can use clio to compile and install these modules so the core2's will boot.


matlab

Matlab R2007b is installed to /opt/matlabR2007b on the netboot images. In /usr/local/bin, matlab, mbuild, mcc, and mex are symlinked to a wrapper script (matlab_wrapper) which prints a message letting users know the license requirements (being a current member of the Caltech community) before running the appropriate program.

Responsible sysadmin: Joshua

Job posting script

The job posting script is in /usr/local/bin/ugcs-jobs. It finds all the files in the drop dir (/afs/ugcs/drop/jobs) newer than ~/.lastlogin, and shows them. It is run through /etc/profile, /etc/zsh/zlogin, or /etc/csh/login.d/ (for the appropriate shell). User documentation is at Website:Job_Posting

Responsible sysadmin: Joshua

mail_forward

Sets up mail forwarding for users. It is a python script in /usr/local/bin/mail_forward

Responsible sysadmin: Liz/Joshua

Software no longer installed

libpam-script

This package provides a pam module for running scripts on login/logoff. It was going to be used to do the job posting script, and possibly other things (provide helpful messages when a user is blocked by pam_access?).

Found at http://freshmeat.net/projects/pam_script/

Personal tools