summaryrefslogtreecommitdiff
path: root/units
AgeCommit message (Collapse)AuthorFilesLines
2020-04-02Add checking /opt partition is mountedsubmit/tizen_5.5_wearable_hotfix/20201026.184301submit/tizen_5.5/20200406.040657accepted/tizen/5.5/unified/wearable/hotfix/20201027.122816accepted/tizen/5.5/unified/20200407.015623tizen_5.5_wearable_hotfixaccepted/tizen_5.5_unified_wearable_hotfixINSUN PYO1-0/+16
If the /opt partition is not mounted, local-fs.target fails and enters emergency.target Change-Id: Ic8049c1f580463397950272f32c758792e4aca03 (cherry picked from commit 27c402e9845488a0bb1e4ac297fceedf097d2a47)
2020-03-27Remove SmackProcessLabel=System::Privilege on .mount unitINSUN PYO1-1/+0
Change-Id: Ib17efed75bfae5c5f69ba7cc7990b0260a40de5f (cherry picked from commit e2b2db90fc896261827e9b71ee408506120625b5)
2020-02-05Change partition label from /dev/disk/by-partlabel to /dev/disk/by-label for ↵INSUN PYO1-1/+1
/opt/usr XU3, RPI3, RPI4, ARTIK don't have any /dev/disk/by-partlabel. MCD and DA has his own opt-usr.mount unit. So, public unifies with /dev/dis/by-label Change-Id: Ia4ecc4048978248adecc34334af1c44b1173ed27 (cherry picked from commit ada8ac19e6ec97b327c2a79908ea84d38e3e6872)
2019-08-20Revert "tizen: Add additional unit for "unified" user session"Yunmi Ha1-16/+0
This reverts commit 99515ebe8cbc4752ac29c0c69c074ffad29c67ee. We've optimized systemd-user without unified system/session. So, we revert the patch for unified system/session. Change-Id: I10f68186ee4f08ebf30a215ead7d943300311b09
2019-05-09tizen: Add additional unit for "unified" user sessionsubmit/tizen/20190509.015828accepted/tizen/unified/20190510.111115Mateusz Moscicki1-0/+16
The unified user session is about moving user session units, managed by systemd --user, to main systemd, where it's managed as part of newly created user@.target. user@.target will contain same units as previously available in user/, with same UID and environment setup. systemd instance is used for unit to be able to specify UID (inherited from user@.target). The rationale behind this work is following: * VD requirement to remove user session support * boot time optimization requirements, due to: + 'systemd --user' taking 1s its own startup that could be used for unit startup + ability to better rearrange units if these managed by one systemd instance Unit installed by this commit will not be used till user login mechanism will be changed in systemd package (via changing pam_systemd to start user@.target, rather than user@.service). Change-Id: I54010b3755addfe7913b5256afb2b8424c155be5
2019-03-13Remove opt-usr-fsck.serviceINSUN PYO2-19/+2
All fsck runs in inird. Change-Id: Ie3166eaaa36877a11ea86402d9c0116be4acba8e
2019-03-08Remove resizefs@.servicesubmit/tizen/20190311.123423accepted/tizen/unified/20190312.113106INSUN PYO1-15/+0
- initrd and init_wrapper performs the resizefs function instead. - VD and DA : perform in the image flushing step. - MCD : perform in initrd - Emulator : perform when combining images in script Change-Id: I9ea0bdb11710cf0258aafe0b9cb2a266b6d4c952
2018-08-24Add session-bind featuresubmit/tizen/20180828.020813accepted/tizen/unified/20180828.062413INSUN PYO1-0/+13
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I03965070c0b486c05506708b0911af9db434619a
2018-08-23Delete lazymount featuresubmit/tizen/20180823.232043accepted/tizen/unified/20180824.062710INSUN PYO3-24/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I8e61739a9bdbf4055c91ff42cabfb58ee2ff0fee
2018-08-20Remove unused ivi-network.serviceINSUN PYO1-11/+0
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I7ef23b5f7b174cc0b0b6566bff02da92a5a02a18
2018-08-10Change group of opt-usr-fsck.service to disk.submit/tizen/20180810.060236accepted/tizen/unified/20180810.132605INSUN PYO1-0/+2
=========================================================== brw-rw---- 1 root disk 179, 25 Jan 1 10:31 /dev/mmcblk0p25 =========================================================== In addition, User changed to meaningless system_fw(non root). "Non root user" is requirement of security department. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I9e7284af533993781771d08ee222e4d212cbb996
2018-08-09Add RequiresMountsFor=/opt to wait-mount@.service.submit/tizen/20180809.043843accepted/tizen/unified/20180809.074821INSUN PYO1-0/+1
In order to apply User/Group to .service, we need /opt/etc/{passwd,group}. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ie432de320a9c434335a486d9d8138813414b56a9
2018-08-08Change user and group of wait-mount@.service to system_fwsubmit/tizen/20180808.044741INSUN PYO1-0/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Id29ce9a51171cab6e2ec5abf349dccbb746edea6
2018-08-07Add a new feature-namespace rpmsubmit/tizen/20180807.045816INSUN PYO1-0/+2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: Ib89713829adabf193cf8ea51169467e9c3a20fdd
2018-08-03Add wait-mount@opt-usr.servicesubmit/tizen/20180806.025213submit/tizen/20180805.231306accepted/tizen/unified/20180807.061004INSUN PYO5-0/+48
This service is reached when /opt/usr partition is mounted. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I334b588c3903bfc81704e2497c195038386de447 Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
2018-05-15Fix: non-zero exit status is ignored in tizen-system-env.servicesubmit/tizen/20180515.051307accepted/tizen/unified/20180515.063844Hyotaek Shim1-2/+2
Change-Id: I7e0824288917cf896a169e20015010484e96d5a2 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-10-19Add depedency where tizen-system-env.service starts after /opt is mountedsubmit/tizen/20171019.034316accepted/tizen/unified/20171019.145711Hyotaek Shim1-0/+1
Change-Id: Id8337c16b4dfadbfc3875dfef7ecd93f4d8cfe1c Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com> (cherry picked from commit f5b5f950674c97f4ef5fdf96adb6d745fc31f3c8)
2017-08-21tizen-system-env.service : add "RemainAfterExit=yes"INSUN PYO1-0/+1
The pkg-db-recovery.service, sdbd.service and ad.service have "Requires=tizen-system-env.service" So, each time these services are executed, tizen-system-env.service is also executed. "RemainAfterExit=yes" makse "active (exited)" state even if the serivce is completed. Signed-off-by: INSUN PYO <insun.pyo@samsung.com> Change-Id: I2b1db458deb5bc92fde12912c00303e3ebd65b8a
2017-03-01Upgrade: Move RW update filesSunmin Lee2-19/+0
RW update files are moved to separate package: system-rw-update Change-Id: Iee40b4e5d8c07beafdb47f41cffdf2150486edaf Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2017-02-21Upgrade: Several modifications for exclusion of basic.tagetsubmit/tizen_3.0/20170302.062137accepted/tizen/3.0/wearable/20170303.073849accepted/tizen/3.0/tv/20170303.073747accepted/tizen/3.0/mobile/20170303.073726accepted/tizen/3.0/ivi/20170303.073933accepted/tizen/3.0/common/20170303.085803Sunmin Lee2-0/+2
- cynara.socket for cynara update - Set default dependency no to services - SDB debugging disabled Change-Id: I95ee8b8e6f4f8fbadbc6c888f7db169cd21f5fab Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-24Upgrade: sdb related issuessubmit/tizen_3.0/20161124.103638Sunmin Lee1-1/+2
To launch sdb properly in upgrade mode, several initialize scripts should be run before sdbd.service. Change-Id: I1573f9f172a06935b52c1b16ef4619d6ca0c2bc6 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-11-20Revert "Upgrade: Automated upgrade"submit/tizen_3.0/20161121.095219Sunmin Lee2-1/+9
Enable sdb debugging mode This reverts commit 1d54574aafb44faf41ba52b3334ce9e687993cf1. Change-Id: I7a53b95629ce4a74ded73a755961c4468499ec62
2016-10-26Eliminate umount-opt.servicesubmit/tizen_3.0_common/20161104.104000submit/tizen/20161026.001251accepted/tizen/wearable/20161028.151127accepted/tizen/tv/20161028.151123accepted/tizen/mobile/20161028.151117accepted/tizen/ivi/20161028.151143accepted/tizen/common/20161026.134448Kunhoon Baik1-12/+0
umount-opt.service was for 2.4 3 partition compatibilty layer in Tizen 2 Partition system. However, Tizen decided to re-support 3 partition for full compatibility due to 2.4 -> 3.0 upgrade For your information, 2.4/3.0 Major Compatibilty is 1) Partition : Keep 3 Partitoin 2) App Directory : /opt/usr/apps 3) Content Directory : /opt/usr/media Change-Id: Ica295ed0dc47677c36637eec6d335edb60c40d20
2016-10-11spec: Add ivi-network.service for ivi profilesubmit/tizen_3.0/20161028.082323submit/tizen_3.0/20161028.062323submit/tizen/20161011.075122accepted/tizen/wearable/20161011.234314accepted/tizen/tv/20161011.234300accepted/tizen/mobile/20161011.234414accepted/tizen/ivi/20161011.234348accepted/tizen/common/20161011.154426accepted/tizen/3.0/wearable/20161028.122852accepted/tizen/3.0/tv/20161028.122630accepted/tizen/3.0/mobile/20161028.122351accepted/tizen/3.0/ivi/20161028.123055Sangjung Woo1-0/+11
In order to communicate with Cluster device, this patch set eth0 as static IP address. This patch is only applied for ivi profile. Change-Id: Iec8f978c37afe7dab9d0fbd12a744a58fec230a3 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-09-12Upgrade: Automated upgradesubmit/tizen/20160919.061739accepted/tizen/wearable/20160920.052636accepted/tizen/tv/20160920.052617accepted/tizen/mobile/20160920.052602accepted/tizen/ivi/20160920.052651accepted/tizen/common/20160919.154629Sunmin Lee2-9/+1
From now on, this package activates upgrade automatically when the device is rebooted. And for this, more detailed logging method is added. Change-Id: Icd46e088be15bd08b9cff3681662f585a505c31f Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-25Revert "Revert "Description : Adding fstab for lazy mount""submit/tizen/20160826.052212submit/tizen/20160826.022147submit/tizen/20160825.094741accepted/tizen/wearable/20160829.040406accepted/tizen/tv/20160829.040342accepted/tizen/mobile/20160829.040330accepted/tizen/ivi/20160829.040424accepted/tizen/common/20160825.152043Woo Chang Kim2-3/+12
This reverts commit b63cf7d6105a8866d82d7c8110eaa19fae0044d0. Change-Id: I80b98406dbe1408fda9786de3b9103854eab0211
2016-08-22Desciprtion : Temporary change.submit/tizen/20160822.045932submit/tizen/20160822.012953accepted/tizen/wearable/20160823.041233accepted/tizen/tv/20160823.041205accepted/tizen/mobile/20160823.041125accepted/tizen/ivi/20160823.041257accepted/tizen/common/20160822.132727wchang kim1-2/+1
Changing the default value of lazy mount for idle booting. test_lazymount waits for mounting user parition and then call sd_notify because efl library calls sd_notify. These are temp codes for idle booting. Change-Id: I62670413fa220203f1a2975885ecbac9885e6ce4 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-08-15Merge "Description : Change the mount method in service file." into tizensubmit/tizen/20160816.052549accepted/tizen/wearable/20160817.040554accepted/tizen/tv/20160817.040538accepted/tizen/mobile/20160817.040520accepted/tizen/ivi/20160817.040611accepted/tizen/common/20160816.130311wchang kim1-1/+1
2016-08-16Description : Change the mount method in service file.wchang kim1-1/+1
Adding mount-user.sh. mount-user.sh gets the PARTLABEL from /dev/disk/by-partlabel for user and mount it. Change-Id: Ib08023dc41a2268cef8751281c6e113eaf067204
2016-08-11Upgrade: update initialize - create home directorysubmit/tizen/20160812.055757submit/tizen/20160812.014407accepted/tizen/wearable/20160812.065557accepted/tizen/wearable/20160812.065442accepted/tizen/tv/20160812.065555accepted/tizen/tv/20160812.065445accepted/tizen/mobile/20160812.065600accepted/tizen/mobile/20160812.065440accepted/tizen/ivi/20160812.065602accepted/tizen/ivi/20160812.065448accepted/tizen/common/20160812.141035Sunmin Lee2-1/+9
Because the home directory path is different between 2.4 and 3.0, some additional actions for home directory is needed. The init-update.service (init-update.sh) does it. It preserves (not move) the previous home directory (/opt/home), and just add new home directory (/opt/usr/home). Change-Id: I5823c2d5902557f4b703a030ea5b144f65901222 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-08-09Upgrade: system upgrade package is addedSunmin Lee1-0/+8
For upgrade of RW partition, offline system update function of systemd is activated. Update scripts for each packages should be under the upgrade/update-script, and new files for update version should be under the upgrade/data. * The update scripts are executed alphabetically (ref: man ls). To specify the execution order explicitly, numeric prefix can be used such as: 00.first.patch.sh, 01.second.patch.sh Change-Id: I12a4a703cf252ed671ecd6d94cda5ff624e5dd87 Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
2016-07-29Description : Adding new package of liblazymount and build enviroment for ↵wchang kim2-0/+16
autotools Adding new pacakge for lazy mount feature. It has the library and path activator service for mounting user patition(/opt/usr). Adding the build environment for autotools. This change need the change of BuildArch for system-plugin. system-plugin-<version>.noarch.rpm --> system-plugin-<version>.<arch>.rpm Change-Id: I107e7610659fcbbcda7b8b27abb645251c069296 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-07-20Set the SMACK security label to run given executable file in systemd servicessubmit/tizen/20160721.003054accepted/tizen/wearable/20160721.091036accepted/tizen/tv/20160721.091324accepted/tizen/mobile/20160721.090506accepted/tizen/ivi/20160721.090757accepted/tizen/common/20160721.175837jooseong lee4-0/+4
Change-Id: I4ed51c4f9a533caf87094b22d917316f83730ccc Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
2016-07-05Description : Adding a service for fstrim for opt mount.submit/tizen/20160705.082718accepted/tizen/wearable/20160705.101926accepted/tizen/tv/20160705.101909accepted/tizen/mobile/20160705.101957accepted/tizen/ivi/20160705.101905accepted/tizen/common/20160705.170608wchang kim2-0/+14
Adding a service for fstrim for opt mount. Requested by profiling part. Change-Id: I4da82cf6e5979cc57f56e0db69723b177de1a050 Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-06-28Description : Fixed to fail umount /opt.submit/tizen/20160628.215737accepted/tizen/wearable/20160629.021623accepted/tizen/tv/20160629.021511accepted/tizen/mobile/20160629.021617accepted/tizen/ivi/20160629.021543accepted/tizen/common/20160629.222718wchang kim1-1/+1
When /opt is busy, umouting /opt is failed. This is workaround for this issue. Change-Id: I6b93f493e733cde193d7b81268c78aec7f325d1a Signed-off-by: Woochang Kim <wchang.kim@samsung.com>
2016-03-29[Temporary] For supporting MCD specific targetsubmit/tizen/20160329.115021accepted/tizen/wearable/20160329.121937accepted/tizen/tv/20160329.121922accepted/tizen/mobile/20160329.121908accepted/tizen/ivi/20160329.121955accepted/tizen/common/20160329.143303Kunhoon Baik1-0/+1
Change-Id: I9bf5f992aa593ed74d21874133341e1d59d22328
2016-03-17Change 3-partition to 2-partitionsubmit/tizen/20160317.010132accepted/tizen/wearable/20160317.040304accepted/tizen/tv/20160317.040238accepted/tizen/mobile/20160317.040226accepted/tizen/ivi/20160317.040318accepted/tizen/common/20160317.160352boseong choi1-0/+10
merge system-data partition and user partition add fstab_tm1(TM1), change fstab_initrd(circle) add umount-opt.service for umount /opt (symlink in local-fs-pre.target.wants) Change-Id: I44bfc2d6daea54af6da356552ddc91335d12a4de Signed-off-by: boseong choi <boseong.choi@samsung.com>
2015-12-10spreadtrum: Add csa mountsubmit/tizen/20151210.105925accepted/tizen/wearable/20151210.231020accepted/tizen/tv/20151210.230929accepted/tizen/mobile/20151210.230849Min Kang1-0/+10
add local-fs.target.wants/csa.mount and make directory /csa Change-Id: I64a262236a2db45a6415885aec4fc54a42ddfd1b Signed-off-by: Min Kang <min1023.kang@samsung.com>
2015-09-03Remove 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_mobileSangjung Woo1-1/+2
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>
2015-04-02system-plugin: Generate tizen environment service fileJiyoung Yun1-0/+11
Some important daemons need system-level shared environment variables such as DISPLAY. For this purpose, this patch generates the Environment file for system daemon. Change-Id: I995852d6537fbe6932ffff801b5f9e28635a76f4 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2015-03-18Add spec, license and systemd unit filesSuchang Woo1-0/+14
system-plugin and system-plugin-u3 packages are defined in .spec file. system-plugin package provides common files. and, system-plugin-u3 package provides files which are used only for U3/XU3 target. Signed-off-by: Suchang Woo <suchang.woo@samsung.com> Change-Id: Ied345423c7cee77219be52c73bc014b96efc4cc2