Skip to content
This repository was archived by the owner on May 7, 2021. It is now read-only.

Comments

WIP: check for files not present/changed after wiping the disk#776

Open
ajeddeloh wants to merge 1 commit intocoreos:masterfrom
ajeddeloh:wipe-root
Open

WIP: check for files not present/changed after wiping the disk#776
ajeddeloh wants to merge 1 commit intocoreos:masterfrom
ajeddeloh:wipe-root

Conversation

@ajeddeloh
Copy link
Contributor

Do not merge. Posting this so we have a tool to see what needs to be created by tmpfiles or stripped from the image we ship.


func getAllFiles(c cluster.TestCluster, m platform.Machine) map[string]string {
out := string(c.MustSSH(m, "sudo find / -ignore_readdir_race -mount -path /var -prune -o -type f -print0 | xargs -0 sudo md5sum"))
ret := map[string]string{}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should also get the permissions and extended attributes for comparison, as those will effect system behavior. In the very least compare ls -lZ.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants