Package: ganeti-instance-debootstrap / 0.16-6.1

Metadata

Package Version Patches format
ganeti-instance-debootstrap 0.16-6.1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
respect Linux capabilities 7 in cache.patch | (download)

create | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 [patch] respect linux capabilities(7) in cache

The default GNU tar configuration does not carry fancy extended
attributes and that is where, among other things, stuff like Linux
capabilities(7) are stored. This is kind of important because that's
how ping(8) works for regular users.

We shove --selinux and --acls in there while we're at it, because why
not. We never know what the future might bring, and it seems
silly *not* to create a complete archive.

Note that --xattrs-include='*' is important because, by default, GNU
tar will not include capabilities /even/ if --xattrs is specified on
the commandline, see this bug report for details:

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

fix sfdisk BLKRRPART.patch | (download)

common.sh.in | 5 5 + 0 - 0 !
1 file changed, 5 insertions(+)

 skip newer sfdisk's check using the blkrrpart ioctl
 Newer sfdisk versions (>= 2.26) issue a BLKRRPART ioctl to check if a device
 is in use prior to partitioning it. However, the BLKRRPART ioctl may fail for
 a number of other reasons, including when a device is allocated as
 non-partitionable using alloc_disk(1). Since DRBD and LVM devices are
 allocated as non-partionable, sfdisk will always think they're busy and fail.
 .
 Since we're dealing with DRBD and LVM devices mostly, we need to work our way
 around this and pass `--no-reread` if sfdisk supports it.