[Bug 1761740] Re: [PATCH] zram-config.service should start earlier - add "After=local-fs.target" and "Before=sysinit.target"
Mantas Kriaučiūnas
mantas at akl.lt
Wed Apr 11 09:44:25 UTC 2018
Eugene, thanks for including my patch into lp:~eugenesan/+git/zram-
config master , but please uncomment this line:
Before=sysinit.target
It's very important to mount /tmp zramfs before sysinit.target, because
some script in sysinit creates /tmp/.X11-unix and other important
folders and if /tmp is later mount as zramfs then these folders are
missing ant this prevents from starting graphical shell (GDM) and some
other services in Ubuntu 18.04
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zram-config in Ubuntu.
https://bugs.launchpad.net/bugs/1761740
Title:
[PATCH] zram-config.service should start earlier - add "After=local-
fs.target" and "Before=sysinit.target"
Status in zram-config package in Ubuntu:
Fix Committed
Bug description:
zram-config.service starts too late, because of this using zram for
/tmp and other system folder prevents from starting GDM and other
services in Ubuntu 18.04
Problem can be solved by adding these lines to /lib/systemd/system
/zram-config.service
[Unit]
After=local-fs.target
Before=sysinit.target
[Install]
WantedBy=sysinit.target
I'm attaching a patch for improved zram-config 0.6 by Eugene San, see
bug #1548424
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zram-config/+bug/1761740/+subscriptions
More information about the foundations-bugs
mailing list