
bharder at methodlogic
Apr 20, 2008, 10:48 AM
Post #6 of 17
(808 views)
Permalink
|
On Sun, Apr 20, 2008 at 10:29:17AM -0700, David E. Wheeler wrote: > On Apr 18, 2008, at 19:26, Brian Smith wrote: > > >Here's a few to get started with... > > > >The only outstanding issue is that mysql.sql has a SET GLOBAL in > >line 31 > >after make dist and some CREATE TRIGGERs; that won't work as user, but > >everything else does. If I temporarily grant SUPER, it'll work. > > So is that possible? We do need to have those settings in place for > all use of Bricolage. If they can just be limited to the Bricolage > database itself, rather than global, then that's fine. > > >All the Postgres stuff works in userspace after patching. All patches > >are from trunk as of an hour ago. > > > >patch1.diff - just adds /usr/lib/httpd to the initial Apache module > >check, which is where Apache modules reside on our servers (and I > >think > >on Gentoo in general). > > Crimony, I can't tell you how I hate that every fucking distribution > keeps shit in different places. If this is overrideable via an ENV variable, that'd be excellent. > >patch2.diff - adds the BRICOLAGE_ROOT / PREFIX tie-in that I mentioned > >in my previous e-mail. > > > >patch3.diff - does all the database modifications necessary for make > >install to work in userspace: > >* adds an extra question in the DB prober to ask if the installer > >should create the database and database user; > >* modifies the DB loaders so that they only load the data, not create > >the databases, if create_db is 0; and > >* skips the DB grant process entirely if create_db is 0 > > Thanks. I'll take a look at these tomorrow, most likely. > > >(This is the ugliest piece of what I've done here, and I'm still not > >convinced it's the best way to do it. It works, but there may be > >better > >ways to go.) > > I'll take a look. The whole installer is ugly, though, so I can't say > I'm surprised. > > >patch4.diff - makes 'make uninstall' work by warning the user, if > >they're not root, that it won't be able to drop the database (and thus > >just uninstalls the files). > > Well, can't the user drop the database if they don't have system root, > but do have database root access? Is the latter what you meant? > > >With this -- aside from that SUPER thing -- make dist, make, make > >install, and make uninstall all work. I still need to play with make > >upgrade and make clone, which I plan to tackle this weekend or early > >next week. > > Awesome, thanks! "SUPER thing"? > > Best, > > David > -- Brad Harder, Method Digital Logic http://www.methodlogic.net
|