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
Although fs_hash.sh collects extended attribute data using
getfattr, that data is not parsed by the add_files method in the
ImageLayer class. This creates a serious bug when running Tern
on a host OS with selinux enabled, even when running Tern in a
container. This commit fixes this issue by adding more
checks when parsing the results from the fs_hash.sh script.
Since it is a lot of code, we add an internal function
_parse_hash_content which takes care of creating a list of
FileData objects from the hashed contents.
Fixes#1100
Signed-off-by: Nisha K <[email protected]>
0 commit comments