platform/core/system/session-utils.git
3 years ago Add gdbus-proxy-test package #2 11/252711/2 submit/tizen/20210202.000046
INSUN PYO [Mon, 1 Feb 2021 23:57:33 +0000 (08:57 +0900)]
 Add gdbus-proxy-test package #2

Change-Id: I5fda298eb2060214be670e0e5d0d6dfdb79e368a

3 years agoAdd gdbus-proxy-test package 32/252032/1
INSUN PYO [Fri, 22 Jan 2021 02:54:29 +0000 (11:54 +0900)]
Add gdbus-proxy-test package

Change-Id: Ifdbd4a17958c95e2f49528feec966d801188cee1

3 years agoAdd dlog-test 69/250469/2 accepted/tizen_unified accepted/tizen/unified/20201230.121827 submit/tizen/20201228.050505
INSUN PYO [Mon, 28 Dec 2020 05:02:52 +0000 (14:02 +0900)]
Add dlog-test

Change-Id: Ibc6c11a6c04ec4f7cbbd8de41b32a04ba6b2d313

3 years agoAdd dbus-signal-test package 11/247811/3 submit/tizen/20201117.064413
INSUN PYO [Tue, 17 Nov 2020 06:04:06 +0000 (15:04 +0900)]
Add dbus-signal-test package

Change-Id: I64c70e0c974b7c7b1e724b410df500c050b332d3

3 years agoAdd putenv test program 68/246168/2
INSUN PYO [Mon, 26 Oct 2020 08:04:18 +0000 (17:04 +0900)]
Add putenv test program

Change-Id: I4765b24432eae3faf4b7ed36d1e6c8475838b85c

3 years agoAdd dbus-policy-two-wellknownname-per-one-connection-test package 66/243666/2
INSUN PYO [Wed, 9 Sep 2020 04:05:33 +0000 (13:05 +0900)]
Add dbus-policy-two-wellknownname-per-one-connection-test package

How to use : run server with root account, run client with owner account.
 - Server: # dbus-policy-two-wellknownname-per-one-connection-test server
 - Client : $ dbus-policy-two-wellknownname-per-one-connection-test client1

It works even if you do not have the org.tizen.dbus-policy-two-wellknownname-per-one-connection-test-1 rules for the owner account.
If dbus-policy-two-wellknownname-per-one-connection-test-2.conf file is removed, org.tizen.dbus-policy-two-wellknownname-per-one-connection-test-1 error occurs.

Change-Id: If1c04b6186611ed41e14d495a8967be8836be9ea

3 years agoFix memory leak and modify coding style 62/243162/2 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113114 accepted/tizen/6.0/unified/hotfix/20201103.000954 accepted/tizen/unified/20200904.154105 submit/tizen/20200903.112836 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
INSUN PYO [Thu, 3 Sep 2020 11:24:26 +0000 (20:24 +0900)]
Fix memory leak and modify coding style

Change-Id: I0cab882eb9d23764e8a831da0739b2d06a3bc1e8

3 years agoAdd dbus-send-receive-test package 59/243159/3 submit/tizen/20200903.111639
INSUN PYO [Thu, 3 Sep 2020 11:13:48 +0000 (20:13 +0900)]
Add dbus-send-receive-test package

Change-Id: I52d092c6365e1933e3b176aaf1d2b6c856693b29

3 years agoChange package name: g_debug_fatal_warnings ==> g-debug-fatal-warnings 41/243141/1
INSUN PYO [Thu, 3 Sep 2020 09:13:41 +0000 (18:13 +0900)]
Change package name: g_debug_fatal_warnings ==> g-debug-fatal-warnings

Change-Id: I523d57899a1a4543310bd8230352b8f30d46c3e3

3 years agoChange package name: systemd-user-helper ==> dbus-activation-stop-test 35/243135/1
INSUN PYO [Thu, 3 Sep 2020 08:39:12 +0000 (17:39 +0900)]
Change package name: systemd-user-helper ==> dbus-activation-stop-test

Change-Id: I3762fb80c94121f553d1af637ab5f1a7e6a140b0

3 years agoChange package name for glib debugging 49/241449/1 accepted/tizen/unified/20200821.042439 submit/tizen/20200820.081443
INSUN PYO [Thu, 20 Aug 2020 08:12:22 +0000 (17:12 +0900)]
Change package name for glib debugging

Change-Id: I79c7d6f6c3f43091e6ebb6e05b28a047b49c7490

3 years agoRemove unused file 44/241444/1
Yunmi Ha [Thu, 20 Aug 2020 07:51:32 +0000 (16:51 +0900)]
Remove unused file

Change-Id: I404adfda3a90efa95e6175e0c44345e41cbad11e
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
3 years agoRemove unusend files 43/241443/1
INSUN PYO [Thu, 20 Aug 2020 07:48:45 +0000 (16:48 +0900)]
Remove unusend files

Change-Id: I2a9d44bebfd538adae53ec74ea4e3e34358247de

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

3 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

5 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

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