#1059748 dmsetup-udeb: udev rules are missing

#1059748#5
Date:
2023-12-31 11:49:54 UTC
From:
To:
Dear Maintainer,

dmsetup-udeb does not include any of the udev rules that come with the
standard
package, resulting in device nodes under /dev/mapper not being created for
partitions of multipath devices. This has a knock-on effect of breaking
partman-multipath, resulting in an inability to install Debian on a
multipath device.

In testing, adding the following files from the full package resolved
the issue:

/lib/udev/rules.d/55-dm.rules (as 10-dm.rules)

#1059748#10
Date:
2023-12-31 12:06:30 UTC
From:
To:
Control: tags -1 help
Control: severity -1 normal

This is expected.  The udeb is not built with udev support.  Someone
needs to provide a patch for it.

Regards,
Bastian

#1059748#19
Date:
2023-12-31 12:12:19 UTC
From:
To:
I'd be happy to send a patch for it, though I'm not sure if there are
other considerations I'm not aware of - in my testing, it was just as
simple as including the rule file.

If there aren't any other issues with doing that, I can have a patch
ready pretty soon.

(sorry about the duplicate email, I missed replying to the bug thread)

#1059748#24
Date:
2023-12-31 13:31:20 UTC
From:
To:
I don't know what's preferred, so I opened a merge request on Salsa with
my proposed (admittedly naive) changes. Local testing on a Debian 12.1
install media appears to work fine.

If you'd rather have a normal patch, I've attached one here as well.