tizen: Set the smack label of /dev/mapper and /dev/mapper/control as '*' accepted/tizen_unified_toolchain sandbox/klewandowski/tizen_2.03.22 accepted/tizen/unified/20240216.054936 accepted/tizen/unified/toolchain/20240311.065937 accepted/tizen/unified/x/20240219.013834
authorHyotaek Shim <hyotaek.shim@samsung.com>
Wed, 19 Sep 2018 10:23:03 +0000 (19:23 +0900)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 13 Feb 2024 22:21:02 +0000 (23:21 +0100)
commitd985ba2ea37e71eeaac3a7bb3838045e89521204
tree7525a31c3e2b55f980f0814c0b1c997972788650
parent1119a81549e410cea0a8d18c52db4469d07066e8
tizen: Set the smack label of /dev/mapper and /dev/mapper/control as '*'

Normally, /dev/mapper and /dev/mapper/control are created by the in-kernel dm driver
and the smack label is set by Systemd as '*'.
When the dm driver is loaded as a module (dm-mod.ko), however,
/dev/mapper's label cannot be initialized by Systemd.

drwxr-xr-x root root * /dev/mapper
crw------- root root * /dev/mapper/control

Change-Id: I74f7b58cbfb80294bb19bd5cff683359d26c1b22
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
packaging/99-dm-tizen.rules [new file with mode: 0644]
packaging/device-mapper.spec