"swap disable" error: no such file or directory |
|||
Issue descriptionRunning "swap disable" without first running "swap enable" produces the ENOENT error above and doesn't disable swap. As a workaround, issue these commands: swap enable 4000 swap disable After doing this once, the problem is gone.
,
Jun 24 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/ab4842b5117c45fcc4c52aabe7f06b08e8658c0c commit ab4842b5117c45fcc4c52aabe7f06b08e8658c0c Author: Luigi Semenzato <semenzato@chromium.org> Date: Sat Jun 24 05:56:46 2017 swap.sh: fix "swap disable" bug Fix it by consolidating all persistent variable settings to use the "create_write_file" function. BUG= chromium:736180 TEST=ran on device, enable/disable, remove /var/lib/swap sometime, try other variables too Change-Id: Ied8fc715177a7d31902ae205e40b7cbe4c30d574 Reviewed-on: https://chromium-review.googlesource.com/545259 Commit-Ready: Luigi Semenzato <semenzato@chromium.org> Tested-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Luigi Semenzato <semenzato@chromium.org> Reviewed-by: Ben Cheng <bccheng@chromium.org> [rename] https://crrev.com/ab4842b5117c45fcc4c52aabe7f06b08e8658c0c/chromeos-base/swap-init/swap-init-0.0.1-r19.ebuild [modify] https://crrev.com/ab4842b5117c45fcc4c52aabe7f06b08e8658c0c/chromeos-base/swap-init/files/init/swap.sh
,
Jul 26 2017
,
Jan 22 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by semenzato@chromium.org
, Jun 23 2017