Okay, I'm attempting this again, this time with CouchDB 1.2.0 aiming for Quantal.
I'm not sure what the best practice is here: should I update this bug title, or work from a new bug? I filed a new bug, but I'll mark it as a duplicate if needed: https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1022515 There are test packages available for Precise and Quantal in ppa:novacut/daily: https://launchpad.net/~novacut/+archive/daily And here's the packaging branch I'm working in: https://code.launchpad.net/~jderose/ubuntu/quantal/couchdb/1.2.0-low- delta As far as the core CouchDB app, I've had all the Novacut components running their unit tests against this 1.2.0 package, on both Quantal and Precise, with no test failures. So I feel that everything delivered in the `couchdb-bin` binary package is solid. Where I have less confidence is the /etc/init.d/couchdb script, as the (CouchDB) upstream version is rather badly behaved, at least on Ubuntu. So I really need help further testing the `couchdb` binary package. The upstream init.d script doesn't work when /var/run is on a tmpfs, but I patched it so that after /var/run/couchdb is created, a chown is done so it's owned by the "couchdb" user. Without this patch, the init.d script is totally broken. The remaining, strange issue is for some reason you can't stop the daemon after the package install... but if you reboot, then it works. For example, this doesn't work: sudo apt-get install couchdb sudo /etc/init.d/couchdb stop But this does work: sudo apt-get install couchdb <reboot> sudo /etc/init.d/couchdb stop The same issue exists in the current Ubuntu 1.0.1 package: https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/1024924 For reference, here's my current 1.2.0 changelog: couchdb (1.2.0-1ubuntu1) quantal; urgency=low * Started with branch of 1.2.0-1 from Debian unstable * Split into `couchdb-bin` and `couchdb` binary packages as found in Ubuntu, with goal of keeping delta between Debian and Ubuntu as low as possible * Changes from how the split is done in Ubuntu: - /etc/couchdb/default.ini and /etc/couchdb/default.d are delivered in the `couchdb-bin` package and are owned by root - /etc/couchdb/local.ini and /etc/couchdb/local.d are delivered in the `couchdb` package and are owned by the "couchdb" user - The `couchdb-bin` package does not create nor require the "couchdb" user (this is now done in the `couchdb` package instead) * Changes from Debian: - After couchdb.postinst runs, only /etc/couchdb/local.ini and /etc/couchdb/local.d are owned by the "couchdb" user, while the rest of /etc/couchdb remains owned by root - Patched /etc/init.d/couchdb so /var/run/couchdb is owned by the "couchdb" user, needed for the init.d script to actually work (var-run.patch) - Added a short sleep delay in couchdb.postrm so couchdb is more likely to have actually terminated by the time we `deluser couchdb`, which is needed for `sudo apt-get purge couchdb` to work when couchdb is running - Added couchdb-bin.postinst to fix permissions in /etc/couchdb after upgrading from the Ubuntu couchdb 1.0.1 package (this is Ubuntu-specific) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/903098 Title: Please merge (sort of) couchdb 1.1.1-1 from Debian testing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/couchdb/+bug/903098/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs