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

FS#2640 - Failed to sync jffs2 overlay #7462

Open
openwrt-bot opened this issue Nov 28, 2019 · 0 comments
Open

FS#2640 - Failed to sync jffs2 overlay #7462

openwrt-bot opened this issue Nov 28, 2019 · 0 comments
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release

Comments

@openwrt-bot
Copy link

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

@aparcar aparcar added the release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray release/19.07 pull request/issue targeted (also) for OpenWrt 19.07 release
Projects
None yet
Development

No branches or pull requests

2 participants