#dev | Logs for 2016-09-26

« return
[07:17:47] -!- crutchy [crutchy!~crutchy@709-27-2-01.cust.aussiebb.net] has joined #dev
[11:38:32] -!- malloc_free [malloc_free!~malloc_fr@203.86.ish.hwu] has joined #dev
[11:38:52] <malloc_free> folding info on index please
[11:39:41] <malloc_free> one day perhaps... if we have the correct Rick on it
[11:43:20] <TheMightyBuzzard> what?
[11:43:48] <crutchy> a slashbox advertising the SN folding team
[11:44:04] <TheMightyBuzzard> oh you want F@H stats on the main page or did you just want how to sign up?
[11:44:23] <TheMightyBuzzard> crutchy, look at the site news box
[11:44:25] <crutchy> not sure. maybe the links
[11:44:27] <crutchy> http://fah-web.stanford.edu
[11:44:28] <aqu4>  ^ "3Team 230319's contributions to Folding@home"
[11:45:05] <TheMightyBuzzard> soon as sirfinkus gets us a wiki page i'll link to that instead
[11:45:20] <crutchy> hmm yeah i dunno what info malloc_free is after then
[11:45:24] <crutchy> maybe stats
[11:45:44] <crutchy> exec periodically spews out a rank in #folding
[11:46:14] <crutchy> last i seen we're about ranked 417 or thereabouts
[11:47:37] -!- crutchy has quit [Quit: Leaving]
[13:36:13] <TheMightyBuzzard> mecctro, your changes left the Makefile in an unsuitable state for already installed instances of rehash. "stamp/append-apache-config" needs to come out.
[13:38:18] <TheMightyBuzzard> gotta remember `make SLASH_PREFIX=/srv/soylentnews.org/rehash USER=slash GROUP=slash install` is how we update a running system
[13:38:42] <TheMightyBuzzard> for changeable values of those variables, of course
[13:39:56] <TheMightyBuzzard> also, it wouldn't have worked for a different version of apache than what the makefile wants to install
[14:41:21] -!- mecctro_ [mecctro_!~mecctro@vnh-521-051-94-94.neo.res.rr.com] has joined #dev
[14:43:51] -!- mecctro has quit [Ping timeout: 244 seconds]
[15:31:54] -!- mecctro_ has quit [Ping timeout: 244 seconds]
[15:50:06] -!- mecctro [mecctro!~mecctro@vnh-521-051-94-94.neo.res.rr.com] has joined #dev
[16:17:14] <malloc_free> nah just some fluff on the folding team, so people can actually join in. Team number etc
[16:22:01] -!- malloc_free has quit [Ping timeout: 244 seconds]
[16:22:06] -!- m_free [m_free!~malloc_fr@203.86.ish.hwu] has joined #dev
[16:28:11] -!- m_free has quit []
[17:07:15] -!- malloc_free [malloc_free!~malloc_fr@203.86.ish.hwu] has joined #dev
[17:07:51] -!- malloc_free [malloc_free!~malloc_fr@203.86.ish.hwu] has parted #dev
[19:16:23] <mecctro> TheMightyBuzzard "stamp/append-apache-config" should not be in build-env (where it originally was), or it appends on build, and install. In a single step this doesn't matter as much aka: make * install (though is ALWAYS appends on a build-environment call). There really should call for make * update, otherwise if it's a first install, it bombs.
[19:17:16] <mecctro> Basically, if you use make install and you're blowing away the compile for apache each time, the append won
[19:17:38] <mecctro> won't* break the apache config, as there is no slash append yet, being a fresh install
[19:19:24] <mecctro> also, having some interweb / power issues, so ignore my absenteeism.
[19:22:01] <TheMightyBuzzard> install runs every time we upgrade the site though
[19:22:51] <TheMightyBuzzard> so yeah, we really need an update call but we don't currently have one
[19:23:40] <mecctro> That's my fault, I should have asked about that for dev.
[19:23:52] <mecctro> I didn't realize it was dependant on install.
[19:24:31] <TheMightyBuzzard> hrm... could throw an if and a grep in there i guess
[19:26:16] <mecctro> I mean, should an update re-grab all source to latest version & install, or it should simply update whatever source has been included by the Makefile?
[19:26:50] <mecctro> (well, latest required dep version)
[19:27:07] <TheMightyBuzzard> absolutely should not update apache/perl/etc
[19:27:36] <TheMightyBuzzard> but then install doesn't do that now
[19:28:46] <mecctro> What happens with "stamp/append*" now with an existing environment that breaks?
[19:29:10] <mecctro> nvm, it rewrites on every call to install
[19:29:15] <TheMightyBuzzard> yup
[19:29:16] <mecctro> aka, multiple appends
[19:29:24] <TheMightyBuzzard> plus it gets the wrong path
[19:29:31] <TheMightyBuzzard> and borks right there
[19:30:43] <mecctro> wrong path, or the config doesn't exist to append yet?
[19:32:22] <mecctro> What I mean is, if it were "
[19:32:22] <mecctro> install: slash pluginsandtagboxes stamp/append-apache-config" instead of trying to append apache config first, would that solve the issue?
[19:32:43] <mecctro> (path-wise)
[19:33:22] <TheMightyBuzzard> wrong path
[19:33:52] <TheMightyBuzzard> tries to install to /opt/blah instead of the var set on the command line
[19:36:19] <mecctro> When you typically install with that SLASH_PREFIX, where is the normal output location?
[19:37:42] <TheMightyBuzzard> dunno offhand, what's it trying to append? soylent-mainpage.conf?
[19:37:45] <mecctro> What I mean is, does it take it directly, or it still stuffs everything in /opt/rehash-environment/$(SLASH_PREFIX)
[19:38:17] <TheMightyBuzzard> it ignores SLASH_PREFIX entirely
[19:38:27] <mecctro> It's trying to append http.conf for all of apache, it's basically the apache "hooke" for all of slashd
[19:38:35] <mecctro> weird
[19:38:36] <mecctro> ENVIRONMENT_PREFIX=/opt/rehash-environment
[19:38:36] <mecctro> SLASH_PREFIX = $(ENVIRONMENT_PREFIX)/rehash
[19:38:46] <mecctro> so it's probably overriding that
[19:42:29] <mecctro> or it's bombing on install because apache isn't built yet
[19:42:40] <mecctro> so the path doesn't exist.
[19:45:11] <mecctro> alright, well, I'll check against your default make install command, and add in an update script, if that's suitable for dev.* purposes?
[19:45:22] <mecctro> update step*
[19:46:05] <mecctro> although, I'm still a bit confused as to how dbix worked with install that way, unless it simply ignored it or continued building.
[19:46:48] <mecctro> I hate to ask, but do you have an example of the whole dev.* update process?
[19:49:52] <TheMightyBuzzard> hang on, phone
[19:53:37] <TheMightyBuzzard> sorry bout that. roomie likes to yack.
[19:57:02] <TheMightyBuzzard> mecctro, https://dev.soylentnews.org is a shell script we run from whatever local git repo we want to update from
[19:57:02] <aqu4> No title found.
[19:58:17] <TheMightyBuzzard> it's not in the repo though. just a handy admin script that we've never included on github.
[19:59:41] <TheMightyBuzzard> my guess is something in the stamp/whatzit is using ENVIRONMENT_PREFIX rather than SLASH_PREFIX
[20:00:30] <TheMightyBuzzard> so that may need to be set in deploy-rehash as well
[21:05:30] <mecctro> yea, the apache append is using the environment_prefix, thanks for the link (big-help)
[21:06:04] <mecctro> Gawdamn internet gestapo (ISP) are fucking with my mojo
[21:29:16] <mecctro> ok
[21:29:22] <mecctro> I think I know why this is breaking on path now
[21:29:39] <mecctro> so, it updates, but httpd no-longer exists in the build-env
[21:29:45] <mecctro> only apache
[21:30:04] <mecctro> aka, because of the naming conventions changing with the new apache repository
[21:30:26] <mecctro> it's named "apache-2.2.29" from trunk, not "httpd-2.2.29"
[21:31:02] <mecctro> so, you guys (I assume) don't have it in that location
[21:33:11] <mecctro> basically, /opt/rehash-environment/apache-2.2.29 doesn't exist
[21:33:26] <mecctro> and the install doesn't know any better because it already stamped it as httpd
[21:33:46] <mecctro> well, built and stamped
[21:34:56] <mecctro> so you could rename httpd-* to apache-*, but it might have references to the apxs being in a different location and fail.
[21:36:00] -!- Tachyon [Tachyon!~Tachyon@hollhb.kolej.mff.cuni.cz] has joined #dev
[21:36:50] <mecctro> The easiest way would probably be to delete the rehash/stamp/apache-built, and rebuild the apache portion.
[21:37:06] <mecctro> well, and delete any apache compiled stuffs in the rehash-env
[21:38:28] <mecctro> Theoretically nothing would need changed for your previous updates to work propeperly, except that apache-append (like you said, a check for existance before append, or the addition of an update stage)
[21:42:13] <mecctro> a simple if grep would probably be easiest temporarily, and it probably shouldn't write blindly regardless.
[22:45:49] <mecctro> honestly, if you just want it up right this second: ln -s /opt/rehash-environment/apache-2.2.29 /opt/rehash-environment/httpd-2.2.29
[22:46:04] <mecctro> but that's really not a solution
[22:47:20] <mecctro> well, or whichever name is there already symlink to the missing reference.
[22:48:29] <mecctro> I made some small changes in the perl branch that deal with this, but they're not exactly pretty.