fsfreeze-hook script should also ignored dpkg generated files
Bug #1484990 reported by
Laurent Bigonville
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned | ||
qemu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello,
In the fsfreeze-hook script, the following code check if some of the files should be ignored:
# Check whether file $1 is a backup or rpm-generated file and should be ignored
is_ignored_file() {
case "$1" in
*~ | *.bak | *.orig | *.rpmnew | *.rpmorig | *.rpmsave | *.sample)
return 0 ;;
esac
return 1
}
The functions should probably also skip dpkg generated files.
I've found a list of the different extensions in the systemd source tree: https:/
To post a comment you must log in.
(late) Hi,
You are right Laurent, IMHO they should be added.
Not very critical since as of today there are no conffiles in there yet, but still right to do so.
Adding an Ubutu task to include the fix and actually also the script to better support the freeze/thaw operations.