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
=== modified file 'debian/changelog'
--- debian/changelog 2012-03-30 08:44:35 +0000
+++ debian/changelog 2012-04-09 15:33:31 +0000
@@ -1,3 +1,13 @@
1cups (1.5.2-9ubuntu1) precise; urgency=low
2
3 * Don't wait on udevtrigger before starting cups; the only reason this
4 is here is to let '/lib/udev/udev-configure-printer enumerate' work, but
5 if cups does start before we've cold-plugged everything, the udev rule
6 will call '/lib/udev/udev-configure-printer add' for each device it
7 discovers anyway, so this is redundant.
8
9 -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 09 Apr 2012 08:24:48 -0700
10
1cups (1.5.2-9) unstable; urgency=low11cups (1.5.2-9) unstable; urgency=low
212
3 [ Till Kamppeter ]13 [ Till Kamppeter ]
414
=== modified file 'debian/control'
--- debian/control 2012-03-30 08:44:35 +0000
+++ debian/control 2012-04-09 15:33:31 +0000
@@ -2,7 +2,8 @@
2Standards-Version: 3.9.32Standards-Version: 3.9.3
3Priority: optional3Priority: optional
4Section: net4Section: net
5Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>5Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
6XSBC-Original-Maintainer: Debian CUPS Maintainers <pkg-cups-devel@lists.alioth.debian.org>
6Uploaders: 7Uploaders:
7 Masayuki Hatta (mhatta) <mhatta@debian.org>,8 Masayuki Hatta (mhatta) <mhatta@debian.org>,
8 Till Kamppeter <till.kamppeter@gmail.com>,9 Till Kamppeter <till.kamppeter@gmail.com>,
910
=== modified file 'debian/local/cups.upstart'
--- debian/local/cups.upstart 2011-09-21 08:04:56 +0000
+++ debian/local/cups.upstart 2012-04-09 15:33:31 +0000
@@ -4,8 +4,7 @@
4author "Michael Sweet <msweet@apple.com>"4author "Michael Sweet <msweet@apple.com>"
55
6start on (filesystem6start on (filesystem
7 and (started dbus or runlevel [2345])7 and (started dbus or runlevel [2345]))
8 and stopped udevtrigger)
9stop on runlevel [016]8stop on runlevel [016]
109
11respawn10respawn

Subscribers

People subscribed via source and target branches