Bug #9054

Our custom udev rules should be updated for UDisks2

Added by alant 2015-03-14 20:26:02 . Updated 2015-03-15 09:23:14 .

Status:
Resolved
Priority:
Normal
Assignee:
intrigeri
Category:
Target version:
Start date:
2015-03-14
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

Our custom udev rules are not compatible with UDisks2. If we want them to keep working, we should update them using the properties listed on http://udisks.freedesktop.org/docs/latest/udisks.8.html.

This should be fixed by the following:

commit b0b324dc7caad1452522ea49168a2ec50f4b93a6
Author: Alan <alan@boum.org>
Date:   Sat Mar 14 18:22:09 2015 +0000

    Update our udev rules for UDisks2

diff --git a/config/chroot_local-includes/etc/udev/rules.d/70-protect-boot-medium-for-udisks.rules b/config/chroot_local-includes/etc/udev/r
index e429924..b4cdfbd 100644
--- a/config/chroot_local-includes/etc/udev/rules.d/70-protect-boot-medium-for-udisks.rules
+++ b/config/chroot_local-includes/etc/udev/rules.d/70-protect-boot-medium-for-udisks.rules
@@ -4,7 +4,7 @@ KERNEL!="sd?*|mmcblk?*|mspblk?*", GOTO="bilibop_end"

 SUBSYSTEMS=="usb|firewire|memstick|mmc", \
        PROGRAM=="/lib/bilibop/test $tempnode", \
-       ENV{UDISKS_SYSTEM_INTERNAL}:="1", \
+       ENV{UDISKS_SYSTEM}:="1", \
        GROUP:="disk", \
        GOTO="bilibop_disk"

diff --git a/config/chroot_local-includes/etc/udev/rules.d/99-hide-TailsData.rules b/config/chroot_local-includes/etc/udev/rules.d/99-hide-T
index 60c8378..7027a5a 100644
--- a/config/chroot_local-includes/etc/udev/rules.d/99-hide-TailsData.rules
+++ b/config/chroot_local-includes/etc/udev/rules.d/99-hide-TailsData.rules
@@ -1 +1 @@
-ENV{UDISKS_PARTITION_LABEL}=="TailsData", ENV{UDISKS_PRESENTATION_HIDE}="1"
+ENV{UDISKS_PARTITION_LABEL}=="TailsData", ENV{UDISKS_IGNORE}="1"

Subtasks


History

#1 Updated by intrigeri 2015-03-14 23:31:26

  • Status changed from Confirmed to In Progress
  • Assignee set to intrigeri
  • % Done changed from 0 to 20

#2 Updated by intrigeri 2015-03-15 09:23:14

  • Status changed from In Progress to Resolved
  • % Done changed from 20 to 100

Applied in changeset commit:7df5d7d1b62f10ff7346d43ce1364a278a8c1090.