Backtrace when cleaning on missing directory
If a directory is missing during the cleanup phase, it crashes with a backtrace:
DIE:src/opkg-trans/main.c:126 (main):[string "transaction"]:257: [string "backend"]:743: Could not read directory //etc/uci-defaults: No such file or directory
Stack Traceback
===============
(2) C function 'function: 0x1672ee0'
(3) upvalue C function 'error'
(4) Lua function '?' at line 257 of chunk '"transaction"]'
Local variables:
operations = nil
journal_status = table: 0x1673f40 {}
lfile = userdata: 0x1673ed8
step = Lua function '?' (defined at line 203 of chunk "transaction"])
dir_cleanups = table: 0x17c15e0 {}
status = table: 0x1674000 {minidlna:table: 0x1655760, kmod-fs-udf:table: 0x16655f0, libevent2:table: 0x16362b0 (more...)}
errors_collected = table: 0x16ae9b0 {}
ok = boolean: false
err = string: "[string \"backend\"]:743: Could not read directory //etc/uci-defaults: No such file or directory"
(5) tail call
Local variables:
(*temporary) = C function: 0x1672ee0
(6) Lua function '?' at line 347 of chunk '"transaction"]'
Local variables:
queue_cp = table: 0x162aa20 {1:table: 0x1672e20}
(*temporary) = Lua function '?' (defined at line 326 of chunk "transaction"])
Aborted