lp:~herton/ubuntu/quantal/udev/bug-1017715
- Get this branch:
- bzr branch lp:~herton/ubuntu/quantal/udev/bug-1017715
Branch merges
- Ubuntu branches: Pending requested
-
Diff: 202 lines (+64/-36)3 files modifieddebian/changelog (+8/-0)
debian/patches/avoid-exit-deadlock-for-dm_cookie.patch (+45/-30)
udev/udevd.c (+11/-6)
Related bugs
Bug #1017715: Serialization problem of udev events with DM_COOKIE set | Medium | Fix Released |
Related blueprints
Branch information
- Owner:
- Herton R. Krzesinski
- Status:
- Development
Recent revisions
- 218. By Herton R. Krzesinski
-
Refresh debian/
patches/ avoid-exit- deadlock- for-dm_ cookie. patch:
avoid serialization issues in handling of events with DM_COOKIE
set (LP: #1017715). - 217. By Steve Langasek
-
debian/
udev.udevtrigge r.upstart: only start on 'not-container', not on
'container', so that we don't have to needlessly execute a shell here
in the container case. We're guaranteed not to deadlock boot because
each of the 'startup', 'started udev', and 'container' events will be
seen once and only once on a boot. - 216. By Martin Pitt
-
* debian/rules, debian/
udev.install: Add --with- systemdsystemun itdir and
install the systemd files, to not make the boot fall over completely with
systemd.
* Add service-sbindir. patch: Fix executable path in .service file. (Already
fixed upstream) - 215. By Martin Pitt
-
* builtin-
block-polling. patch: Fix default attribute comparison for CD
drives, the default value of events_poll_msecs is -1, not 0. This really
makes in-kernel polling work for those.
* builtin-block-polling. patch: Apply to all drives with removable media, not
just CD drives. (LP: #948663)
* 00git-keymaps.patch: Update to the latest keymaps from upstream:
- Dell XPS (LP: #910911)
- HP Presario CQ60 (LP: #935804)
* debian/rules: Drop prep and tarball targets. We want to use the upstream
released tarballs.
* debian/rules: Use dh_autoreconf. Add build dependency. - 214. By Kees Cook
-
Add debian/
patches/ avoid-exit- deadlock- for-dm_ cookie. patch,
debian/libudev0. symbols: do not exit across a pending DM_COOKIE
event to avoid vgchange deadlocks, thanks to Herton R. Krzesinski
(LP: #802626). - 213. By Stéphane Graber
-
[ David Henningsson ]
* Remove jack-detection.patch: Now that PulseAudio uses the new jack
detection interface, we can remove this patch.[ Stéphane Graber ]
* debian/udev.udevtrigge r.upstart: Update to wait for 'container' or
'not-container' to be emitted, then skip just exit 0 but still run
post-stop if it's a container and run 'udevadm trigger' if it's not.
This is needed until we have a proper device namespace preventing
udev events from affecting the outside.
(LP: #925122)
* Make udev depend on upstart >= 1.4-0ubuntu6 to ensure the next reboot
will indeed either emit container or not-container. - 212. By Martin Pitt
-
* Add builtin-
block-polling. patch: Set default polling interval on CD drives
as well. The events_dfl_poll_ msecs will not trigger if "block" is not a
module, but built in. This will avoid udisks etc. having to poll from
userspace, and provide proper ejection when the hardware eject button is
pressed. (LP: #890592)
* Add 00git-keymaps.patch: Backport keymaps from current git master.
(LP: #901513, #902332, #902798, #914838, #922405)
* Add 00git-persistent-net-xen. patch: 75-persistent- net-generator. rules: Add
Xen. (LP: #897789) - 211. By Steve Langasek
-
[ Andy Whitcroft ]
* debian/udev.initramfs- bottom: ignore timeout errors from udevadm we
expect (and indeed requested) in certain failure modes. If we do not we
will bail out early and not transfer /dev into /root which is always
fatal leading to unbootable machines. (LP: #818177)
* avoid-exit-deadlock- for-timely- events: avoid deadlock when exiting
by continuing to handle events with timeliness requirements.
The timeliness requirement will be violated if we ignore them which
is highly undesirable. Also these events are typically dependant
events and may well block the events we are waiting on leading to
boot delays and uninitialised devices. (LP: #842560)
* debian/udev.initramfs- bottom: increase the client-side timeout to
better cope with potential timeout extension issues in udev. We very
much would prefer udev to time itself out and guarantee to have
completed than take action ourselves. Very worst case the timeout may
be doubled from the default of 60s so increase ours accordingly. Note,
we should only ever trip this timeout when we are already in severe
trouble. (LP: #818177) - 210. By Martin Pitt
-
* debian/
udev.postinst: Ignore failures of "udevadm --convert-db". This
option does not exist any more in Ubuntu 11.10 and later, so for upgrades
from 10.04 LTS to 12.04 LTS you need to reboot. This doesn't really hurt,
as there are already two dozen other reasons to reboot after upgrade.
(LP: #887892)
* Partially revert r2735 and move the daemon back to /sbin/, to better
comply with FHS.
* debian/udev.postinst: Use invoke-rc.d to restart udev instead of
"restart", to pick up new daemon path. (LP: #889226) - 209. By Martin Pitt
-
[ Loïc Minier ]
* Update Vcs fields for precise.[ Steve Langasek ]
* debian/udev.initramfs- hook: we aren't using pkill anymore, so don't put
it in the initramfs.[ Martin Pitt ]
* Unapply patches, they are not meant to be applied in the bzr branch.
* New upstream releases 174 and 175:
- Daemon moved to /lib/udev/udevd
- path_id, usb_id, input_id tools are built-in commands now
- fusectl filesystem is no longer mounted directly from udev
- The long deprecated keys: SYSFS=, ID=, BUS= have been removed
- The udev control socket is now created in /run/udev/control
- The rules to create persistent network interface and cdrom link
rules automatically in /etc/udev/rules.d/ have been disabled by
default.
- Support for 'udevadm trigger --type=failed, and the
RUN{fail_event_ on_error} attribute was removed.
- Various keymap fixes (LP: #606599, #637695, #696671, #763525, #770680,
LP: #795694)
- Unbreak findkeyboards (LP: #881158)
- Lots of bug fixes.
* debian/rules: Explicitly enable persistent net/cdrom rule generator by
default. Upstream default changed, but this seems too much a change for
12.04 LTS.
* Drop move-input_id-to-default- rules.patch, race-condition- on-exit: Applied
upstream.
* jack-detection.patch: Port to new upstream version.
* load-fbcon.patch, use_run_tmpfs: Unfuzz.
* debian/udev.install, debian/ udev-udeb. install, debian/ udev.initramfs- hook,
debian/udev.initramfs- top, debian/ udev.installer- startup,
debian/udev.udev- finish. init, debian/ udev.upstart: Update to changed
location of udevd (/sbin → /lib/udev) and the three now builtin _id
helpers.
* debian/libudev0. symbols: Add new symbol from this release.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:ubuntu/quantal/udev