Add ID_TYPE attribute for udev-rule 55/315655/6 accepted/tizen/unified/20240808.160403 accepted/tizen/unified/dev/20240809.091505 accepted/tizen/unified/toolchain/20240812.133128 accepted/tizen/unified/x/20240809.012917 accepted/tizen/unified/x/20240809.015611 accepted/tizen/unified/x/asan/20240813.231417
authorJiyong <jiyong.min@samsung.com>
Tue, 6 Aug 2024 02:59:00 +0000 (11:59 +0900)
committerJiyong <jiyong.min@samsung.com>
Wed, 7 Aug 2024 06:50:26 +0000 (15:50 +0900)
[Problem]
Unintentionally, the media-server is executed by the virtual block devices.
[Solution]
Added ID_TYPE=disk condition to avoid execution by virtual block devices.

Change-Id: I4f81ac426c4c6a23f718a44c221f20e9026979df

packaging/99-media-server.rules
packaging/media-server.spec

index f2f7a6f..2cb7e41 100644 (file)
@@ -1 +1 @@
-SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", RUN+="/usr/bin/systemctl start media-server"
+SUBSYSTEM=="block", ENV{ID_TYPE}=="disk", ENV{ID_FS_USAGE}=="filesystem", RUN+="/usr/bin/systemctl start media-server"
index 9b1e339..fc87ee0 100644 (file)
@@ -1,6 +1,6 @@
 Name:       media-server
 Summary:    A server for media content management
-Version:    0.6.8
+Version:    0.6.9
 Release:    0
 Group:      Multimedia/Service
 License:    Apache-2.0