Modify gumd.conf to support read-only rootfs 66/110866/1
authorsilas jeon <silasjeon@samsung.com>
Wed, 18 Jan 2017 09:22:35 +0000 (18:22 +0900)
committersilas jeon <silasjeon@samsung.com>
Wed, 18 Jan 2017 09:22:35 +0000 (18:22 +0900)
Root filesystem will be mounted as read-only soon, so some files and directori-
s in /etc are moved to /opt/etc. skel, passwd, shadow, group, gshadow are the
objects, so gumd should handle them directly on /opt/etc

Change-Id: Ic8f38f223f8b28d5d59b80860fd959ae600bd64d

data/tizen/etc/gumd/gumd-tizen-common.conf

index fd04d89..45461ca 100755 (executable)
@@ -26,28 +26,28 @@ DEFAULT_ADMIN_GROUPS=audio,video,display
 # manpages for 'passwd'.
 # Can be overriden in debug builds by setting UM_PASSWD_FILE
 # environment variable.
-#PASSWD_FILE=/etc/passwd
+PASSWD_FILE=/opt/etc/passwd
 
 # Path to shadow file which represents user shadowed password information.
 # Default is /etc/shadow. More information about the file format can be read
 # at the manpages for 'shadow'.
 # Can be overriden in debug builds by setting UM_SHADOW_FILE
 # environment variable.
-#SHADOW_FILE=/etc/shadow
+SHADOW_FILE=/opt/etc/shadow
 
 # Path to group file which represents group information. Default is /etc/group.
 # More information about the file format can be read at the manpages for
 # 'group'.
 # Can be overriden in debug builds by setting UM_GROUP_FILE
 # environment variable.
-#GROUP_FILE=/etc/group
+GROUP_FILE=/opt/etc/group
 
 # Path to group file which represents shadowed group information.
 # Default is /etc/gshadow. More information about the file format can be read
 # at the manpages for 'gshadow'.
 # Can be overriden in debug builds by setting UM_GSHADOW_FILE
 # environment variable.
-#GSHADOW_FILE=/etc/gshadow
+GSHADOW_FILE=/opt/etc/gshadow
 
 # Prefix to be used when creating home directory for the user. For example,
 # with prefix '/home', user 'newu' home directory will be created as
@@ -64,7 +64,7 @@ SEC_SHELL=/sbin/nologin
 # folder is copied to user home directory. Default value is '/etc/skel'
 # Can be overriden in debug builds by setting UM_SKEL_DIR
 # environment variable.
-SKEL_DIR=/etc/skel
+SKEL_DIR=/opt/etc/skel
 
 # Path to user information folder.
 USERINFO_DIR=/var/lib/gumd/user/