[Tizen-submit] 16499: Changes to Tizen:IVI/wrt-commons

noreply at tizen.org noreply at tizen.org
Thu Oct 24 22:02:11 GMT 2013


Hi,
Rusty Lynch have made the following changes to wrt-commons in project Tizen:IVI. Please review and accept ASAP.

Thank You,

[This message was auto-generated]

---

Request: #16499

  submit:       Tizen:IVI:build/wrt-commons(cleanup) -> Tizen:IVI


Message:
Submitter: Rusty Lynch <rusty.lynch at intel.com>
Comments: Fix PTREL-143 by removing 2.2 smack labels
Git project: platform/framework/web/wrt-commons
Tag: submit/tizen/20131024.220117
Commit: c08ce7386e83d4768d20421cfcd00940eccd34d2 PTREL-143: Remove Tizen 2.2 smack labels

State:   new        2013-10-24T22:03:38 tizenrobot
Comment: <no comment>
changes files:
--------------

old:
----
  wrt-commons-0.2.158.tar.gz

new:
----
  wrt-commons-0.2.160.tar.gz

spec files:
-----------
--- wrt-commons.spec
+++ wrt-commons.spec
@@ -1,8 +1,8 @@
 Name:       wrt-commons
 Summary:    Wrt common library
-Version:    0.2.158
+Version:    0.2.160
 Release:    1
-VCS:        platform/framework/web/wrt-commons#submit/tizen/20131021.214451-0-g3b30aa3c5bfc0360fab144d0317c5a8528afbe43
+VCS:        platform/framework/web/wrt-commons#submit/tizen/20131024.220117-0-gc08ce7386e83d4768d20421cfcd00940eccd34d2
 Group:      System/Libraries
 License:    Apache-2.0
 Source0:    %{name}-%{version}.tar.gz
@@ -131,13 +131,16 @@
     cp /usr/var/lib/dbus/machine-id /var/lib/dbus/
 fi
 
-# Set Smack label for db files
-chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db
-chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db-journal
-chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db
-chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db-journal
-chsmack -a '*' /opt/usr/dbspace/.wrt_i18n.db
-chsmack -a '*' /opt/usr/dbspace/.wrt_i18n.db-journal
+# Until the Tizen 3.0 smack domains have been defined, all
+# files must use floor or else the system will fall on its face.
+# Reenable the following using whatever ends up being the accepted
+# domain structure once that has been established.
+# chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db
+# chsmack -a 'wrt-commons::db_wrt' /opt/dbspace/.wrt.db-journal
+# chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db
+# chsmack -a 'wrt-commons::db_wrt' /opt/usr/dbspace/.wrt_custom_handler.db-journal
+# chsmack -a '*' /opt/usr/dbspace/.wrt_i18n.db
+# chsmack -a '*' /opt/usr/dbspace/.wrt_i18n.db-journal
 
 echo "[WRT] wrt-commons postinst done ..."
 

other changes:
--------------

++++++ wrt-commons-0.2.158.tar.gz -> wrt-commons-0.2.160.tar.gz
--- etc/wrt_commons_create_clean_db.sh
+++ etc/wrt_commons_create_clean_db.sh
@@ -37,17 +37,20 @@
 
     pkill -9 security-serv
 
-    # restore smack label
-    if [ -n "$DB_LABEL" ]
-    then
-        chsmack -a "$DB_LABEL" $dbpath.$name.db
-    fi
-
-    # restore smack label
-    if [ -n "$JOURNAL_LABEL" ]
-    then
-        chsmack -a "$JOURNAL_LABEL" $dbpath.$name.db-journal
-    fi
+    # The Tizen 3.0 smack domains have not been estableshed yet,
+    # which requires all files to be set for floor.  Once the
+    # tizen security team is defined a domain structure then 
+    # the following can be reenabled using the appropriate names
+    ## restore smack label
+    #if [ -n "$DB_LABEL" ]
+    #then
+    #    chsmack -a "$DB_LABEL" $dbpath.$name.db
+    #fi
+    ## restore smack label
+    #if [ -n "$JOURNAL_LABEL" ]
+    #then
+    #    chsmack -a "$JOURNAL_LABEL" $dbpath.$name.db-journal
+    #fi

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list