Package: guestfish
Version: 1:1.48.6-2
Severity: normal
X-Debbugs-Cc: a...@king.net.nz

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

When trying to use guestfish with a remote filesystem image over ssh, I get an 
error:

$ echo -e "run\nlist-filesystems"| LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 
guestfish --ro -a ssh://localhost/home/alex/temp/filesystem
libguestfs: trace: set_verbose true
...
libguestfs: command: run: \ ./ssh://localhost/home/alex/temp/filesystem
qemu-img: Could not open './ssh://localhost/home/alex/temp/filesystem': Could 
not open './ssh://localhost/home/alex/temp/filesystem': No such file or 
directory
libguestfs: error: qemu-img info: ssh://localhost/home/alex/temp/filesystem: 
qemu-img info exited with error status 1, see debug messages above
...

If I run it instead on a local filesytem, I get the following:

$ echo -e "run\nlist-filesystems"| guestfish --ro -a filesystem
/dev/sda: ext4

(filesystem was created with:
truncate -s 10M filesystem
/usr/sbin/mke2fs -t ext4 -Elazy_itable_init=0,lazy_journal_init=0 filesystem)

The manpage documents ssh support (under ADDING REMOTE STORAGE).

Why does ssh support not work?

Thanks,
Alex King

P.S. this machine still has some packages from bullseye, but the packages in
question are from bookworm.  I have the same problem on a pure-bookworm 
system.

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 12.0
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-23-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_NZ:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages guestfish depends on:
ii  libc6         2.36-9
ii  libconfig9    1.5-0.4
ii  libguestfs0   1:1.48.6-2
ii  libreadline8  8.1-1
ii  libtinfo6     6.2+20201114-2
ii  libtirpc3     1.3.1-1+deb11u1
ii  libxml2       2.9.10+dfsg-6.7+deb11u4

guestfish recommends no packages.

guestfish suggests no packages.

-- no debconf information

Reply via email to