Launching xulrunner affects boot time
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| desktopcouch |
High
|
Elliot Murphy | ||
| bindwood (Ubuntu) |
Undecided
|
Unassigned | ||
| Karmic |
Undecided
|
Unassigned | ||
| couchdb (Ubuntu) |
High
|
Chad Miller | ||
| Karmic |
High
|
Chad Miller | ||
| desktopcouch (Ubuntu) |
High
|
Ken VanDine | ||
| Karmic |
High
|
Ken VanDine |
Bug Description
Because of bug #421422 currently couchdb launches xulrunner on boot, which affects boot time. Since the packaging fix won't be available for karmic there needs to be a way to figure out how to make couch not affect the boot time for karmic. (See attached bootchart)
Related branches
- Martin Pitt: Abstain on 2009-09-11
- Registry Administrators: Pending requested 2009-09-11
- Diff: None lines
- dobey (community): Disapprove on 2009-09-18
- Diff: None lines
- Alexander Sack (community): Approve on 2009-09-28
-
Diff: 2764 lines15 files modified.bzr-builddeb/default.conf (+0/-4)
COPYING.BSD (+26/-0)
config_build.sh (+1/-1)
content/browserOverlay.xul (+2/-0)
content/couch.js (+130/-47)
content/oauth.js (+515/-0)
content/sha1.js (+202/-0)
content/sync.js (+672/-371)
couchdb_env.sh (+8/-4)
debian/changelog (+0/-6)
debian/compat (+0/-1)
debian/control (+0/-22)
debian/copyright (+0/-43)
debian/rules (+0/-8)
install.rdf (+1/-1)
Jorge Castro (jorge) wrote : | #1 |
Changed in desktopcouch: | |
importance: | Undecided → High |
tags: | added: ubuntuone-karmic |
Changed in desktopcouch: | |
assignee: | nobody → Elliot Murphy (statik) |
tags: | added: desktop+ |
Changed in desktopcouch: | |
status: | New → Triaged |
Changed in couchdb (Ubuntu): | |
assignee: | nobody → Elliot Murphy (statik) |
status: | New → In Progress |
Changed in desktopcouch: | |
status: | Triaged → Confirmed |
Changed in couchdb (Ubuntu Karmic): | |
importance: | Undecided → High |
milestone: | none → karmic-alpha-6 |
Elliot Murphy (statik) wrote : | #2 |
Elliot Murphy (statik) wrote : | #3 |
The proposed fixed was rejected with good rationale after discussion both in ubuntu and upstream. I'm working on a new fix that moves everything that was in the couchdb package into the couchb-bin package, and puts only the init script in the couchdb package, and then desktopcouch can depend on couchdb-bin.
Daniel Holbach (dholbach) wrote : | #4 |
Ok, I'll unsubscribe the sponsors team until then! Thanks a lot Elliot!
tags: | added: ubuntu-boot |
Changed in couchdb (Ubuntu Karmic): | |
assignee: | Elliot Murphy (statik) → Chad Miller (cmiller) |
Elliot Murphy (statik) wrote : | #5 |
Elliot Murphy (statik) wrote : | #6 |
Elliot Murphy (statik) wrote : | #7 |
Elliot Murphy (statik) wrote : | #8 |
chad is finishing up the diff for couchdb that goes along with these other three changes. chef-server and chef-slice were deliberately not changed, they should still depend on couchdb rather than couchdb-bin.
Chad Miller (cmiller) wrote : | #9 |
Steve Langasek (vorlon) wrote : | #10 |
A few tweaks needed to the package:
- couchdb-bin needs to replace the previous couchdb package, for smooth upgrades
- /etc/default/
- ${couchdb-
I've made these three adjustments to the package and am uploading now; thanks for preparing this.
Going forward, I think all the other contents in /var and /etc should also be moved to the couchdb package, since they're only relevant to the system couchdb instance - other users making use of the binaries aren't going to be able to write to these directories, so what's the point of including them without the init script? In particular, having users' individual couchdb instances reading their configuration from /etc/couchdb/, a directory *writable* by the system couchdb user, seems like it would be a potential security problem, so I can't see any reason to want these files without having the full couchdb package installed.
Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package couchdb - 0.10.0~
---------------
couchdb (0.10.0~
* Split couchdb into couchdb (to hold only the init) and couchdb-bin
(to hold everything else). (LP: #427036)
-- Chad Miller <email address hidden> Wed, 16 Sep 2009 14:12:56 -0400
Changed in couchdb (Ubuntu Karmic): | |
status: | In Progress → Fix Released |
Martin Pitt (pitti) wrote : | #12 |
Thanks, Chad! I NEWed the package, so it will be in the archive in 1.5 hours.
Now desktopcouch needs to update its dependency to -bin.
Changed in desktopcouch (Ubuntu Karmic): | |
assignee: | nobody → Ken VanDine (ken-vandine) |
importance: | Undecided → High |
milestone: | none → ubuntu-9.10-beta |
status: | New → Triaged |
Martin Pitt (pitti) wrote : | #13 |
I agree to Steve's concerns about /var/ and /etc/, as I also said on the merge proposal. But they can be moved back later.
Changed in desktopcouch (Ubuntu Karmic): | |
status: | Triaged → Fix Committed |
Changed in bindwood (Ubuntu Karmic): | |
status: | New → Fix Committed |
Launchpad Janitor (janitor) wrote : | #14 |
This bug was fixed in the package desktopcouch - 0.3.1-0ubuntu2
---------------
desktopcouch (0.3.1-0ubuntu2) karmic; urgency=low
* Depend on couchdb-bin instead of couchdb (LP: #427036)
-- Elliot Murphy <email address hidden> Wed, 16 Sep 2009 17:32:51 -0400
Changed in desktopcouch (Ubuntu Karmic): | |
status: | Fix Committed → Fix Released |
Martin Pitt (pitti) wrote : | #15 |
Both debdiffs uploaded, thanks! Please commit to your branches.
Launchpad Janitor (janitor) wrote : | #16 |
This bug was fixed in the package bindwood - 0.2~~rev9-0ubuntu2
---------------
bindwood (0.2~~rev9-
* Depend on couchdb-bin instead of couchdb (LP: #427036)
-- Elliot Murphy <email address hidden> Wed, 16 Sep 2009 17:25:46 -0400
Changed in bindwood (Ubuntu Karmic): | |
status: | Fix Committed → Fix Released |
Changed in couchdb (Ubuntu Karmic): | |
status: | Fix Released → In Progress |
status: | In Progress → Fix Released |
Changed in desktopcouch: | |
status: | Confirmed → Fix Released |
This has been fixed, https:/ /code.edge. launchpad. net/~statik/ ubuntu/ karmic/ couchdb/ fix-bug427036/ +merge/ 11543