summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-core/systemd/systemd
Commit message (Collapse)AuthorAgeFilesLines
* systemd: patch in watchdog device configuration changeEdward A. James2018-04-102-0/+214
| | | | | | | upstream: https://github.com/systemd/systemd/pull/7352 Change-Id: I62df65eeec786890c0a7b923fd0455f7869f38b9 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* Yocto 2.4Brad Bishop2018-03-151-0/+56
| | | | | | | | Move OpenBMC to Yocto 2.4(rocko) Tested: Built and verified Witherspoon and Palmetto images Change-Id: I12057b18610d6fb0e6903c60213690301e9b0c67 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Systemd: backport a new api for uuid generationYong Li2018-02-013-0/+867
| | | | | | | | | | | | | | | | | The current uuid generation method just export the machine-id, it does not match the systemd description (https://www.freedesktop.org/software/systemd/man/machine-id.html): This ID uniquely identifies the host. It should be considered "confidential", and must not be exposed in untrusted environments, in particular on the network. If a stable unique identifier that is tied to the machine is needed for some application, the machine ID or any part of it must not be used directly. Backport the new sd_id128_get_machine_app_specific from systemd 233, to replace the old uuid generation method. Change-Id: I44e7b32ca951a9fa591761c3a3e4f27da04d2b6f Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
* Reduce service restart limit from 3 to 2 on failsAndrew Geissler2018-01-231-2/+2
| | | | | | | | | | | | | | | Further testing has shown that with core files enabled, it's possible to exceed the 10s default interval time when doing 3 restarts. Since all testing has shown either 1 restart fixing the issue, or no restarts fixing the issue, reduce the restart limit from 3 to 2 to ensure even if the service is core dumping, the restart limit will be hit within the 10s. Resolves openbmc/openbmc#2559 Change-Id: Ie1dac96eb1b4ced0bf166c12419db26924104ab4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* Exclude /tmp/images from cleanupGunnar Mills2018-01-171-0/+3
| | | | | | | | | | | | | | /tmp is deleted every 10 days /usr/lib/tmpfiles.d/tmp.conf does this cleanup with this entry, "q /tmp 1777 root root 10d". Exclude /tmp/images from the cleanup, by adding "x /tmp/images" to /usr/lib/tmpfiles.d/software.conf, if a feature of the machine is obmc-ubi-fs or openpower-ubi-fs. Resolves openbmc/openbmc#2544 Change-Id: I3ead88724adcd63ebfd809d310109a19232b1def Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Set default restart policy for phosphor servicesAndrew Geissler2017-09-261-0/+20
| | | | | | | | | | | | | | | | | | | | | Reduce number of service restarts and increase wait time between restarts. - Change the StartLimitBurst to 3 Five just seems excessive for our services in openbmc. In all fail scenarios seen so far (other then with phosphor-hwmon), either restarting once does the job or restarting all 5 times does not help and we just end up hitting the 5 limit anyway. - Change the RestartSec from 100ms to 1s. When a service hits a failure, our new debug collection service kicks in. When a core file is involved, it's been found that generating 5 core files within ~500ms puts a huge strain on the BMC. Also, if the bmc is going to get a fix on a restart of a service, the more time the better (think retries on device driver scenarios). Change-Id: I0e5bb3f32022cdb72d00f1a861a69653ef937cf1 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Revert "systemd: Configure shutdown watchdog to 20min"Charles Paul Hofer2017-08-281-15/+0
| | | | | | | | Resolves openbmc/openbmc#1938 This reverts commit 45af9a22aabf38474a00698f511e334c14d84c76. Change-Id: I482d8b14ce1cfcb9022973a9412adff46f458f5f Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
* systemd: Patch to add the Synchronize journal dbus methodAdriana Kobylak2017-08-072-0/+388
| | | | | | | | | | The Synchronize method would be called when an error log is committed to get all the entries flushed into the journal. These patches have been submitted upstream and can be removed once the changes are integrated into systemd. Change-Id: I89059d438870803b41bafdb4de3fb11eba3c5fd2 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Don't return the error if unable to create the network namespaceRatan Gupta2017-07-251-0/+39
| | | | | | | | | | | | | On systems where kernel is not configured with namespace support then don't return error during setting up network namespace. Rationale to not enable the kernel with namespace support as it brings lot of unnecessary code. Resolves openbmc/openbmc#1949 Change-Id: I3b52a8c61b9bd3e3fff02cfab998c3746b8b72c6 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Modify the systemd patch to match the correctSaqib Khan2017-04-061-1/+3
| | | | | | | | | | | | Makefile. Note: This is part of the change required to upgrade systemd to version 232. Resolves openbmc/openbmc#932 Change-Id: Ia529e301c63938a68e1acd3eb74242c2dd92ba3d Signed-off-by: Saqib Khan <khansa@us.ibm.com>
* Cherry-pick systemd mangle-escape patchBrad Bishop2017-01-192-0/+172
| | | | | | | systemd/systemd#5073 Change-Id: Ie0c5736e5ad5a9fff8c0d191852ffb62e0441109 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com?
* systemd: Configure shutdown watchdog to 20minAndrew Jeffery2016-11-231-0/+15
| | | | | | | | | | | | There were reports of the shutdown watchdog firing in #522 which caused the flashing process to fail. Andrew Geissler suggested he reached ~77% before the watchdog bit, which by default is configured at 10 minutes. Back-of-the-envelope calculations suggest it would've taken approximately 13 minutes to complete the flash, therefore bump the number to 20min to give ourselves a bit of head-room. Change-Id: I967b13799469d22a380b29f5566ab8cc9432ce8c Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
* systemd: add patch for PAM enableEdward A. James2016-10-211-0/+101
| | | | | | | | | | the pam_systemd library wasn't compiling due to logind dependencies and shared library issues. resolves openbmc/openbmc#619 Change-Id: I2e152c6e989025d28051008ebd032d8e696cfe68 Signed-off-by: Edward A. James <eajames@us.ibm.com>
* systemd: Add syncronization points for OpenBMCBrad Bishop2016-09-061-2/+0
| | | | | | | | Add systemd syncronization targets to facilitate expressing ordering dependencies. Change-Id: I11d4fb2b8ade8d3ae74ddea44585153e2f59130f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* systemd: export message_append_cmdlineBrad Bishop2016-08-301-0/+323
| | | | | Change-Id: I337ebf4eda95597b59778c7f6198fa5388472c2e Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* systemd: Add OpenBMC standby targetBrad Bishop2016-07-111-0/+2
| | | | | | | Add a target pulled in by multi-user to which Phosphor applications can be added. This is an organizational change only. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* meta-phosphor: Remove unused systemd patchPatrick Williams2016-06-241-1209/+0
| | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Move systemd patches from yocto-poky tree.Patrick Williams2016-03-071-0/+1209
| | | | Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Make networkd grab dhcp addressBrad Bishop2015-10-301-0/+4
OpenPOWER on IntegriCloud