Your message dated Fri, 13 Jan 2012 11:22:15 +0400
with message-id <[email protected]>
and subject line Re: Bug#655604: /usr/bin/qemu-nbd: qemu-nbd wants full path
name
has caused the Debian Bug report #655604,
regarding /usr/bin/qemu-nbd: qemu-nbd wants full path name
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
655604: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=655604
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: qemu-utils
Version: 1.0+dfsg-2
Severity: normal
File: /usr/bin/qemu-nbd
the command
# sudo qemu-nbd -P 1 -c /dev/nbd1 debian_squeeze.qcow2
fails, whereas
# sudo qemu-nbd -P 1 -c /dev/nbd1 `pwd`/debian_squeeze.qcow2
succeds
It seems that qemu-nbd wants full path names.
a.
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing'), (450, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages qemu-utils depends on:
ii libaio1 0.3.109-2
ii libc6 2.13-24
ii libcurl3-gnutls 7.23.1-3
ii libglib2.0-0 2.30.2-4
ii libiscsi1 1.0.1-1
ii librados2 0.38-1
ii librbd1 0.38-1
ii libuuid1 2.19.1-5
ii zlib1g 1:1.2.3.4.dfsg-3
qemu-utils recommends no packages.
Versions of packages qemu-utils suggests:
ii debootstrap 1.0.38
-- no debconf information
--
Andrea Mennucc
"E' un mondo difficile. Che vita intensa!" (Tonino Carotone)
--- End Message ---
--- Begin Message ---
On 12.01.2012 14:43, A Mennucc wrote:
> Package: qemu-utils
> Version: 1.0+dfsg-2
> Severity: normal
> File: /usr/bin/qemu-nbd
>
> the command
> # sudo qemu-nbd -P 1 -c /dev/nbd1 debian_squeeze.qcow2
> fails, whereas
> # sudo qemu-nbd -P 1 -c /dev/nbd1 `pwd`/debian_squeeze.qcow2
> succeds
>
> It seems that qemu-nbd wants full path names.
No. Qemu-nbd uses regular open(2) routine to open the
file you specified. The difference here is sudo, which,
in youor case, apparently changes your working directory.
Without sudo it works as expected.
So closing this bugreport.
Thanks,
/mjt
--- End Message ---