From d4f2771354529be1446158dfcca3ebf9ab61b227 Mon Sep 17 00:00:00 2001 From: silas jeon Date: Wed, 18 Jan 2017 18:22:35 +0900 Subject: [PATCH] Modify gumd.conf to support read-only rootfs 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 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/data/tizen/etc/gumd/gumd-tizen-common.conf b/data/tizen/etc/gumd/gumd-tizen-common.conf index fd04d89..45461ca 100755 --- a/data/tizen/etc/gumd/gumd-tizen-common.conf +++ b/data/tizen/etc/gumd/gumd-tizen-common.conf @@ -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/ -- 2.7.4