Bug#545032: [Pkg-utopia-maintainers] Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: devicekit-disks - Handles add actions of dm devices

2009-11-04 Thread Bastian Blank
On Tue, Nov 03, 2009 at 09:41:24PM +0100, Michael Biebl wrote:
 Discussing with upstream, 95-devkit-disks.rules was changed to only act on
 change events (and not add|change)

The rules may still be called with the device suspended and then block
udev to handle further rules and events, including the callback to the
devmapper tools. This is a classic race condition and I have no recipe
for this yet.

 Hopefully this addresses your remaining complaints in a sufficient manner so 
 the
  conflicts in dmsetup can be removed again.

I accept that for now. But if it starts to break things I'll come back.

Bastian

-- 
War is never imperative.
-- McCoy, Balance of Terror, stardate 1709.2



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545032: [Pkg-utopia-maintainers] Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: devicekit-disks - Handles add actions of dm devices

2009-11-03 Thread Michael Biebl
Bastian Blank wrote:
 On Fri, Oct 16, 2009 at 11:55:55PM +0200, Bastian Blank wrote:
 On Fri, Oct 16, 2009 at 11:43:52PM +0200, Bastian Blank wrote:
 Okay. What about point 1 of my list? This still probes device-mapper
 devices.
 
 | - Probe for partitions, aka open, on all block devices with a (small)
 |   blacklist. This can be only allowed with a whitelist, as several
 |   device types may not be queried from add events or not at all, like
 |   several dm subtypes.
 
 This patch should use an apropriate whitelist.

So, here is a status update on this issue:
What happened so far is, that I removed the blkid call for dm devices.
I also dropped the devkit-disks-dm-export prober altogether and instead rely on
the information setup by dmsetup/cryptsetup.

The last bit is the devkit-disks-part-id prober.

Unfortunately I can't just drop this prober completely for all dm/md devices, as
you might have partitioning information on such a device.

Discussing with upstream, 95-devkit-disks.rules was changed to only act on
change events (and not add|change) and I additionally added a rule to skip
devices where DM_HIDE==1 is set.

The latest state is at
http://git.debian.org/?p=pkg-utopia/devicekit-disks.git;a=summary

and I plan to upload that soonish as 009-1.

Hopefully this addresses your remaining complaints in a sufficient manner so the
 conflicts in dmsetup can be removed again.

Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Bug#545032: [Pkg-utopia-maintainers] Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: devicekit-disks - Handles add actions of dm devices

2009-10-18 Thread Bastian Blank
found 545032 008-1
thanks

On Sat, Oct 17, 2009 at 12:02:19AM +0200, Michael Biebl wrote:
 Bastian Blank wrote:
  On Fri, Oct 16, 2009 at 10:45:25PM +0200, Michael Biebl wrote:
  I adressed the issues you mentioned [1] and just uploaded 007-3 to 
  unstable.
  Okay. What about point 1 of my list? This still probes device-mapper
  devices.
 What? Where?

| KERNEL==fd*|mtd*|nbd*|gnbd*|btibm*, GOTO=probe_parttable_end
| IMPORT{program}=devkit-disks-part-id $tempnode
| LABEL=probe_parttable_end

devkit-disks-part-id opens the temporary device node to read data from
it.

Bastian

-- 
You!  What PLANET is this!
-- McCoy, The City on the Edge of Forever, stardate 3134.0



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#545032: [Pkg-utopia-maintainers] Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: Bug#545032: devicekit-disks - Handles add actions of dm devices

2009-10-16 Thread Michael Biebl
Bastian Blank wrote:
 On Fri, Oct 16, 2009 at 10:45:25PM +0200, Michael Biebl wrote:
 I adressed the issues you mentioned [1] and just uploaded 007-3 to unstable.
 
 Okay. What about point 1 of my list? This still probes device-mapper
 devices.

What? Where?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature