[openstack-dev] Minimum version of shred in our supported distros?

Tony Breeds tony at bakeyournoodle.com
Mon Aug 21 00:20:11 UTC 2017


On Sun, Aug 20, 2017 at 03:43:22PM +1000, Michael Still wrote:
> Hi,
> 
> nova.virt.libvirt.storage.lvm.clear_volume() has a comment that we could
> use shred to zero out volumes efficiently if we could assume that shred
> 8.22 was in all our downstream distros [1]. shred 8.22 shipped in 2013 [2].
> 
> Can we assume that thing now? xenial appears to ship with 8.25 for example.
> If so, we could drop a reasonably complicated caller of dd, and it would
> make moving to privsep a tiny bit easier.

To find this out is part science and part guesswork.

Starting with:
https://github.com/openstack/requirements#finding-distro-status

I get the following:

Xenial: [ 8.25 ]
 https://packages.ubuntu.com/search?keywords=coreutils&searchon=names&suite=xenial-updates&section=all
Fedora: [ 8.27 ]
 https://apps.fedoraproject.org/packages/coreutils
Gentoo: [ 8.27 ] 
 https://packages.gentoo.org/packages/sys-apps/coreutils
RHEL7 - Centos 7: [ 8.22 ]
 http://mirror.centos.org/centos/7/os/x86_64/Packages/coreutils-8.22-18.el7.x86_64.rpm
opensuse: [ No idea ]
 https://build.opensuse.org/package/show/Base:System/coreutils
 But pages like:
 https://www.suse.com/support/update/announcement/2013/suse-ru-20130546-1.html
 imply that 8.12 is still a thing in SLES-11

So while we support SLES 11 I don't think we can make that assumption.
Which of course begs the follow-up question which distros do we care
about.

Yours Tony.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170821/3b1d1df5/attachment.sig>


More information about the OpenStack-dev mailing list