platform/core/system/session-utils.git
4 years agoRemove unused package 42/241442/1
Yunmi Ha [Thu, 20 Aug 2020 07:36:47 +0000 (16:36 +0900)]
Remove unused package

Change-Id: I90fa95ee0ef73086679465aef2036d2a7e54eeb9
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
4 years agoChange well-known name: org.myname -> org.tizen.myname 37/241437/1
INSUN PYO [Thu, 20 Aug 2020 07:08:33 +0000 (16:08 +0900)]
Change well-known name: org.myname -> org.tizen.myname

Change-Id: I3d00c191d0bd04b904783e47c70f81d4ef5db85d

4 years agoChange systemd-user-helper to dbus test 43/240443/1 accepted/tizen/unified/20200807.141028 submit/tizen/20200806.090433
INSUN PYO [Thu, 6 Aug 2020 09:01:21 +0000 (18:01 +0900)]
Change systemd-user-helper to dbus test

Change-Id: I0c4e3984d75f1151fe1aa7b3a1de2bf70fafab3c

4 years agoRemove unused feature 47/228747/1
INSUN PYO [Wed, 25 Mar 2020 06:41:24 +0000 (15:41 +0900)]
Remove unused feature

Change-Id: I20e035ce74af2792ac32d942d9f0fe7e17a8b2e3

5 years agoRemove temporary service file 53/208553/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.015015 accepted/tizen/5.5/unified/mobile/hotfix/20201027.085745 accepted/tizen/5.5/unified/wearable/hotfix/20201027.112412 accepted/tizen/unified/20190626.114549 submit/tizen/20190626.020055 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185104 submit/tizen_5.5_wearable_hotfix/20201026.184304 tizen_5.5.m2_release
INSUN PYO [Wed, 26 Jun 2019 01:59:53 +0000 (10:59 +0900)]
Remove temporary service file

Change-Id: Id8f915b9e3c9bf96dfd3985dbb42db2959d9db86

5 years agoAdd delayed target for TM1 33/208433/2 accepted/tizen/unified/20190625.051504 submit/tizen/20190624.080146
INSUN PYO [Mon, 24 Jun 2019 07:57:30 +0000 (16:57 +0900)]
Add delayed target for TM1

Change-Id: I45bf0aafc07f6b6176a3a7b6365d035c95fcf122

5 years agoRemove /usr/bin/systemd-user-helper on session-utils package 73/203273/1 accepted/tizen/unified/20190412.124659 submit/tizen/20190411.075752
INSUN PYO [Thu, 11 Apr 2019 07:55:08 +0000 (16:55 +0900)]
Remove /usr/bin/systemd-user-helper on session-utils package

Change-Id: I6355bea5d270dcc8720ebfc6c92eb1badf822649

5 years agoudev: add udev rule for TM2 to mount /opt/usr 18/200118/1 accepted/tizen/unified/20190220.071616 submit/tizen/20190219.084729
INSUN PYO [Tue, 19 Feb 2019 08:42:27 +0000 (17:42 +0900)]
udev: add udev rule for TM2 to mount /opt/usr

  TM2 does not have /dev/disk/by-partlabel/user.
  TM2 have /dev/disk/by-partlabel/USER instead.

  So, this udev rule makes "user" when "USER" is created.

Change-Id: I740ca6448ce7ebc089f24248c8d88a1d97fda1bf

5 years agoglib: Enable glib debugging 66/200066/1 accepted/tizen/unified/20190219.154232 submit/tizen/20190219.002741
INSUN PYO [Tue, 19 Feb 2019 00:21:02 +0000 (09:21 +0900)]
glib: Enable glib debugging

 This patch makes a coredump when application calls g_warning() or g_critical().

 A g_critical is used by g_return_val_if_fail(), g_return_if_reached() and g_return_val_if_reached().
 (https://developer.gnome.org/glib/stable/glib-Message-Logging.html)

Change-Id: Icc47d81484e117763e0c18935522eb5ce8051ea2

6 years agoRemove bind-user-contents.service 28/188528/2 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.020500 accepted/tizen/unified/20180906.054623 submit/tizen/20180905.233241 submit/tizen_5.0/20181101.000004
INSUN PYO [Wed, 5 Sep 2018 23:25:31 +0000 (08:25 +0900)]
Remove bind-user-contents.service

bind-user-contents.service moved to system-plugin-featuer-session-bind package.

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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

7 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>
7 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>
7 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>
7 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>
7 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