Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: Fix a failure in systemd-sysctl during a startup of systemd-236 #2373

Merged

Conversation

codesnake
Copy link
Collaborator

Backport a patch to fix a failure in systemd-sysctl during a startup of systemd-236.

On WeTek Hub and WeTek Play 2 systemd-sysctl fails to start with the following errors:

Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '1' to 'fs/protected_hardlinks': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '1' to 'fs/protected_symlinks': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '0' to 'dev/cdrom/lock': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '0' to 'dev/cdrom/autoclose': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '16384' to 'vm/min_free_kbytes': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '1' to 'net/ipv4/tcp_no_metrics_save': Input/output error
Jan 01 02:00:22 LibreELEC systemd-sysctl[2665]: Couldn't write '10' to 'vm/swappiness': Input/output error
Jan 01 02:00:22 LibreELEC systemd[1]: systemd-sysctl.service: Main process exited, code=exited, status=1/FAILURE
Jan 01 02:00:22 LibreELEC systemd[1]: systemd-sysctl.service: Failed with result 'exit-code'.
Jan 01 02:00:22 LibreELEC systemd[1]: Failed to start Apply Kernel Variables.

The patch in this PR fixes the issue.

@Ray-future Ray-future merged commit f115a20 into LibreELEC:master Jan 2, 2018
@Ray-future
Copy link
Contributor

Thank you

@codesnake
Copy link
Collaborator Author

Thanks @HiassofT for finding the roots of the issue and a fix for it.

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

Successfully merging this pull request may close these issues.

None yet

2 participants