universal8895: Ramdisk: remove vendor_audit UID
authorAnan Jaser <ananjaser@gmail.com>
Wed, 23 Sep 2020 15:44:18 +0000 (19:44 +0400)
committerAnan Jaser <ananjaser@gmail.com>
Thu, 24 Sep 2020 05:16:18 +0000 (09:16 +0400)
Unable to decode UID for 'vendor_audit': getpwnam failed: No such file or directory

Replace it with system system instead

Change-Id: Ia481dc7a319b50f98d7096a0c555eb0fdcc7087f

ramdisk/etc/init.samsung.rc

index d4cb6d8b551e579fc7ecbfe7009b9875c5e876f6..6f63f9bee350f4370738b39eafa625e6a3f78317 100644 (file)
@@ -209,13 +209,13 @@ on post-fs-data
     chmod 0666 /data/misc/conn/.wificable.info
     
 # [ SEC_PRODUCT_FEATURE_SECURITY_SUPPORT_FIVE
-    mkdir /data/misc/integrity 0775 vendor_audit system
+    mkdir /data/misc/integrity 0775 system system
 # ] SEC_PRODUCT_FEATURE_SECURITY_SUPPORT_FIVE
        
 # [ SEC_SELINUX_PORTING_COMMON
     mkdir /data/misc/audit 0775 system system
-    chown vendor_audit vendor_audit /data/misc/audit/audit.log
-    chown vendor_audit vendor_audit /data/misc/audit/audit.old
+    chown system system /data/misc/audit/audit.log
+    chown system system /data/misc/audit/audit.old
 
     # arcounter
     mkdir /data/misc/arcounter 0700 system system