Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

stage1: update to systemd v225 on the coreos flavor #2308

Merged
merged 14 commits into from
Mar 23, 2016

Conversation

iaguis
Copy link
Member

@iaguis iaguis commented Mar 21, 2016

Fixes #1460
Fixes #2264
Fixes #1556
Closes #2295

@jonboulle
Copy link
Contributor

yeah

@iaguis iaguis force-pushed the iaguis/update-systemd-v225-coreos branch from 0c6be29 to 4d34df5 Compare March 21, 2016 15:09
@iaguis
Copy link
Member Author

iaguis commented Mar 21, 2016

Tests don't pass on Semaphore because we're testing src v222. When we decide we want to merge this (after v1.2.1), we can then test src v229 because there's no point on testing v222 anymore.

@iaguis iaguis changed the title (WIP) stage1: update to systemd v225 on the coreos flavor stage1: update to systemd v225 on the coreos flavor Mar 23, 2016
@alban
Copy link
Member

alban commented Mar 23, 2016

tests/README.md could be updated from v222 to v225, and maybe a couple of others. Visible with:

$ git grep v222

// include the exit status propagation code.
// TODO(iaguis): we should expect 5 as the exit status when we update to v229
waitOrFail(t, child, 0)
// Since systend v227, the exit status is propagated from the app to rkt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/systend/systemd

iaguis and others added 10 commits March 23, 2016 18:34
The exit status can be propagated from apps by using "systemctl exit"
since systemd v227. rkt checks the systemd version to know whether it
can use "systemctl exit". However, systemd from coreos is back porting
the patches, so we skip the systemd version check on the coreos flavor.

See rkt#1460
Now that the exit code is propagated from the app to rkt, returning 42
from /inspect would make the rkt command fails. The API service tests
don't actually test the exit code, so it is safe to remove that.
This reverts commit e9238f9.

Now that we updated to v225 on flavor coreos, We don't support old
systemd versions so we can actually check for the exit status
everywhere.
@iaguis iaguis force-pushed the iaguis/update-systemd-v225-coreos branch from 4d34df5 to 790ff03 Compare March 23, 2016 17:35
@alban
Copy link
Member

alban commented Mar 23, 2016

LGTM if green

@iaguis iaguis force-pushed the iaguis/update-systemd-v225-coreos branch 2 times, most recently from b08ecfc to 4ba22b5 Compare March 23, 2016 18:05
@iaguis iaguis force-pushed the iaguis/update-systemd-v225-coreos branch 2 times, most recently from 558593e to e870289 Compare March 23, 2016 18:31
gcc-4.8 crashes when building systemd v229.
@iaguis iaguis force-pushed the iaguis/update-systemd-v225-coreos branch from e870289 to 67f9c1d Compare March 23, 2016 18:39
@iaguis
Copy link
Member Author

iaguis commented Mar 23, 2016

Grün! \o/

@alban
Copy link
Member

alban commented Mar 23, 2016

LGTM!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants