Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Apologies, knocked enter and it somehow submitted form.
Description of problem: Issue when trying to use keyboard in recovery mode (init=/bin/sh)
Version-Release number of selected component (if applicable): RHEL 7
How reproducible: Every time
Steps to Reproduce:
1. At the grub screen, press E
2. Add init=/bin/sh to end of linux kernel line and press Ctrl+X
Actual results: When booted, you won't have proper keyboard functionality
Expected results: Keyboard should work as expected
Additional info: Removing 'rhgb' fixes the issue.
Also, whilst in this mode. If you mount the / filesystem and change the password for a user it doesn't update.
AND, if you 'exit' (or Ctrl-D) you get a kernel panic. I'll attach a screenshot from my virtualbox guest.
Did anyone actually test this stuff before releasing? Seems odd that such a reasonably vital piece of functionality doesn't work..?
Created attachment 919637 [details]
Kernel Panic when exiting recovery console
FYI - When updating the password the shadow file DOES get updated but I'm not sure with what. A colleague and I both tried to reset passwords for different accounts on different boxes and we can't use those accounts anymore. The password definitely gets updated but not sure what with.
"init=/bin/sh" is NOT THE RECOVERY CONSOLE!
Exiting does of course kernel panic, because the shell is PID 1!
You better boot into recovery mode by adding "s" or "1" to the kernel command line.
Peter Jones: do you even read the bug reports before you assign them to dracut?
Your description sounds like perfect material for documentation, a kbase article, or any of a number of other documentation areas.
Given that the problem reported is not with the boot loader, but what happens after, Peter reassigned it to you as the next troubleshooter. Since the kernel does actually boot, the next thing on the list would be dracut's area. Rather than immediately send the bug back to where it came from, it would be helpful if you could take the next step with what needs to happen on the bug. In this particular case, you have provided an explanation suitable for documentation. As a reminder, grub2 does not own documentation for RHEL. I recommend reassigning this to the documentation team and following up with them to ensure the clarification is there. Additionally, any areas of documentation that may be helpful for RHEL users with this information, feel free to update.
Anyway, this is most likely a dup of: bug 1098332
*** This bug has been marked as a duplicate of bug 1098332 ***