You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time I run a sys upgrade I get "failed to sync jffs2 overlay" message in the log (log is configured during the setup by a custom script under /etc/uci-defaults). The error happens during execution of the command: "cp -a /tmp/root/upper/* / 2>/dev/null" in "libfstools/overlay.c". By the time the copy command runs, the files under /etc/uci-defaults are already deleted and it looks like the "deletion marker" files cannot be copied in this case.
I re-run the command myself after a successful upgrade and got the following logs.
cp -a /tmp/root/upper/* /root/test/
cp: can't create '/root/test/etc/uci-defaults/luci-sqm': Operation not permitted
cp: can't create '/root/test/etc/uci-defaults/ddns': Operation not permitted
cp: can't create '/root/test/etc/uci-defaults/bcp38': Operation not permitted
ls -la /tmp/root/upper/etc/uci-defaults/
c--------- 1 root root 0, 0 Nov 26 16:48 bcp38
c--------- 1 root root 0, 0 Nov 26 16:48 ddns
c--------- 1 root root 0, 0 Nov 26 16:48 luci-sqm
fntmx:
GL-B1300
19.07-SNAPSHOT
Every time I run a sys upgrade I get "failed to sync jffs2 overlay" message in the log (log is configured during the setup by a custom script under /etc/uci-defaults). The error happens during execution of the command: "cp -a /tmp/root/upper/* / 2>/dev/null" in "libfstools/overlay.c". By the time the copy command runs, the files under /etc/uci-defaults are already deleted and it looks like the "deletion marker" files cannot be copied in this case.
I re-run the command myself after a successful upgrade and got the following logs.
cp -a /tmp/root/upper/* /root/test/
cp: can't create '/root/test/etc/uci-defaults/luci-sqm': Operation not permitted
cp: can't create '/root/test/etc/uci-defaults/ddns': Operation not permitted
cp: can't create '/root/test/etc/uci-defaults/bcp38': Operation not permitted
ls -la /tmp/root/upper/etc/uci-defaults/
c--------- 1 root root 0, 0 Nov 26 16:48 bcp38
c--------- 1 root root 0, 0 Nov 26 16:48 ddns
c--------- 1 root root 0, 0 Nov 26 16:48 luci-sqm
More details: https://forum.openwrt.org/t/getting-error-failed-to-sync-jffs2-overlay/47742
The text was updated successfully, but these errors were encountered: