Displaying 20 results from an estimated 1100 matches similar to: "*** buffer overflow detected *** accessing invalid FD in libguestfs"
2020 Feb 20
0
buffer overflow detected in collectd using libguestfs
We have extended collectd virt plugin to extract info about disk usage from
a libvirt domain using libguestfs.
We have had several issues with it which were raised here in 2018 by Peter
Dimitrov.
Currently the collectd plugin works fine and retrieves the required
statistics. Current collectd configuration says that interval of reading
statistics (interval of calling all plugins read functions) is
2020 Feb 26
1
Re: *** buffer overflow detected *** accessing invalid FD in libguestfs
On Wednesday, 26 February 2020 10:43:27 CET Richard W.M. Jones wrote:
> On Wed, Feb 26, 2020 at 11:21:18AM +0200, Veselin Kozhuharski wrote:
> > Hallo Rich,
> >
> > Here is the fd list and total number just before collectd application
> > crashes. Before that the number of used fd's is constantly increasing. It
> > looks like a fd leak inside libguestfs to me.
2009 May 28
2
[PATCH node] correctly use collectd udp dns entry
---
scripts/ovirt | 2 +-
scripts/ovirt-config-collectd | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 8296783..4a7cbc7 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@ -43,7 +43,7 @@ start() {
log "skipping ovirt-awake, oVirt identify service not available"
fi
- find_srv collectd tcp
+
2018 Nov 09
4
collectd leaks SIGCHLD == SIG_IGN into plugins
Peter Dimitrov and myself were debugging a very peculiar bug when
libguestfs is run as a plugin from collectd:
https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023
The long story short is that collectd leaks SIGCHLD == SIG_IGN setting
into plugins:
https://www.redhat.com/archives/libguestfs/2018-November/msg00095.html
This means that any plugin that does the usual
2008 Nov 16
1
Opening the 2.4 commit fest (RRD)
On Sun, Nov 16, 2008 at 11:08 AM, Arnaud Quette <aquette.dev at gmail.com> wrote:
>>> The remainder, until the -pre stage, will be:
>>> - the Powerman support (through the powerman driver) for more PDUs
>>> - the possible RRD integration into upslog
>>
>> It would be nice to have native RRD support in upslog, but we may also
>> want to point
2014 Oct 22
4
config file locations
Hi Gene,
On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote:
>> configure: error: libgd not found, required for CGI build
>>
>> And gdlib does not appear to be available from the repo's.
>
Sorry, I must have missed that message.
This is still with Ubuntu 10.04, right?
http://packages.ubuntu.com/source/lucid/nut lists the build dependencies,
2014 Oct 22
0
config file locations
On Tuesday 21 October 2014 22:06:48 Charles Lepple did opine
And Gene did reply:
> Hi Gene,
>
> On Oct 21, 2014, at 9:12 PM, Gene Heskett <gheskett at wdtv.com> wrote:
> >> configure: error: libgd not found, required for CGI build
> >>
> >> And gdlib does not appear to be available from the repo's.
>
> Sorry, I must have missed that message.
2018 Nov 13
4
Re: collectd leaks SIGCHLD == SIG_IGN into plugins
On Tue, Nov 13, 2018 at 10:04:33AM +0000, Daniel P. Berrangé wrote:
> On Fri, Nov 09, 2018 at 12:19:30PM +0000, Richard W.M. Jones wrote:
> > Peter Dimitrov and myself were debugging a very peculiar bug when
> > libguestfs is run as a plugin from collectd:
> >
> > https://www.redhat.com/archives/libguestfs/2018-November/thread.html#00023
> >
> > The long
2016 Aug 08
4
Mounting VM filesystem on host while VM running
Hello,
All my VMs are using LVs created on the host side.
I'm using collectd to monitor some of the ressources of my host as well
as the libvirt pluging to monitor my VMs.
Collectd has an interesting plugin ( df ) which can monitor the
filesystem usage.
I would like to use it to monitor the VMs filesytsem usage.
As it is obvious that if I mount the VM filesystem on the host while the
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
> That makes no sense because we are supposed to have just forked
successfully
I just realized libguestfs uses fork. Now we know why qemu-img worked - I
launched it with popen.
> So it must be something to do with collectd and how it runs programs.
> Is it using LD_PRELOAD trickery, or replacing libc, or using seccomp?
If I understand the question correctly - it's about how
2018 Nov 08
2
Re: guestfs_launch() fails when C application is started as a systemd service
Here are strace outputs per process.
strace_output.22076 is the plugin's pid. (A little before forking)
strace_output.22077 runs qemu-img
strace_output.22078 is a mystery to me
strace_output.22079 is rm -rf to the overlay image and its temporary dir.
Best Regards,
Peter
On Wed, Nov 7, 2018 at 4:38 PM Richard W.M. Jones <rjones@redhat.com> wrote:
> On Wed, Nov 07, 2018 at
2009 Sep 08
2
[PATCH node] Add support for automatic remote logging on PXE ovirt-node
From: root <root at chappy.(none)>
Use ovirt-config-logging in /etc/init.d/ovirt
---
scripts/ovirt | 19 ++++---------------
scripts/ovirt-config-logging | 2 +-
scripts/ovirt-functions | 4 ++++
3 files changed, 9 insertions(+), 16 deletions(-)
diff --git a/scripts/ovirt b/scripts/ovirt
index 4ff03f2..0c5e3be 100755
--- a/scripts/ovirt
+++ b/scripts/ovirt
@@
2009 Jul 28
1
[PATCH ovirt-node] Removed subpackages, stateful, stateless, logos, and selinux for inclusuion in Fedora
rhbz#:51422
---
ovirt-node.spec.in | 149 +++++++++------------------------------------------
1 files changed, 27 insertions(+), 122 deletions(-)
diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 3138011..b4e660d 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -43,76 +43,23 @@ Requires: nc
Requires: grub
Requires: /usr/sbin/crond
Requires: anyterm
2013 Jun 08
4
Using yum provider to install local RPM
Hey guys, puppet n00b here. I think I already found an answer for my
question here, but the topic was dated back in november of 2011, so I''m
hoping things have changed since then! Here''s the topic I''m referring to.
https://groups.google.com/forum/?fromgroups#!topic/puppet-users/oSHWWjMX-sE
I''m running:
CentOS 6.3
yum 3.2.29
puppet 3.2.1
To sum it up, I
2009 Jun 30
2
[PATCH node] Make all yes/no prompts consistent. rhbz#508778
Added a new function, "ask_yes_or_no", to ovirt-functions. It contains a
default prompt if none is provided.
Changed all prompts that ask for yes, no and/or abort to use this new
method.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
scripts/ovirt-config-boot-wrapper | 8 ++---
scripts/ovirt-config-collectd | 39 +++++++++++++++-----------
2018 Jun 26
2
Android NUT client?
I've been looking around but haven't been able to find even a mention of a
client on Android. Does one exist?
-Parker Reed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/nut-upsuser/attachments/20180626/4b7c026e/attachment.html>
2010 Feb 23
1
More complete patch...
This patch supercedes the previous one by moving the functionality for
relocating files into the make system.
2018 Nov 07
2
Re: guestfs_launch() fails when C application is started as a systemd service
Thank you, Rich,
This was the issue indeed. export LIBGUESTFS_BACKEND=direct fixed it.
The next step I tried was to integrate libguestfs in collectd virt plugin
to collect this data automatically.
In this case I'm having an unknown error in add_libvirt_dom() (same with
add_domain) when it's invoking qemu-img to create overlay image.
There is no difference between manual and service
2018 Nov 13
2
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
I was extending the virt plugin.
It already collects similar data (about VMs) using Libvirt's API, but lacks
disk usage information.
I went through some hoops to link libguestfs correctly to collectd.
Is it okay to just include fork(), waitpid() example? It does reproduce the
issue.
Best Regards,
Peter
On Tue, Nov 13, 2018 at 1:34 PM Richard W.M. Jones <rjones@redhat.com>
wrote:
2018 Nov 13
2
Re: [collectd] collectd leaks SIGCHLD == SIG_IGN into plugins
Hi,
thank you very much for reporting this! Sounds like a bug in the exec plugin –
it never ceases to amaze me how many issues a single plugin can have ;)
> > > This means that any plugin that does the usual pattern of:
> > >
> > > pid = fork ();
Note that the exec plugin is the *only* plugin that does this. All other
plugins are forbidden to fork(), popen() or