chiark / gitweb /
rules: allow systemd to manage loop device partitions
authorKevin Wells <wellsie1116@gmail.com>
Thu, 31 Jul 2014 15:38:21 +0000 (17:38 +0200)
committerKay Sievers <kay@vrfy.org>
Thu, 31 Jul 2014 15:38:21 +0000 (17:38 +0200)
commitb5df2eabf3fdd3e1663bc4c948812472084f3e96
tree1656d15a66d6438aa9b8eda1b3bf00c1b4a36a8a
parentcbd67a86fbb0452bb4a341783b15eb504a432fc0
rules: allow systemd to manage loop device partitions

SYSTEMD_READY is currently set to 0 for all loop devices (loop[0-9]*)
that do not have a backing_file. Partitioned loop devices (ex. loop0p1),
however, are matched by this rule and excluded by systemd even though
they are active devices.

This change adds an additional check to the rule, ensuring that only
top level loop devices (loop[0-9]+$) are excluded from systemd.
rules/99-systemd.rules.in