Bug 812970 - virt-rescue cannot set ><rescue> prompt, on Ubuntu 12.04
Summary: virt-rescue cannot set ><rescue> prompt, on Ubuntu 12.04
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-16 17:04 UTC by Richard W.M. Jones
Modified: 2014-06-10 21:01 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-10 21:01:12 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2012-04-16 17:04:41 UTC
Description of problem:

Welcome to virt-rescue, the libguestfs rescue shell.                            
                                                                                
Note: The contents of / are the rescue appliance.                               
You have to mount the guest's partitions under /sysroot                         
before you can examine them.                                                    
                                                                                
bash: cannot set terminal process group (-1): Inappropriate ioctl for device    
bash: no job control in this shell                                              
groups: cannot find name for group ID 0                                         
I have no name!@(none):/#

^^^ note the prompt should be "><rescue>"                               

Version-Release number of selected component (if applicable):

virt-rescue 1.14.8
(rather old version in Ubuntu)

Comment 1 Pino Toscano 2014-06-02 09:32:22 UTC
I can reproduce this also on Debian systems, both on Wheezy and on a current testing.

Comment 2 Pino Toscano 2014-06-10 21:01:12 UTC
Fixed with
https://github.com/libguestfs/libguestfs/commit/e6a858907fd7851148440dcfc7cbabc5cee75a71
which is in libguestfs >= 1.27.15.


Note You need to log in before you can comment on or make changes to this bug.