Merge lp:~vorlon/ubuntu/precise/cups/udevtrigger-optimization into lp:ubuntu/precise/cups

Proposed by Steve Langasek
Status: Needs review
Proposed branch: lp:~vorlon/ubuntu/precise/cups/udevtrigger-optimization
Merge into: lp:ubuntu/precise/cups
Diff against target: 45 lines (+13/-3)
3 files modified
debian/changelog (+10/-0)
debian/control (+2/-1)
debian/local/cups.upstart (+1/-2)
To merge this branch: bzr merge lp:~vorlon/ubuntu/precise/cups/udevtrigger-optimization
Reviewer Review Type Date Requested Status
Martin Pitt Approve
Till Kamppeter Pending
Review via email: mp+100897@code.launchpad.net

Description of the change

Hi guys, could I ask you to review this proposed change to the cups upstart
job before I land it, and check my reasoning (given in the changelog)?

I'm reasonably sure that we don't need to wait for udevtrigger, but would
like a second opinion before I push such a change at this point in the
cycle.

The reason I'm looking at this is because the udevtrigger upstart job has
regressed a bit this cycle performance-wise, now using a script where before
it was a simple exec; to fix that while making cups container-compatible, we
need to either drop the reference to udevtrigger in cups, or add an 'or
container'.

To post a comment you must log in.
Revision history for this message
Martin Pitt (pitti) wrote :

LGTM, thanks! I committed that to the Debian packaging bzr, so we can sync the next time again. But feel free to upload this in the meantime.

review: Approve
98. By Steve Langasek

run update-maintainer

99. By Steve Langasek

releasing version 1.5.2-9ubuntu1

Unmerged revisions

99. By Steve Langasek

releasing version 1.5.2-9ubuntu1

98. By Steve Langasek

run update-maintainer

97. By Steve Langasek

Don't wait on udevtrigger before starting cups; the only reason this
is here is to let '/lib/udev/udev-configure-printer enumerate' work, but
if cups does start before we've cold-plugged everything, the udev rule
will call '/lib/udev/udev-configure-printer add' for each device it
discovers anyway, so this is redundant.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2012-03-30 08:44:35 +0000
3+++ debian/changelog 2012-04-09 15:33:31 +0000
4@@ -1,3 +1,13 @@
5+cups (1.5.2-9ubuntu1) precise; urgency=low
6+
7+ * Don't wait on udevtrigger before starting cups; the only reason this
8+ is here is to let '/lib/udev/udev-configure-printer enumerate' work, but
9+ if cups does start before we've cold-plugged everything, the udev rule
10+ will call '/lib/udev/udev-configure-printer add' for each device it
11+ discovers anyway, so this is redundant.
12+
13+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 09 Apr 2012 08:24:48 -0700
14+
15 cups (1.5.2-9) unstable; urgency=low
16
17 [ Till Kamppeter ]
18
19=== modified file 'debian/control'
20--- debian/control 2012-03-30 08:44:35 +0000
21+++ debian/control 2012-04-09 15:33:31 +0000
22@@ -2,7 +2,8 @@
23 Standards-Version: 3.9.3
24 Priority: optional
25 Section: net
26-Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
27+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
28+XSBC-Original-Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
29 Uploaders:
30 Masayuki Hatta (mhatta) <mhatta@debian.org>,
31 Till Kamppeter <till.kamppeter@gmail.com>,
32
33=== modified file 'debian/local/cups.upstart'
34--- debian/local/cups.upstart 2011-09-21 08:04:56 +0000
35+++ debian/local/cups.upstart 2012-04-09 15:33:31 +0000
36@@ -4,8 +4,7 @@
37 author "Michael Sweet <msweet@apple.com>"
38
39 start on (filesystem
40- and (started dbus or runlevel [2345])
41- and stopped udevtrigger)
42+ and (started dbus or runlevel [2345]))
43 stop on runlevel [016]
44
45 respawn

Subscribers

People subscribed via source and target branches