Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-48729

In rescue mode [using ISO] the prompt remains same after chrooting.

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • rhel-9.0.0
    • setup
    • None
    • None
    • Moderate
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • x86_64
    • None

      What were you trying to do that didn't work?

      Please provide the package NVR for which bug is seen:

      How reproducible: By booting the system to Rescue mode using ISO.

      Steps to reproduce

      1.  Boot any RHEL 9.X system to the rescue mode using ISO.
      2.  Select option 1 [CONTINUE]
      3.  Here you will see the "bash5.1#" prompt.
      4.  Now, simply chroot - chroot /mnt/sysroot.
      5.  The prompt still remains the same "bash5.1#"

      Expected results

      Prior to RHEL 9, in rescue mode we get "sh" prompt and after chrooting we get the "bash". It gives a clear idea if the system has been chrooted or not.

      Actual results

      Since the prompt remains same in RHEL 9 rescue mode, it is confusing during troubleshooting.

              rhn-support-mosvald Martin Osvald
              rhn-support-vvelanka Vishwajeet Velankar
              Martin Osvald Martin Osvald
              Petr Dancak Petr Dancak
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: