View Single Post
Old 09-18-2019, 08:00 AM   #114
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 2,804
Karma: 7025947
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Another way I just thought of for fixing that bug (yes, davidfor, I consider it a bug to scan files in a dotdir on a Linux app, regardless of if the Linux part is user-facing or not) in a semi-permanent way. If we created a LD_PRELOAD shim to prevent listing those hidden does, and made it persist through updates by adding it through ld.so.preload instead of an env var in the startup script, that should prevent libnickel from scanning those dirs. The biggest risk would be during development, as a bad shim would need a reset, but it should be pretty safe afterwards, even if the firmware changes drastically. @NiLuJe, what do you think?
geek1011 is offline   Reply With Quote