On 03/13/2015 01:57 PM, Elena Reshetova wrote:
> Hi,
> 
> I was trying to understand why labeling of the device nodes via symlinks
> doesn't work for our case. 
> This patch added support for it:
> 
> https://android.googlesource.com/platform/external/libselinux/+/be7f5e8814c4954aca51d3f95455c5d9d527658c%5E!/
> 
> But it doesn't seem to be working for us. The problem is the same as the
> commit addresses.
> 
> I don't want to have these kind of lines in file_contexts:
> 
> /dev/block/mmxyz (this name can vary depending on the platform)
> 
> But rather want to assign label via link name:
> 
>  /dev/block/by-name/my_name

See:
https://android-review.googlesource.com/#/c/140050/

The /dev/block/by-name symlink is being created by your init.rc file,
not by ueventd.  You need to use a path known to ueventd since it
handles the creation and initial labeling.

_______________________________________________
Seandroid-list mailing list
[email protected]
To unsubscribe, send email to [email protected].
To get help, send an email containing "help" to 
[email protected].

Reply via email to