FS#69746 - [libguestfs] zerofree missing in guestfish

Attached to Project: Community Packages
Opened by Prem Anand (hprem) - Tuesday, 23 February 2021, 16:26 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:08 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Robin Broda (coderobe)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
On trying to run zerofree within guestfish, we see the error "'zerofree' is not available in this build of libguestfs"

Seems that zerofree is not supported. Please support this

❯ guestfish -a /dev/null run : supported
acl yes
augeas yes
blkdiscard yes
blkdiscardzeroes yes
btrfs yes
extlinux yes
f2fs yes
fstrim yes
gdisk yes
grub yes
hivex yes
inotify yes
journal yes
ldm yes
libtsk yes
libyara yes
linuxcaps yes
linuxfsuuid yes
linuxmodules yes
linuxxattrs yes
luks yes
lvm2 yes
mdadm yes
mknod yes
ntfs3g yes
ntfsprogs yes
realpath yes
rsync yes
scrub no
selinux no
selinuxrelabel no
sleuthkit yes
squashfs yes
syslinux yes
wipefs yes
xfs yes
xz yes
zerofree no <===<<< zerofree is claimed to be unsupported


Additional info:
* package version(s)

❯ pacman -Q libguestfs
libguestfs 1.42.0-5


Steps to reproduce:

❯ guestfish --rw -a /dev/null <<EOF
run
zerofree /dev/sda1
quit
EOF

*stdin*:2: libguestfs: error: zerofree: feature 'zerofree' is not available in this
build of libguestfs. Read 'AVAILABILITY' in the guestfs(3) man page for
how to check for the availability of features.

This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:08 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/libguestfs/issues/1
Comment by Toolybird (Toolybird) - Wednesday, 24 February 2021, 21:24 GMT
zerofree is currently in the AUR. Unless it moves to [community], Arch libguestfs cannot officially support it.

Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...