Displaying 20 results from an estimated 10000 matches similar to: "Writing policy for guestfsd in libguestfs live"
2011 May 23
1
Remote use of libguestfs
[Stefan asked an interesting question on IRC about how / whether it is
possible to use libguestfs remotely. The answer is too detailed for IRC]
Consider this model of the libguestfs architecture[i]:
(2) libguestfs (3) Linux
(1) API protocol syscalls
program <--------> libguestfs <--------> qemu <-------->
2011 Jan 26
1
Connecting to existing guests / guestfsd
[Continuing the discussion from:
http://lists.gnu.org/archive/html/qemu-devel/2011-01/msg02600.html
Sent to libguestfs mailing list]
What we are looking at is something like this:
guestfish --rw -i LiveGuest
[connected read-write to a live guest]
><fs> copy-in files /tmp
This is not possible at the moment: it's causes disk corruption to
write to disks attached to a live
2012 Sep 13
2
guestfsd process dead while quitting guestfish
I've compiled guestfsd and run it on CentOS 6.3. It worked well, but when I
quit guestfish, the guestfsd process in guest is always dead itself
automatically. Is this a bug? or did I miss something?
thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libguestfs/attachments/20120913/dac7ec76/attachment.htm>
2014 May 14
2
guestfsd crashes when the handle is closed
Hello,
I launched guestfsd in my guest with this command : guestfsd* -rv*.
When i close the handle the deamon crashes.
This is the output i got (Deamon side) :
guestfsd: main_loop : new request, len 0x28
fsync /dev/sda
/dev/sr0 : No medium found
guestfsd : main_loop : proc 282
2015 Mar 04
3
supermin on arm
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I was testing oz/imagefactory on 32 bit arm, you have to have
kernel-lpae installed to run kvm. while you can have the regular
kernel installed also. You end up having the system booting the regular
kernel and you do not get kvm. Ideally supermin will work with the lpae
kernel.
2014 Oct 01
0
Useful tip: Run guestfsd under gdb and print stack trace on exit
Useful for tracking down segfaults in the daemon. This is not
upstreamable right now.
Example usage:
$ ./run guestfish -v -x -a /dev/null run : debug segv ""
[...]
libguestfs: trace: launch = 0
libguestfs: trace: debug "segv" ""
guestfsd: main_loop: new request, len 0x34
Program received signal SIGSEGV, Segmentation fault.
debug_segv (subcmd=0x4687050
2017 Oct 12
1
[PATCH v2] daemon: proto: Make the guestfsd main loop messages consistent and useful.
After this change the debugging output looks like this:
guestfsd: enter: mount (0x1) request length 64 bytes
commandrvf: stdout=n stderr=y flags=0x0
commandrvf: udevadm --debug settle -E /dev/sda1
calling: settle
command: mount '/dev/sda1' '/sysroot//'
[ 0.951731] EXT4-fs (sda1): mounting ext2 file system using the ext4 subsystem
[ 0.954585] EXT4-fs (sda1):
2015 Oct 17
0
Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
On Sat, Oct 17, 2015 at 09:40:20PM +0300, Efstratios Skleparis wrote:
> Dear all,
>
> After successfully compiling libguestfs on XEN hypervisor [running
> ubuntu server 12.04 x64bit] i tried to ./run libguestfs-test-tool
> but I got this error:
>
> guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found
> (required by guestfsd)
The error means the
2015 Oct 17
0
guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
Dear all,
After successfully compiling libguestfs on XEN hypervisor [running ubuntu
server 12.04 x64bit] i tried to ./run libguestfs-test-tool but I got this
error:
guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found
(required by guestfsd)
But I have already installed AUGEAS tool.. if I type on terminal for
example augtool it works
Please check the attached .txt file with
2012 Sep 12
2
compile guestfsd
On Wed, Sep 12, 2012 at 04:39:48PM +0800, Richard Huang wrote:
> Hi Richard,
>
> I want to compile guestfsd only for some guests, including centos, debian,
> variable versions. But I didn't find scripts for it. Can you guide me how
> to do this?
I'm unclear exactly what the question is. You can compile guestfsd
(just the daemon) this way:
./configure \
2014 May 15
2
Re: guestfsd crashes when the handle is closed
Hello,
So in ubuntu1204 guest This is what i got :
*(gdb)* bt full
* #0* 0x005a9fc0 in exit () from /lib/i386-linux-gnu/libc.so.6
No symbol table info available.
* #1* 0x0805f7dd in ?? ()
No symbol table info available.
* #2* 0x0804aedf in ?? ()
No symbol table info available.
*#3* 0x005904d3 in __libc_start_main () from
/lib/i386-linux-gnu/libc.so.6
No symbol
2020 Oct 17
1
[PATCH] Use guestfsd binary to auto-generate library dependencies for appliance
The ELF NEEDED are used to determine guestfsd's library dependencies
with help from the dynamic linker and the package manager.
This was prompted by Debian bug #972241 which was caused by a
libtirpc package renaming in Debian/unstable because the SONAME had
been changed.
---
appliance/Makefile.am | 26 ++++++++++++++++-
appliance/packagelist.in | 62
2012 Sep 21
1
simplify debugging of guestfsd
Sometimes guestfsd fails to gather info, and the virt-<tool> -v output
is usually not useful to figure out whats going on within the temporary
guest. I see the /init script has support to run guestfsd with a debug
tool, which is currently valgrind.
Granted, valgrind support is a compile time thing. What would be a good
way to optionally run guestfsd with strace or gdb?
Should each tool get a
2014 May 29
2
Re: libguestfs error
Hi Rich
Yes Rich I have tried libguesftfs on powerpc and it was working fine.For
some reason i had to format my hard disk and now when I'm again compiling
it,I'm getting following error....
Below is the status of configure ..
This is how we have configured the optional components for you today:
Daemon .............................. yes
Appliance ........................... yes
QEMU
2012 Sep 28
2
no man page for guestfsd
rpmlint complains that guestfsd has no man page. I think its a good
idea to provide one also for guestfsd.
Olaf
2015 Oct 18
2
Re: [Error] guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found (required by guestfsd)
Goodmornin,
Since I am running ubuntu I did " nm -D /usr/lib64/libaugeas.so.0 | grep
AUGEAS " and I didn't find "AUGEAS_0.16.0" , but I got this instead :
0000000000000000 A AUGEAS_0.1.0
0000000000000000 A AUGEAS_0.10.0
0000000000000000 A AUGEAS_0.11.0
0000000000000000 A AUGEAS_0.12.0
0000000000000000 A AUGEAS_0.14.0
0000000000000000 A AUGEAS_0.15.0
0000000000000000 A
2013 Aug 19
0
Re: missing chdir before chroot in guestfsd
On Sun, Aug 18, 2013 at 02:29:15PM +0200, Olaf Hering wrote:
>
> daemon.c does just a chroot, without chdir. The result is that pwd does not
> work correctly (it causes fs/dcache.c:prepend_unreachable() to add the
> unreachable string). A workaround is to add "cd /" before each sh command.
>
> ><fs> mount /dev/sda2 /
> ><fs> sh "cd / ; chroot
2013 Aug 18
3
missing chdir before chroot in guestfsd
daemon.c does just a chroot, without chdir. The result is that pwd does not
work correctly (it causes fs/dcache.c:prepend_unreachable() to add the
unreachable string). A workaround is to add "cd /" before each sh command.
><fs> mount /dev/sda2 /
><fs> sh "cd / ; chroot / ; /bin/pwd"
/
><fs> sh "/bin/pwd"
(unreachable)/
><fs> sh
2014 Feb 25
4
Problem with febootstrap version while compiling guestfsd in centos6.5
Hello,
I am try to compile guestfsd using this
link<http://thr3ads.net/libguestfs/2012/09/2100168-Re-compile-guestfsd>.
I am using libguestfs-1.24.4.tar.gz
After running ./configure with disable options i get a message claiming a
febootstrap >=3.2.
I already installed febootstrap-3.21-4.el6x86_64.rpm for centos6.5.
In the rpm description i found a note telling that this rpm will
2012 Mar 04
1
can`t start guestfsd daemon inside guest
hi Mr Rich
As you recommended, I switched to Fedora 16.
I also built a guest machine with Fedora 16 Mini version.
Inside the guest I? installed libguestfs-live-service package but I failed? to start the guestfsd daemon :
??? [root at Fedora16 ~]# guestfsd -vr
??? verbose daemon enabled
??? linux commmand line: BOOT_IMAGE=/vmlinuz-3.2.7-1.fc16.i686.PAE root=/dev/mapper/vg_fedora16-lv_root ??? ro