[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2017-09-11 Thread Bug Watch Updater
** Changed in: couchdb (Debian) Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifica

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-28 Thread Launchpad Bug Tracker
This bug was fixed in the package couchdb - 1.6.0-0ubuntu5.1 --- couchdb (1.6.0-0ubuntu5.1) vivid; urgency=medium * Add debian/couchdb.service to start system-wide CouchDB instance via systemd (LP: #1457464) * debian/rules: call dh --with systemd * debian/control: Add `dh-sy

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-16 Thread Jason Gerard DeRose
Everything checks out for me. Testing I did: 1) Installed couchdb 1.6.0-0ubuntu5, enabled proposed, made sure there were no issue upgrading to 1.6.0-0ubuntu5.1 and that couchdb was actually running after the upgrade 2) Made sure `apt-get remove/purge couchdb` works without issue, stops couchdb pr

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-15 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/vivid-proposed/couchdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifications about this

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-15 Thread Chris J Arges
Hello Christian, or anyone else affected, Accepted couchdb into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/couchdb/1.6.0-0ubuntu5.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-13 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/couchdb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifications about this bug go to: htt

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-12 Thread Launchpad Bug Tracker
This bug was fixed in the package couchdb - 1.6.0-0ubuntu6 --- couchdb (1.6.0-0ubuntu6) wily; urgency=medium * Add debian/couchdb.service to start system-wide CouchDB instance via systemd (LP: #1457464) * debian/rules: call dh --with systemd * debian/control: Add `dh-systemd

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-12 Thread Martin Pitt
Sponsored vivid update to SRU review queue. ** Changed in: couchdb (Ubuntu Vivid) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to s

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-12 Thread Martin Pitt
** Changed in: couchdb (Ubuntu Wily) Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manag

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-10 Thread Jason Gerard DeRose
Now that things have been sorted out for Wily (pending sponsorship still), I'd like to get this fixed in Vivid also, assuming this is an SRU-able change. Here's my merge proposal for Vivid: https://code.launchpad.net/~jderose/ubuntu/vivid/couchdb/fix-1457464/+merge/264437 ** Branch linked: lp:~jd

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-08 Thread Bug Watch Updater
** Changed in: couchdb (Debian) Status: Unknown => New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifications

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-08 Thread Martin Pitt
Replied on the MP. After this lands, please forward the debdiff to the Debian bug as well. Thanks! ** Bug watch added: Debian Bug tracker #723726 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723726 ** Also affects: couchdb (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=72

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-08 Thread Jason Gerard DeRose
Martin, thanks for explaining Wants=/After=network-online.target. I couldn't seem to get couchdb to *not* start based on what I was doing with network-manager. I tried unchecking "Enable Networking" in the indicator and rebooting, couchdb still started. I also tried rebooting when networking was e

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-08 Thread Martin Pitt
It's ok to have Wants=/After=network-online.target, just that couchdb might start very late in the boot. In some cases, like you *only* use NetworkManager and aren't online, it will *never* happen though, and couchdb won't run at all. That's presumably not a big use case for servers with remotely a

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-08 Thread Jason Gerard DeRose
Martin, Thanks for your recommendations! Much cleaner now. So do you think I just totally drop Wants=/After=network-online.target? My rational for this is if (for whatever reason) someone wanted to bind CouchDB to a specific IP, say on a server with multiple NICs for internal and external traff

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Martin Pitt
Of course, if you have a proper systemd unit that's always better. But some suggestions: > [Unit] > Description=the system-wide CouchDB instance Please drop the "the" and start with a capital letter for some consistency. > After=network-online.target Is that really necessary? I. e. couchdb does

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Martin Pitt
Sticking this into /lib/systemd/system/couchdb.service and "sudo systemctl enable couchdb" seems to work: $ systemctl status -l couchdb ● couchdb.service - System-wide CouchDB instance Loaded: loaded (/lib/systemd/system/couchdb.service; enabled; vendor preset: enabled) Active: active (run

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Jason Gerard DeRose
Martin, do you have any thoughts on this? I got the impression you added the upstream SysV init script back as a quick stop-gap... but do you see any reason we shouldn't start CouchDB via debian/couchdb.service instead? -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Jason Gerard DeRose
** Branch linked: lp:~jderose/ubuntu/wily/couchdb/fix-1457464 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifications

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Jason Gerard DeRose
Making decent progress, this is my current debian/couchdb.service: [Unit] Description=the system-wide CouchDB instance After=network-online.target [Service] Type=simple ExecStartPre=/bin/mkdir -p /run/couchdb ExecStartPre=/bin/chown couchdb:couchdb /run/couchdb ExecStart=/bin/su couchdb -c /usr/b

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Jason Gerard DeRose
I didn't have a chance to keep up with the systemd transition for CouchDB in Vivid, but I'm working on getting this fixed properly for Wily. I've long had subtle problems with the upstream SysV init script (especially when it comes to getting `apt-get purge couchdb` to work correctly), and this wa

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-07 Thread Jason Gerard DeRose
Er, I meant "and X, of course"... obviously we want couchdb in good shape for the next LTS :) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade t

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-07-06 Thread Christian Lins
The hint of Tobias worked for me, but I had to reown the database files in /var/lib/couchdb to "couchdb" that I have created running CouchDB as root. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/14574

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-06-29 Thread Tobias Lausch
Reowning was not the problem since /etc/init.d/couchdb does this by default if any user variable is set. note that there is no default config file /etc/default/couchdb in this case neither stdout nor user variables are given and couchdb assumes stdout = /couchdb.log and stderr = /couchdb.err I ad

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-06-23 Thread Miguel Rubio-Roy
Removing the inclusion of /lib/lsb/init-functions in /etc/init.d/couchdb solved the problem for me. But make sure that everything is owned by couchdb: chown -R couchdb /var/log/couchdb chown -R couchdb /var/run/couchdb chown -R couchdb /var/lib/couchdb chown -R couchdb /etc/couchdb -- You recei

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-06-06 Thread Dylan McCall
I see that the package creates a couchdb system user, and it appears the init script is correctly running Couch as that user. So, when I do `sudo -u couchdb couchdb`, I can see /var/run/couchdb is incorrectly owned by root: $ sudo -u couchdb couchdb Apache CouchDB 1.6.0 (LogLevel=info) is

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-06-06 Thread Alberto Salvia Novella
** Changed in: couchdb (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: Init fails to start CouchDB after upgrade to Vivid To manage notifica

[Bug 1457464] Re: Init fails to start CouchDB after upgrade to Vivid

2015-06-04 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: couchdb (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1457464 Title: In