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 1986706 - System will hang during installation of RHEL9.0: postfix RPM scriptlet waits for a PEM pass phrase
Summary: System will hang during installation of RHEL9.0: postfix RPM scriptlet waits ...
Keywords:
Status: CLOSED DUPLICATE of bug 1985918
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: postfix
Version: 9.0
Hardware: x86_64
OS: Linux
urgent
high
Target Milestone: beta
: ---
Assignee: Jaroslav Škarvada
QA Contact: rhel-cs-infra-services-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-28 07:24 UTC by 苏佳
Modified: 2021-08-02 02:06 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-02 02:06:32 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
hang at installation (40.17 KB, image/png)
2021-07-28 07:24 UTC, 苏佳
no flags Details

Description 苏佳 2021-07-28 07:24:26 UTC
Created attachment 1806542 [details]
hang at installation

Description of problem:
 System will hang during installation of RHEL9.0.

Version-Release number of selected component (if applicable):
 nightly build(RHEL-9.0.0-20210725.3-x86_64-dvd1.iso)

How reproducible:
 1.Boot server into RHEL9.0 installation wizard
 2.In Software Selection,chose all of the list items under Server With GUI
 3.Click install button

Actual results:
 After clicking install button,system will hang at installing postfix_x86_64(812/1720).

Expected results:
 Succeed to install OS.

Comment 1 Petr Pisar 2021-07-28 08:37:24 UTC
Please contact Red Hat's Technical Account Manager appointed to your company to help you prioritize this issue.

Comment 3 Mike Cao 2021-07-28 12:11:09 UTC
(In reply to 苏佳 from comment #0)
> Created attachment 1806542 [details]
> hang at installation
> 
> Description of problem:
>  System will hang during installation of RHEL9.0.
> 
> Version-Release number of selected component (if applicable):
>  nightly build(RHEL-9.0.0-20210725.3-x86_64-dvd1.iso)

Hello Sujia

Is it hardware specified issue? May we know which server/prototype the issue reproduced?

Thanks,
Mike

Comment 4 苏佳 2021-07-28 12:20:22 UTC
It's not hardware specified issue.I can reproduce it on both AMD 1P milan(SR635) and Whitley(SR630V2).

Comment 6 Petr Pisar 2021-07-28 12:31:22 UTC
I tried installing all postfix packages and it seems to be postfix-2:3.5.9-9.el9.x86_64's fault:

# dnf install postfix
Last metadata expiration check: 0:01:44 ago on Wed 28 Jul 2021 02:25:11 PM CEST.
Dependencies resolved.
===========================================================================================================================================
 Package                     Architecture               Version                             Repository                                Size
===========================================================================================================================================
Installing:
 postfix                     x86_64                     2:3.5.9-9.el9                       rhel-9.0.0-appstream                     1.5 M

Transaction Summary
===========================================================================================================================================
Install  1 Package

Total size: 1.5 M
Installed size: 4.5 M
Is this ok [y/N]: y
Downloading Packages:
[SKIPPED] postfix-3.5.9-9.el9.x86_64.rpm: Already downloaded                                                                              
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                   1/1 
  Running scriptlet: postfix-2:3.5.9-9.el9.x86_64                                                                                      1/1 
  Installing       : postfix-2:3.5.9-9.el9.x86_64                                                                                      1/1 
  Running scriptlet: postfix-2:3.5.9-9.el9.x86_64                                                                                      1/1 
Enter PEM pass phrase:


Here it hangs. If I close a standard input, it continues like this:

806B9FB08D7F0000:error:1400006B:UI routines:UI_process:processing error:crypto/ui/ui_lib.c:544:while reading strings
806B9FB08D7F0000:error:0480006D:PEM routines:PEM_def_callback:problems getting password:crypto/pem/pem_lib.c:62:
806B9FB08D7F0000:error:07880109:common libcrypto routines:do_ui_passphrase:interrupted or cancelled:crypto/passphrase.c:175:
806B9FB08D7F0000:error:1C80009F:Provider routines:p8info_to_encp8:unable to get passphrase:providers/implementations/encode_decode/encode_key2any.c:116:
chmod: cannot access '/etc/pki/tls/certs/postfix.pem': No such file or directory

  Verifying        : postfix-2:3.5.9-9.el9.x86_64                                                                                      1/1 

Installed:
  postfix-2:3.5.9-9.el9.x86_64                                                                                                             

Complete!

I will reassign it to postfix component because RPM scriptlets should not be interactive.
But Anaconda could be more precautious and close the standard input proactively.

Comment 7 Florian Weimer 2021-07-31 15:22:45 UTC
There is already postfix bug 1985918. Should we close this bug or reassign it to anaconda for more robust terminal handling?

Comment 8 苏佳 2021-08-02 02:06:32 UTC
According to Commnent 7,it is duplicated with bug 1985918.Then close it and track bug 1985918.

*** This bug has been marked as a duplicate of bug 1985918 ***


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