Thanks for pushing this, James. It would be good to have the "mongo" binary available and working as well, also under that juju-specific namespace. This is the console client, and will be useful to connect to the local juju database when debugging issues.
On Thu, Nov 28, 2013 at 11:46 AM, James Page <[email protected]> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Hi Folks > > I've started working on the new, stripped down, juju specific MongoDB > package that we have been discussing over the last few weeks. > > I'm proposing a package structure like this: > > ./usr/lib/juju/bin/mongos > ./usr/lib/juju/bin/mongod > > No users will be created; its just the binaries; upstart and general > system configuration such as creating users will be the responsibility > of juju. > > The mongod and mongos binaries will be provided in a juju namespaced > location to avoid conflicting with the standard mongodb package; v8 > will be linked statically using the embedded copy of v8 in the mongodb > source code - this avoids exposing v8 generally in main and allows the > security team to manage mongodb/v8 in the context of its use with > juju, rather than in more broad general use. > > The plan is that we will apply for a minor release exception for this > package, and that if need be we can update to a new major release (2.6 > for example) at some point in the future without impacting the rest of > the distro by bumping the standard mongodb package. > > The total compressed package size is about 7MB - expanding to about > 23MB on disk. > > I still need todo some work on getting the embedded v8 copy to build > for armhf (MongoDB upstream strip this out) - arm64 has been discussed > but that's going to need some work upstream to enable v8 for this > architecture. > > Other bugs pertinent MongoDB/juju usage would include: > > https://bugs.launchpad.net/juju-core/+bug/1208430 > > I'm pretty sure that running mongodb not as root will be part of the > security team signoff on the MIR review. > > Cheers > > James > > - -- > James Page > Technical Lead > Ubuntu Server Team > [email protected] > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.15 (GNU/Linux) > Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ > > iQIcBAEBCAAGBQJSl0lPAAoJEL/srsug59jDwrkQAKQuDJsm5I8YPeIwzTv+4/Gd > mcIQHcPer3EHaMB9/4zjWg8EoNuU0dj52PCjEEbI6zBZek1VqqxYLbsLxdzoo6x1 > SAVulHOCG/oVcjL/XVQ7EYTodZrXOEAYKlAOOxI2pj9ea6XoQVI3i4SsZdMCNUyr > +CBUKrxH8YPcM3mXIyJBw0qbiHFLJQsywC1gZnsLTomox2Ob+eIk+n/CH2d0tMv3 > DyD5c5GAypnHzmrsiteJuPu01OqMaYsiltRWaFFEzuV7C8eIVW4uRFowC+xX8a0i > UZ6FTUri4l9F4OahoJdVyjTofgQuis6pa/uKQWp7AUA+40JB/uMKApNV1xJ1772c > 8YXVYNVYEc9r+x/LzuqFyHt1BEdqYgDt4ZG7mYR0AwW4p4eK7wAFRElH8JPVdEQ9 > 9iDFV/FFFCcWdVKRKSUuDCdv3bCNnEOLZU2qD0db9IPUNfGGeedkrSJAXGxBiCkg > 9OBxp4xylrbU4gw9tJDmicctIXG6N+n/XMlsDj5FkWqmGAq3HqdXw6VCPJ48X7+m > ZHnXoQniR0eoh021xxFmb+f4eTG6U9YY8oyefMERLliVD/a26qQ6VQDa0M1mJig1 > OQzbJoaXbuJulew7B+sFI0ltMtx6CVhtyXobKATEKMrzs5GcqT15B7+K5W0Uisca > Wp2ySVEZGOc3Sv3fobBC > =XBGC > -----END PGP SIGNATURE----- > > -- > Juju-dev mailing list > [email protected] > Modify settings or unsubscribe at: > https://lists.ubuntu.com/mailman/listinfo/juju-dev -- gustavo @ http://niemeyer.net -- Juju-dev mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev
