Opened 12 years ago
Closed 12 years ago
#24 closed (fixed)
how can site admins find the Emulab, FreeBSD base, and package source code used to install their system?
Reported by: | chaos@bbn.com | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | IG-MON-1 |
Component: | Monitoring | Version: | SPIRAL4 |
Keywords: | Cc: | ||
Dependencies: |
Description
There is a rack requirement that site admins be able to figure out where the software installed on their rack came from. In looking at boss.utah.geniracks.net (performing IG-MON-1 step 1), i was able to track down most things, but have the following three caveats in terms of tracking system binaries back to source code:
- Since Emulab system binaries are installed by a
make install
type process, the easiest way to verify where they came from (that i can think of) is to md5 the binary and compare it to a binary in an.../obj
tree whose corresponding.../src
tree is known. On boss right now, that tree seems to be/users/stoller/testbed/{src,obj}
. So that works well, but i had to make a guess about where the tree was likely to be. Are you planning a standard location for the{src,obj}
from which each rack's Emulab software will be installed, or will it vary? - If the OS base install had been upgraded, i could do the same thing for verifying FreeBSD base system software by looking in
/usr/{src,obj}
. However, right now, boss has a FreeBSD base install, so there is no base software in/usr/obj
. Does FreeBSD provide a standard solution for this, or do they assume that anyone who cares what version they're running has recompiled their base and thus has something in/usr/obj
? Any thoughts? - Some software on the system comes from FreeBSD packages, which i believe are created by Utah. Is the source/patches/etc used to create those packages available somewhere?
Note: See
TracTickets for help on using
tickets.
Answers courtesy of Leigh:
/usr/ports
tree on boss contains the right versions for all the packages i needed to look up (including the Emulab-specificemulab-tftp-hpa
andpubsub
(which is calledemulab-pubsub
by ports).