qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1484990] Re: fsfreeze-hook script should also ignored


From: ChristianEhrhardt
Subject: [Qemu-devel] [Bug 1484990] Re: fsfreeze-hook script should also ignored dpkg generated files
Date: Wed, 13 Dec 2017 10:00:18 -0000

(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.

** Also affects: qemu (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: qemu-18.04

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1484990

Title:
  fsfreeze-hook script should also ignored dpkg generated files

Status in QEMU:
  New
Status in qemu package in Ubuntu:
  New

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://github.com/systemd/systemd/blob/master/src/basic/util.c#L1871

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1484990/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]