Changes between Version 1 and Version 2 of SettingUpABuildServer


Ignore:
Timestamp:
10/24/12 16:44:26 (12 years ago)
Author:
jdreed
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SettingUpABuildServer

    v1 v2  
    44     volume group.  The build chroots consume 4GB each. 
    55 
     6As of Oct 2012, we're using Precise, and we should prefer an Ubuntu LTS to Debian testing or unstable or experimental, per Ops' preferences. 
     7 
    68  2. Install debathena-login as per the the instructions in 
    79     http://debathena.mit.edu/install. 
    810 
     11 
     12 
     13add the apt-key (though 
    914  3. apt-key add 
    1015     /afs/sipb.mit.edu/project/debathena/apt/debathena-archive-keyring.asc 
    1116 
     17For maximum paranoia, run apt-key export on the old build server and then apt-key add on the new one. 
     18 
    1219  4. Install the packages listed in scripts/build-server/packages 
    1320     (using "aptitude install"). 
     21 
     22Or apt-get install, until aptitude becomes less stupid about Multiarch support. 
    1423 
    1524     Note that currently the build system uses the latest version of 
     
    1928     Debian experimental. 
    2029 
     30Also, WTF, why are these not part of debathena-build-depends or debathena-debian-dev or whatever? 
     31 
    2132  5. Install the aufs-modules-2.6-amd64 package. 
     33 
     34No, we now use overlayfs.  Also, both overlayfs and aufs are in the standard kernel packages. 
     35 
    2236 
    2337  6. Append to /etc/approx/approx.conf the contents of 
     
    2539     Run: /etc/init.d/approx restart 
    2640 
     41Nope, approx is now run from inetd.  Restart that instead 
     42 
    2743  7. Apply scripts/build-server/mount-defaults.patch and 
     44 
     45No, just add the AFS line: 
     46 
     47/afs            /afs            none    rw,bind         0       0 
     48 
    2849     scripts/build-server/pam-schroot.patch. 
     50Unneeded, schroot ships with the correct pam config. 
     51 
     52Ensure that schroot's pam-config is sane (Specifically, that it includes the usual pam 
     53stack, e.g. 
     54@include common-auth 
     55@include common-account 
     56@include common-session 
     57 
     58 
     59TODO: Deal with the /run mess once that's finalized. 
     60 
    2961 
    3062  8. For each supported DIST (see scripts/debian-versions.sh) run: