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?
|