platform/core/system/session-utils.git
5 years agoRemove MountFlags=slave for session user. 27/188527/1 submit/tizen/20180905.230406
INSUN PYO [Wed, 5 Sep 2018 22:59:22 +0000 (07:59 +0900)]
Remove MountFlags=slave for session user.

"MountFlags=slave" moved to system-plugin-feature-namespace package.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I99321eb92e74045e556f76bb1817ffdd7a0452fc

5 years agoRevert "Support container user: skip running starter and scim in container." 00/188200/2 submit/tizen/20180905.223212
INSUN PYO [Mon, 3 Sep 2018 04:18:14 +0000 (04:18 +0000)]
Revert "Support container user: skip running starter and scim in container."

This reverts commit 214fe03afdc77227df0878a2b8658830d74bfa2e.

Change-Id: I4380633bac15a1bf6ce56db43727773f989ff963

5 years agoDisable systemd-user-helper 78/187078/3 accepted/tizen/unified/20180903.065133 submit/tizen/20180903.012036
INSUN PYO [Mon, 20 Aug 2018 00:16:16 +0000 (09:16 +0900)]
Disable systemd-user-helper

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I67a4cadfdd7eda7764bf037030ab72977065c673

5 years agoDisable running container_postprocess.service at booting time. 63/188063/1 accepted/tizen/unified/20180903.060418 submit/tizen/20180831.021225
INSUN PYO [Fri, 31 Aug 2018 02:08:00 +0000 (11:08 +0900)]
Disable running container_postprocess.service at booting time.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie4f38a99ab3cf884c33e3734eb52057d6a218165

5 years agoRevert "Plugin: add unlock_mnt.conf to wait-mount@opt-usr.service" 36/187536/2 accepted/tizen/unified/20180824.062747 submit/tizen/20180824.022543
INSUN PYO [Fri, 24 Aug 2018 02:10:07 +0000 (02:10 +0000)]
Revert "Plugin: add unlock_mnt.conf to wait-mount@opt-usr.service"

This reverts commit 292ec325ecfc3219c506a3c0eb6fad3cc209104e.

Change-Id: I2b8bd4e352f1d3a4ee3bb053f14a090d58871b87

5 years agoSupport container user: skip running starter and scim in container. 74/186974/3 accepted/tizen/unified/20180820.153850 submit/tizen/20180820.061059
INSUN PYO [Fri, 17 Aug 2018 02:22:24 +0000 (11:22 +0900)]
Support container user: skip running starter and scim in container.

Starter and scim should not run in container.
The range of the container uid is 6000 to 6999.
So in this range of uid, the starter and scim will skip execution.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ie7cf0bd37eb5ab0cd2ca7785408a0073e9f04069

5 years agoRemove unused code. 76/187076/1 accepted/tizen/unified/20180820.060120 submit/tizen/20180819.230035
INSUN PYO [Sun, 19 Aug 2018 22:57:23 +0000 (07:57 +0900)]
Remove unused code.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ib0fa4bbbd15c91b6ae453f68d3d0cdebf9bbfcd0

5 years agoAdd ConditionPathExists=!/usr/bin/session-bind to bind-user-contents.service 66/186966/1 accepted/tizen/unified/20180817.140802 submit/tizen/20180817.020302 submit/tizen/20180817.032858 submit/tizen/20180817.051733
INSUN PYO [Fri, 17 Aug 2018 01:57:44 +0000 (10:57 +0900)]
Add ConditionPathExists=!/usr/bin/session-bind to bind-user-contents.service

Fixed to run only when session-bind is not present

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ic2ae054c8bbde0d918b995fef4d47ab70db4351a

5 years agoPlugin: add unlock_mnt.conf to wait-mount@opt-usr.service 65/186965/1
INSUN PYO [Fri, 17 Aug 2018 01:35:51 +0000 (10:35 +0900)]
Plugin: add unlock_mnt.conf to wait-mount@opt-usr.service

To clear lazy_mount, add the /run/.unlock_mnt creation to wait-mount@opt-usr.service

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Iab16ead8b951bf17cdb5cf7d6096f9c9f83c5bd0

5 years agoMove container_postprocess to container_postprocess.service 04/186104/2 accepted/tizen/unified/20180817.061829 submit/tizen/20180816.083146
INSUN PYO [Tue, 7 Aug 2018 08:31:35 +0000 (17:31 +0900)]
Move container_postprocess to container_postprocess.service

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ic5a4a142d0dd9488079706ef8eea0b5a2f4ff99f

5 years agoMove bind mount logic to bind-user-contens.service 72/186072/1
INSUN PYO [Tue, 7 Aug 2018 05:55:37 +0000 (14:55 +0900)]
Move bind mount logic to bind-user-contens.service

Bind mount point
============================================================
TZ_USER_CONTENT(/opt/usr/home/owner/media) to /opt/usr/media
TZ_USER_APP(/opt/usr/home/owner/apps_rw) to /opt/usr/apps
============================================================

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: If85be9f8357a502c6d2d946e275912a01c9e271b

6 years agoMove mount namespace logic from systemd-user-helper code to systemd service file. 92/183092/1 accepted/tizen/unified/20180726.140749 submit/tizen/20180725.225251
INSUN PYO [Mon, 2 Jul 2018 07:13:08 +0000 (16:13 +0900)]
Move mount namespace logic from systemd-user-helper code to systemd service file.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia0fccee5f243a12de5f902641ccb855e6daa7909

6 years agoRemove a directory(/run/user_ext) and XDG_RUNTIME_EXT_DIR 15/175815/1 accepted/tizen/unified/20180413.073618 submit/tizen/20180412.123801
Hyotaek Shim [Thu, 12 Apr 2018 12:36:55 +0000 (21:36 +0900)]
Remove a directory(/run/user_ext) and XDG_RUNTIME_EXT_DIR

Change-Id: Ieed9a174ba39b8f6f0a78cb05a480b09bd356b25
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agouser_ext: move user_ext to system-plugin-feature-user_ext 71/171071/1 accepted/tizen/unified/20180411.065624 submit/tizen/20180411.035808
INSUN PYO [Mon, 26 Feb 2018 08:20:15 +0000 (17:20 +0900)]
user_ext: move user_ext to system-plugin-feature-user_ext

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Id1b25994ccfd8c779d27f78f390850e28cffa0e2

6 years agomodify coding rule 41/171041/3 accepted/tizen/unified/20180227.151549 submit/tizen/20180227.010636
INSUN PYO [Mon, 26 Feb 2018 06:33:36 +0000 (15:33 +0900)]
modify coding rule

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ifcb97b6ccce99a944ca2caf4b48bf79833379108

6 years agospec: remove %posttrans 37/167137/3 accepted/tizen/unified/20180206.064108 submit/tizen/20180205.072256
INSUN PYO [Mon, 15 Jan 2018 17:28:42 +0000 (02:28 +0900)]
spec: remove %posttrans

 add /usr/lib/systemd/system/user@.service.d/session-utils.conf
 add /usr/lib/tmpfiles.d/user_ext.conf

Signed-off-by: INSUN PYO <insun.pyo@icloud.com>
Change-Id: Ifa92735b04a3b3ae47bea09aec18b5158617b06a

6 years agoRemove the user@.service backup file (__user@.service) 08/146408/1
Hyotaek Shim [Mon, 28 Aug 2017 10:22:58 +0000 (19:22 +0900)]
Remove the user@.service backup file (__user@.service)

Change-Id: I0879dd5c8e1fd2e3fb2a24ba319a9a39468114e4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoAdd a guide on how to test session-utils rpms 94/145094/1
Hyotaek Shim [Mon, 21 Aug 2017 08:13:46 +0000 (17:13 +0900)]
Add a guide on how to test session-utils rpms

Change-Id: I9084f53a1859e941d3deefef36d25249239178d4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoEnable ASLR feature 42/144542/1 accepted/tizen/4.0/unified/20170829.015813 accepted/tizen/unified/20170821.051036 submit/tizen/20170818.014207 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Yunmi Ha [Thu, 17 Aug 2017 06:24:25 +0000 (15:24 +0900)]
Enable ASLR feature

Change-Id: I620cfe5275ce5d058e5cc5442029d73c081bf1ba
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoRemove cap_setgid capability from systemd-user-helper. 39/144539/1
Yunmi Ha [Thu, 17 Aug 2017 06:19:00 +0000 (15:19 +0900)]
Remove cap_setgid capability from systemd-user-helper.

Do not set others (cap_sys_admin,cap_mac_admin,cap_dac_override), which are already set by security-config

Change-Id: Ie802a334395ae0c2c7c97528bc289be4581b6cb9
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoRevert "Remove cap_setgid capability from systemd-user-helper. Do not set others... 35/144535/1
Yunmi Ha [Thu, 17 Aug 2017 06:16:29 +0000 (06:16 +0000)]
Revert "Remove cap_setgid capability from systemd-user-helper. Do not set others (cap_sys_admin,cap_mac_admin,cap_dac_override), which are already set by security-config"

This reverts commit a46b566e5c4334f2dabf8b9b5e71ae4b37a1c115.

Change-Id: Ic2ffa01d31e16d38a92902624acdb70f027842d4

7 years agoRemove cap_setgid capability from systemd-user-helper. 51/140451/2
Hyotaek Shim [Tue, 25 Jul 2017 05:04:33 +0000 (14:04 +0900)]
Remove cap_setgid capability from systemd-user-helper.
Do not set others (cap_sys_admin,cap_mac_admin,cap_dac_override), which are already set by security-config

Change-Id: Ia33adac7081ad0ec8018d3f2842cf16f298b9ea4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoremove caps cap_mac_override 54/136354/1
sanghyeok.oh [Thu, 29 Jun 2017 07:47:51 +0000 (16:47 +0900)]
remove caps cap_mac_override

Change-Id: Ice90fd9cfb60f057b2ce8606ac37644eddfd05e6
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoAdd "Requires(posttrans): systemd" in the spec file 42/132742/1 accepted/tizen/4.0/unified/20170816.012145 accepted/tizen/unified/20170608.072534 submit/tizen/20170607.110659 submit/tizen_4.0/20170811.094300
Hyotaek Shim [Wed, 7 Jun 2017 10:17:30 +0000 (19:17 +0900)]
Add "Requires(posttrans): systemd" in the spec file

Change-Id: If76844774512ba535ce363bd72394699d7865cd4
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoSet the smack execute label to "User" right before exec(user session systemd) 15/131115/2 accepted/tizen/unified/20170602.154420 submit/tizen/20170601.120111
Hyotaek Shim [Thu, 25 May 2017 10:59:03 +0000 (19:59 +0900)]
Set the smack execute label to "User" right before exec(user session systemd)

Change-Id: I78412471a8970b78ae10ce341ad2ad491c8b64b2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoUse CMake instead of Automake 69/117969/1 accepted/tizen/unified/20170418.072814 submit/tizen/20170418.021954 tizen_4.0.m1_release
Sunmin Lee [Wed, 8 Mar 2017 05:18:24 +0000 (14:18 +0900)]
Use CMake instead of Automake

CMake is preferred build tool in Tizen.
(CMake is faster than automake in this package)

+ Use dash instead of underscore in binary name.
 It looks more general.

Change-Id: I451a93c68a4837841e9d20f77a8c9c9775c044a4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoInitial session-utils repository 61/113861/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170303.090737 accepted/tizen/ivi/20170303.005240 accepted/tizen/mobile/20170303.005201 accepted/tizen/tv/20170303.005207 accepted/tizen/unified/20170309.033720 accepted/tizen/wearable/20170303.005224 submit/tizen/20170303.002552 submit/tizen_unified/20170308.100409
Sunmin Lee [Thu, 9 Feb 2017 06:40:43 +0000 (15:40 +0900)]
Initial session-utils repository

Initial session-utils includes systemd-user-helper
from system-plugin package.

Change-Id: I196f6c54ee49ee3347ef42834d4d3d65be8bd79b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoInitial empty repository master
Tizen Infrastructure [Wed, 8 Feb 2017 02:29:11 +0000 (18:29 -0800)]
Initial empty repository