diff options
author | Sangjung Woo <sangjung.woo@samsung.com> | 2015-09-03 09:00:47 +0900 |
---|---|---|
committer | Sangjung Woo <sangjung.woo@samsung.com> | 2015-09-03 11:10:05 +0900 |
commit | f33d63815abfa47f4008a64bd6c609627484d248 (patch) | |
tree | 72fd775765f42b0e7623af2bcfbc31a57b3550fd | |
parent | 89ced1fef1bc6f305770d21a080b0dd2b93288b1 (diff) | |
download | system-plugin-submit/tizen/20150903.110915.tar.gz system-plugin-submit/tizen/20150903.110915.tar.bz2 system-plugin-submit/tizen/20150903.110915.zip |
Remove XDG_RUNTIME_DIR variable from /run/tizen-system-envtizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150903.110915accepted/tizen/wearable/20150903.233414accepted/tizen/tv/20150903.233401accepted/tizen/mobile/20150903.233352tizen_3.0.m1_tvtizen_3.0.m1_mobile
XDG_RUNTIME_DIR variable could be changed in multi user environment so
its fixed value should be removed. Even though some special processes
such as boot-animation runs in system session, but XDG_RUNTIME_DIR
variable is required since they has its own UI. So /run/xdg-root-env
file is created for this purpose.
Change-Id: I0b31b04d05a1f9aff1da5bd7a59651023137d054
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
-rw-r--r-- | units/tizen-system-env.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/units/tizen-system-env.service b/units/tizen-system-env.service index dc4e188..3130b8c 100644 --- a/units/tizen-system-env.service +++ b/units/tizen-system-env.service @@ -5,7 +5,8 @@ Before=basic.target [Service] Type=oneshot -ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME)=" > /run/tizen-system-env' +ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -v "^(HOME|PWD|SHLVL|_|USER|MAIL|LOGNAME|XDG_RUNTIME_DIR)=" > /run/tizen-system-env' +ExecStart=/usr/bin/env -i sh -c 'source /etc/profile; env | /bin/egrep -e "XDG_RUNTIME_DIR=" > /run/xdg-root-env' [Install] WantedBy=basic.target |