https://bugzilla.redhat.com/show_bug.cgi?id=1401320

This series contains two new operations.

The second -- and least controversial -- is "passwd-backups" which
removes files such as /etc/passwd-, /etc/shadow- and so on.

The first one ("backup-files") searches the whole guest filesystem for
any regular file which looks like an editor backup file, such as "*~"
and deletes it.  Unfortunately there are two problems with this
operation at the moment.  It's slow, taking 30 seconds to examine a
virt-builder fedora-25 barebones filesystem.  It can also remove
RPM-owned files (see https://bugzilla.redhat.com/show_bug.cgi?id=1404634).
It should possibly skip /usr or only check a whitelist of directories
such as /etc.

Rich.

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to