Displaying 20 results from an estimated 500 matches similar to: "[PATCH] tmpdirs: Blame systemd because su is broken."
2018 Feb 07
1
[PATCH] tmpdirs: Make the ‘su broken’ error message actionable.
Revert "tmpdirs: Blame systemd because su is broken."
This reverts commit 9464304d7a6b9b01e9eee32620ef3831e2b10875.
Replace with an actionable error message.
---
lib/tmpdirs.c | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/lib/tmpdirs.c b/lib/tmpdirs.c
index bda3ee694..804c58be0 100644
--- a/lib/tmpdirs.c
+++ b/lib/tmpdirs.c
@@ -180,18 +180,22 @@
2016 Feb 02
0
[PATCH 2/3] lib: extract lazy tmpdir creation helper
Extract the bit of code for lazy creation of a temporary directory, so
it can be used for more directories as well.
This is just code motion, with no behaviour changes.
---
src/tmpdirs.c | 28 +++++++++++++++++-----------
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/src/tmpdirs.c b/src/tmpdirs.c
index 9154d8b..2ae9c74 100644
--- a/src/tmpdirs.c
+++ b/src/tmpdirs.c
@@ -119,6
2016 Feb 09
2
[PATCH 1/2] tmpdirs: centralize permissions handling
Move to lazy_make_tmpdir the logic for making world-readable (but only
for root) newly-created temporary directories, removing the non-fatal
code doing that in guestfs_impl_launch.
Followup of commit 772f649e595d202bdb67f05aeb62157c1104be89.
---
src/launch.c | 7 -------
src/tmpdirs.c | 30 ++++++++++++------------------
2 files changed, 12 insertions(+), 25 deletions(-)
diff --git
2016 May 12
0
[PATCH 2/4] src/tmpdirs.c: Add internal documentation.
---
src/tmpdirs.c | 45 ++++++++++++++++++++++++++++++++++-----------
1 file changed, 34 insertions(+), 11 deletions(-)
diff --git a/src/tmpdirs.c b/src/tmpdirs.c
index afa3dd4..293e4ea 100644
--- a/src/tmpdirs.c
+++ b/src/tmpdirs.c
@@ -16,6 +16,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+/**
+ * Handle temporary directories.
+ */
+
#include
2016 Feb 02
0
[PATCH 3/3] New API: get-sockdir
Introduce a new read-only API to get a path where to store temporary
sockets: this is different than tmpdir, as we need short paths for
sockets (due to sockaddr_un::sun_path), and is either XDG_RUNTIME_DIR
if set, or /tmp.
Adapt guestfs_int_create_socketname to create sockets in that location,
checking whether the resulting path still fits in the limited buffer.
Furthermore, print sockdir and
2016 Feb 03
0
[PATCH v2 2/2] New API: get-sockdir
Introduce a new read-only API to get a path where to store temporary
sockets: this is different from tmpdir, as we need short paths for
sockets (due to sockaddr_un::sun_path), and it is either
XDG_RUNTIME_DIR if set, or /tmp; adapt guestfs_int_create_socketname
to create sockets in that location.
Furthermore, print sockdir and XDG_RUNTIME_DIR in test-tool for
debugging.
---
fish/guestfish.pod
2016 Feb 02
6
[PATCH 1/3] launch: add internal helper for socket paths creation
Introduce an internal helper to create paths for sockets; will be useful
for changing later the logic for placing sockets.
---
src/guestfs-internal.h | 1 +
src/launch-direct.c | 4 +++-
src/launch-libvirt.c | 10 ++++++----
src/launch.c | 15 +++++++++++++++
4 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index
2007 Apr 16
1
CentOS 5.0 install fails every time.
Hey all,
I've downloaded the latest CentOS 5.0 and the md5sums look good. I
loop-back mounted the ISOs and pulled all of the RPMs out into a
single dir. I have an existing PXE environment with several different
distros to which I added 5.0. RPMs are served from my HTTPS server.
I used the isolinux.cfg that was provided and all *looks* good.
The problem is that on 4 *very* different
2016 May 12
0
[PATCH 3/4] appliance: Move code for creating supermin appliance directory to tmpdirs.c.
This is largely code motion.
---
src/appliance.c | 40 +++++++-----------------------------
src/guestfs-internal.h | 1 +
src/tmpdirs.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 63 insertions(+), 33 deletions(-)
diff --git a/src/appliance.c b/src/appliance.c
index 2cf6374..d293c2b 100644
--- a/src/appliance.c
+++ b/src/appliance.c
@@ -48,7 +48,7
2015 Aug 21
1
rpmbuild dwz error
On 21/08/15 22:46, Andrew Neuschwander wrote:
> On 08/21/2015 02:04 PM, Leon Fauster wrote:
>> Am 21.08.2015 um 21:08 schrieb ????????? ???????? <nevis2us at infoline.su>:
>>>> On CentOS 7, I'm building a large C++ package with rpmbuild. Arachne
>>>> (https://www.broadinstitute.org/crd/wiki/index.php/Arachne_Main_Page).
>>>> During the
2016 Feb 03
4
[PATCH v2 1/2] launch: add internal helper for socket paths creation
Introduce an internal helper to create paths for sockets -- will be
useful for changing later the logic for placing sockets.
Futhermore, check that the length of sockets won't overflow the buffer
for their filenames.
---
src/guestfs-internal.h | 1 +
src/launch-direct.c | 4 +++-
src/launch-libvirt.c | 10 ++++++----
src/launch.c | 17 +++++++++++++++++
4 files changed, 27
2015 Aug 21
0
rpmbuild dwz error
On 08/21/2015 02:04 PM, Leon Fauster wrote:
> Am 21.08.2015 um 21:08 schrieb ????????? ???????? <nevis2us at infoline.su>:
>>> On CentOS 7, I'm building a large C++ package with rpmbuild. Arachne
>>> (https://www.broadinstitute.org/crd/wiki/index.php/Arachne_Main_Page).
>>> During the debuginfo extraction stage, I get the following error:
>>> +
2010 Aug 12
0
[PATCH, v2]: xl: Implement per-API-call garbage-collection lifetime
Changes since v1:
- Fix a double-free bug introduced by v1, pointed out by Stefano
where internal pointer was being passed back to caller from
libxl_create_stubdom()
8<----------------------------------------------------------------------
Currently scratch variables allocated by libxl have the same lifetime as
the context. While this is suitable for one off invocations of xl. It is
not
2005 Aug 04
0
[PATCH 6/11] Xenstore watch rework
# HG changeset patch
# User Rusty Russell <rusty@rustcorp.com.au>
# Node ID b0de1894df67ac7c7d905bf61cdf0210b42752cc
# Parent ba5d5bd28edf8bce89bdf9fc64047ee4f1dceded
Xenstore watch rework
Change watches to all fire simultaneously, removing priority argument.
Watches no longer fired back to connection/domain which caused event.
Fix up testsuite to match
Use state enum, rather than return
2020 Aug 12
2
[PATCH v2] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, get the UUID of the disk by
reading the first 256k bytes with 'qemu-img dd' command. Then pass the
read block to the 'file' command. In case of failure, run the 'file'
command again directly.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
v2:
01: The
2020 Aug 12
0
[PATCH] appliance: extract UUID from QCOW2 disk image
For the appliance of the QCOW2 format, get the UUID of the disk by
reading the first 256k bytes with 'qemu-img dd' command. Then pass the
read block to the 'file' command. In case of failure, run the 'file'
command again directly.
Suggested-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
---
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
On Wed, Aug 12, 2020 at 03:52:34PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> 12.08.2020 15:39, Andrey Shinkevich wrote:
> >For the appliance of the QCOW2 format, get the UUID of the disk by
> >reading the first 256k bytes with 'qemu-img dd' command. Then pass the
> >read block to the 'file' command. In case of failure, run the 'file'
> >command
2020 Aug 12
0
Re: [PATCH] appliance: extract UUID from QCOW2 disk image
On Wed, Aug 12, 2020 at 04:12:28PM +0300, Vladimir Sementsov-Ogievskiy wrote:
> 12.08.2020 15:52, Vladimir Sementsov-Ogievskiy wrote:
> >12.08.2020 15:39, Andrey Shinkevich wrote:
> >>For the appliance of the QCOW2 format, get the UUID of the disk by
> >>reading the first 256k bytes with 'qemu-img dd' command. Then pass the
> >>read block to the
2011 Mar 25
0
Some notes on using QMP to hot plug disks
I was hoping that we could use QMP (now semi-stable since qemu 0.14)
to hot plug disks.
Unfortunately this is not yet possible. There is no drive_add QMP
command which would be necessary for adding drives. We (Red Hat)
hacked in a drive_add command into RHEL 6 (only for use by libvirt).
This doesn't help us with upstream or Fedora. We could still use the
human monitor, but obviously this
2016 Feb 08
2
Re: [PATCH v2 2/2] New API: get-sockdir
On Wed, Feb 03, 2016 at 01:17:42PM +0100, Pino Toscano wrote:
> Introduce a new read-only API to get a path where to store temporary
> sockets: this is different from tmpdir, as we need short paths for
> sockets (due to sockaddr_un::sun_path), and it is either
> XDG_RUNTIME_DIR if set, or /tmp; adapt guestfs_int_create_socketname
> to create sockets in that location.
>
>