Displaying 20 results from an estimated 40000 matches similar to: "[PATCH] rescue: fix size check"
2017 Oct 23
1
[PATCH] rescue: initialize CLEANUP pointer variable
This way it will not try to free uninitialized memory when going out of
scope, and the inspector mode is not enabled.
Fixes commit 3637c42f4e521eb647d7dfae7f48eb1689d0af54.
---
rescue/escape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rescue/escape.c b/rescue/escape.c
index 3bb69578b..a6af99ae1 100644
--- a/rescue/escape.c
+++ b/rescue/escape.c
@@ -236,7 +236,7 @@
2017 Mar 04
0
[PATCH] rescue: Implement escape sequences.
This implements a few useful escape sequences:
><rescue> ^]?
virt-rescue escape sequences:
^]? - print this message
^]h - print this message
^]i - print inspection data
^]q - quit virt-rescue
^]u - unmount filesystems
^]x - quit virt-rescue
to send the escape key to the rescue shell, type it twice
^]i
root device: /dev/sda3
product name: Fedora 25 (Twenty Five)
type: linux
2016 Jun 16
0
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
On 06/09/2016 03:18 PM, Pino Toscano wrote:
> In data mercoledì 1 giugno 2016 02:04:33, Maros Zatko ha scritto:
>> --autosysroot option uses suggestions to user on how to mount filesystems
>> and change root suggested by --suggest option in virt-rescue.
> IMHO it should be called -i, like in the other tools, as what
> --autosysroot does is basically the same.
We can call it
2016 Jun 01
0
[PATCH v2] rescue: add --autosysroot option RHBZ#1183493
--autosysroot option uses suggestions to user on how to mount filesystems
and change root suggested by --suggest option in virt-rescue.
Commands are passed on kernel command line in format
guestfs_command=command;. Command ends with a semicolon and there can be
multiple commands specified. These are executed just before bash starts.
On successfull run user is presented directly with bash in
2016 Jun 09
2
Re: [PATCH v2] rescue: add --autosysroot option RHBZ#1183493
In data mercoledì 1 giugno 2016 02:04:33, Maros Zatko ha scritto:
> --autosysroot option uses suggestions to user on how to mount filesystems
> and change root suggested by --suggest option in virt-rescue.
IMHO it should be called -i, like in the other tools, as what
--autosysroot does is basically the same.
> Commands are passed on kernel command line in format
>
2016 Mar 24
1
[PATCH 1/2] rescue: Suggest using recursive bind mounts.
Since /dev and other directories contain sub-mounts, suggest using
--rbind instead of --bind. This also allows us to remove the /dev/pts
line.
---
rescue/rescue.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/rescue/rescue.c b/rescue/rescue.c
index 53afdae..9a7c988 100644
--- a/rescue/rescue.c
+++ b/rescue/rescue.c
@@ -453,10 +453,9 @@ do_suggestion (struct drv
2015 Mar 28
0
Re: [virt-tools-list] Statically compiling virt-rescue ?
I've added a few patches upstream to make static linking work, and it
is [surprisingly] possible to get it to work.
You'll have to check out libguestfs from git. Read the README file
very carefully, and get familiar with building from source. This is
easier on a recent Fedora machine or VM.
Once you are comfortable building libguestfs from source, configure it
like this:
./configure
2009 Sep 22
1
[PATCH 0/2] Add a 'virt-rescue' command
Inspired by something Glauber asked me about today, I made a very
simple pair of patches which add a 'virt-rescue' command to
libguestfs. This uses the appliance as a "rescue appliance", so
people can boot into a disk image and repair it in an unstructured,
interactive way. (Specifically, Glauber's question was how to run
fsck interactively - with this patch you could do
2017 Jun 19
0
[PATCH v7 12/13] utils: Rename ‘guestfs-internal-frontend.h’ to ‘guestfs-utils.h’.
The reason it's not just ‘utils.h’ is because Pino is worried that we
might pick up /usr/include/utils.h from a rogue library.
---
.gitignore | 2 +-
builder/index-validate.c | 2 +-
builder/pxzcat-c.c | 2 +-
common/edit/file-edit.c
2015 Aug 23
2
CentOS 7 - Limiting rescue kernel imeges
In order to keep only 3 kernel images on a CentOS 7 I edited /etc/yum.conf and I
put
installonly_limit=3
This parameter works for standard kernel images, but does not work for rescue
images:
$ ls -al /boot/vmlinuz*
-rwxr-xr-x 1 root root 5027376 May 13 20:46
/boot/vmlinuz-0-rescue-2554e2ffad84452bb07401bed0a61089
-rwxr-xr-x 1 root root 3084288 Jun 27 06:42
2001 Jul 27
0
boot/root rescue systems with ext3 support
These are some boot/rescue systems with ext3 support.
The RIP boot/rescue system.
This is a boot/rescue system, it comes in three versions.
There's a bootable cd version that comes with kernel 2.4.6
and has IDE and SCSI support.
rip-39.iso.bin 2528kb
They can all be found here:
http://www.tux.org/pub/people/kent-robotti/looplinux/rip/index.html
There's more info at the above site.
2015 Mar 27
2
Re: [virt-tools-list] Statically compiling virt-rescue ?
[Sorry - I didn't see this email until now as virt-rescue is part of
the http://libguestfs.org project and so normally uses a different
mailing list]
On Tue, Mar 17, 2015 at 11:29:29AM +0000, Keith Roberts wrote:
> Hi all.
>
> I’d like to create a statically-linked version of virt-rescue that I
> can compile on my laptop then deploy that binary locally onto a xen
> server
2014 Dec 03
1
Re: Virt-rescue problem
Thank You for your reply.
>What was the output of the 'virt-rescue --suggest -d XYZ'?
Inspecting the virtual machine or disk image ...
This disk contains one or more operating systems. You can use these mount
commands in virt-rescue (at the ><rescue> prompt) to mount the filesystems.
# /dev/sda1 is the root of a linux operating system
# type: linux, distro: ubuntu, version:
2015 Aug 24
1
CentOS 7 - Limiting rescue kernel imeges
Nicolas Thierry-Mieg wrote on 24/08/2015 00:24:
>> installonly_limit=3
>>
>>
>> This parameter works for standard kernel images, but does not work for
>> rescue images:
>>
> <snip>
>> Is there a way to keep rescue images within a certain limit?
>
> man yum.conf , search for installonlypkgs (that's on centos6, might vary in 7)
2016 Jul 21
3
[PATCH] appliance: move virt-rescue welcome to /etc/issue
To allow easier downstream tweaks to the virt-rescue welcome message,
just output the content of the /etc/issue file in the appliance.
Thus, a new extras.tar.gz file appeared in supermin.d containing
the etc/issue file and future tweaks like this one.
---
appliance/Makefile.am | 11 +++++++++++
appliance/init | 11 ++---------
appliance/issue | 9 +++++++++
3 files changed, 22
2014 Dec 02
0
Re: Virt-rescue problem
On Tue, Dec 02, 2014 at 02:26:49PM +0000, Suvajit Sarkar wrote:
> Hello,
> I am trying to run this command
> virt-rescue --suggest -d XYZ
> virt-rescue --network -d XYZ
> the prompt is looking like this:
> I have no name!@(none):
This is probably:
https://bugzilla.redhat.com/show_bug.cgi?id=812970
It is supposed to be fixed in libguestfs >= 1.28.
> now I mounted the root
2018 Mar 02
0
why does "rescue" mode bring me to runlevel 5 (multi-user target)?
On Fri, 2 Mar 2018, Robert P. J. Day wrote:
> finishing a week of teaching a comptia linux+ class off of centos
> 7.4 and wanted to demo how to boot to "rescue" mode, so i rebooted,
> selected "rescue" mode at grub menu, which still booted to full
> multiuser, graphical mode. what am i doing wrong? or is this a dumb
> question?
It's is not what you think
2005 Aug 03
1
Modify rescue mode boot?
Hi,
I have been able to boot with pxe and load linux rescue, it loads
loader and ask me lang, keyboard,load base from nfs, etc... then it
ask me about mount chroot or skip, I just choose skip to go to shell.
What I want is boot in rescue mode and get a shell directly without
having to enter lang, keyboard, nfs ip and dir, skip, etc... once
booted on shell I want it automatically run a script
2017 Mar 03
5
[PATCH WIP 0/5] Fix virt-rescue.
This set of patches fixes virt-rescue rather cleanly. In particular
the problems with handling ^C are completely fixed.
Work still to be done before this can go upstream:
- Shutdown doesn't work properly if you exit the shell. At the
moment to exit you must do 'reboot -f'.
Future improvements:
- An escape sequence and escape commands that could be handled by
virt-rescue,
2014 Aug 07
3
[PATCH] rescue: fix sscanf placeholders for --smp and --memsize
Use %d to parse them as int (since the variables for them as int)
instead of %u, even if they both need to be at least > 0.
--smp was already checked to be >= 1 while --memsize not, so check that
the specified memory size is not < 128 (which is semi-arbitrary, but
enough as a minimum threshold).
---
rescue/rescue.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)