-
Notifications
You must be signed in to change notification settings - Fork 26
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
zram_tmp.service breaks my system #4
Comments
It works here without any problem. Check whether "systemctl enable zram_tmp.service" actually created the correct symlink in /etc/systemd/system/local-fs-pre.target.wants Since you use /etc/systemd/system/zram_tmp.service, I suppose that you modified it. Note that the default option -d1 requires that you set num_devices=2 (or larger) in /etc/modprobe.d/zram.conf Perhaps journalctl _SYSTEMD_UNIT=zram_tmp.service will show you another cause of failure. |
Hmm
And it doesn't work. There's no log in |
Do I have to mask the tmp.mount ?/ I just did a small test, and I left tmp.mount unmasked, and it worked:
|
Are you using the current systemd-218? IIRC some older version did not support local-fs-pre.target |
I was using 215, but I thought maybe it's not enough, so I upgraded it to 218. |
I know where the problem was, and I have no idea how this could happened, but somehow I left |
I just wanted to test
zram_tmp.service
andzram_swap.service
in my systemd box, but only thezram_swap.service
works well. The other breaks my system from the start for some reason. I don't know what I did wrong -- I masked the tmp.mount via:and enabled
zram_tmp.service
:When I boot, it looks like it didn't start with the system:
So there's no /tmp mount, and that's my system went RO, and some services were broken.
Surprisingly, when I start the service manually, it works.
The text was updated successfully, but these errors were encountered: