RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1341619 - Sendkey"ctrl+alt+delete" is not useful at p2v client GUI mode
Summary: Sendkey"ctrl+alt+delete" is not useful at p2v client GUI mode
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: virt-p2v
Version: ---
Hardware: x86_64
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Pino Toscano
QA Contact: tingting zheng
URL:
Whiteboard: P2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-01 11:26 UTC by mxie@redhat.com
Modified: 2020-11-03 21:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-27 08:29:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Description mxie@redhat.com 2016-06-01 11:26:07 UTC
Description of problem:
Sendkey"ctrl+alt+detele" is not useful at p2v client GUI mode


Version-Release number of selected component (if applicable):
virt-p2v-1.32.4-1.el7.iso


How reproducible:
100%

Steps to Reproduce:
1.Boot the source machine into p2v client via iso
2.At the inputting conversion server info interface, try to press sendkey"ctrl+alt+detele" to reboot the machine, it has no any reactivity
3.Input the ip and password of conversion server
4.At the inputting conversion info interface, try to press "ctrl+alt+detele" to reboot the machine, it has no any reactivity
5.Exit the p2v GUI interface and then enter into p2v console mode,press "ctl+alt+delete", the machine will reboot normally



Actual results:
As above description

Expected results:
When press ctrl+alt+delete at rhel7 GUI system. rhel7 will popup a reminder to ask customer whether need to reboot or shutdown, if the p2v iso is based on rhel7, p2v should also provide this function. Besides, it will be convenient for customers who want to reboot the machine at p2v GUI mode 
 

Additional info:

Comment 2 Richard W.M. Jones 2016-06-02 12:23:31 UTC
I made several attempts to fix this but couldn't work out how to
get something to handle <Control><Alt>Delete.  In theory the following
patch should be a start, but it doesn't do anything.

diff --git a/p2v/dependencies.m4 b/p2v/dependencies.m4
index 84c21af..4336f77 100644
--- a/p2v/dependencies.m4
+++ b/p2v/dependencies.m4
@@ -47,7 +47,9 @@ ifelse(REDHAT,1,
   NetworkManager
   nm-connection-editor
   network-manager-applet
-  dbus-x11        dnl required by nm-applet, but not a dependency in Fedora
+  dnl dbus is required by nm-applet, but not a dependency in Fedora
+  dbus-x11
+  /usr/bin/gconftool-2
 
   dnl RHBZ#1157679
   @hardware-support
@@ -70,6 +72,7 @@ ifelse(DEBIAN,1,
   network-manager-gnome
   network-manager-applet
   dbus-x11
+  gconf2
 )
 
 ifelse(ARCHLINUX,1,
@@ -90,6 +93,7 @@ ifelse(ARCHLINUX,1,
   nm-connection-editor
   network-manager-applet
   dbus-x11
+  gconf
 )
 
 ifelse(SUSE,1,
@@ -110,4 +114,5 @@ ifelse(SUSE,1,
   nm-connection-editor
   network-manager-applet
   dbus-x11
+  gconf2
 )
diff --git a/p2v/launch-virt-p2v.in b/p2v/launch-virt-p2v.in
index e4a5a80..f4329c0 100755
--- a/p2v/launch-virt-p2v.in
+++ b/p2v/launch-virt-p2v.in
@@ -22,6 +22,12 @@
 # and virt-p2v.
 if [ "$1" = "run" ]; then
     cd /
+
+    # Configure Ctrl-Alt-Del behaviour in metacity.
+    mkdir -p /root/.config
+    gconftool-2 --t str --set /apps/metacity/global_keybindings/run_command_9 "<Control><Alt>Delete"
+    gconftool-2 -t str --set /apps/metacity/keybinding_commands/command_9 "<something>"
+
     metacity &
     nm-applet &
     exec @libexecdir@/virt-p2v

Comment 3 Richard W.M. Jones 2017-02-16 17:09:40 UTC
Don't know how to fix this upstream yet, so moving to RHEL 7.5.

Comment 4 Jaroslav Suchanek 2019-12-04 15:30:47 UTC
This bug will be addressed in next major release.


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