dmraid must not call udevadm trigger --action=add

Bug #320482 reported by Giuseppe Iuculano
2
Affects Status Importance Assigned to Milestone
dmraid (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dmraid

(Originally reported against dkms on ubuntu, LP #320200)
dmraid must not call udevadm trigger --action=add in postinst.
This will have utterly dire consequences for the installed machine.

Major bugs will be apparent corruption of mounted filesystems (e.g.
"/usr: data error") until a reboot.
And critical bugs include the entire /dev changing to root:root/660 on
upgrade.

Simple fix is to use --action=change.

Cheers,
Giuseppe.

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dmraid - 1.0.0.rc15-1~exp6ubuntu1

---------------
dmraid (1.0.0.rc15-1~exp6ubuntu1) jaunty; urgency=low

  * Sync with Debian, introducing a few changes, which will be in Debian's
    next revision:
  * debian/initramfs/dmraid.initramfs-hook/dmraid: create udev rules dir
    before copying each udev rule
  * debian/dmraid-activate: Refactor code to allow for special casing of
    raid groups and subsets
  * debian/patches/05_kernel-event-handling.patch: Drop, as this was breaking
    RAID0 activation for all metadata types, and the kernel event handling
    setup is present in rc15 anyway (LP: #310928)
  * debian/libdmraid-dev.links: Symlink libdmraid.so since pointing to a broken
    symbolic link in the install file causes the build to FTBFS

dmraid (1.0.0.rc15-1~exp6) experimental; urgency=low

  * [51d68d1] debian/patches/07_isw_metadata_normal_state.patch: Fix
    Metadata is not put in the NORMAL state after dmraid rebuild is
    started manually
  * [8165a84] debian/patches/08_isw_rebuild.patch: Fix ISW Metadata is
    corrupted after rebuilding is started
  * [0f588f5] debian/control: Fix Vcs-Browser field to play nice with
    cl2vcs
  * [d832984] Added libdmraid1.0.0.rc15 symbols file
  * [f0e50b8] Added description in 07_isw_metadata_normal_state.patch
    and 08_isw_rebuild.patch
  * [492e108] debian/dmraid-activate: Activate unconditionally isw array
    (LP: #310928)

dmraid (1.0.0.rc15-1~exp5) experimental; urgency=low

  * [f23f890] debian/patches: Deleted old patch 08_promise-metadata-
    fixes.dpatch
  * [db69b2c] Switch to quilt
  * [e40b076] debian/initramfs/dmraid.initramfs-hook/dmraid: New udev in
    Ubuntu has the default rules installed into /lib/udev/rules.d, so
    refer also to udev rules file in /lib/udev/rules.d
  * [fed9520] debian/dmraid-activate: Ignore case distinctions when grep
    for "No RAID disks"
  * [c85b78f] debian/dmraid.postinst: call udevadm with --action=change
    (Closes: #512771), (LP: #320482)
  * [8d88132] debian/control: Remove priority and section fields in the
    binary package, and fix duplicate-short-description lintian warning
  * [1fd2986] Fixed command-with-path-in-maintainer-script lintian
    warning
  * [36cd8e5] debian/control: Removed initramfs-tools depends
  * [b3eb93f] debian/control: Fixed duplicate-long-description lintian
    warning

 -- Luke Yelavich <email address hidden> Fri, 13 Feb 2009 12:33:43 +1100

Changed in dmraid:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.