Bug 1983077

Summary: stray grep error message on cockpit rpm upgrade
Product: [Fedora] Fedora Reporter: Stew <stewart_whitman>
Component: cockpitAssignee: Martin Pitt <mpitt>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 33CC: dperpeet, mmarusak, mpitt, patrick, pvolpe, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-30 05:06:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stew 2021-07-16 12:48:07 UTC
Description of problem:

There is a message from the rpm scriptlet during upgrade:
grep: {_sysconfdir}/pam.d/cockpit: No such file or directory

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

How reproducible:
Don't know - system is pretty generic though.

Steps to Reproduce:
Normal dnf update process

Actual results:
  Preparing        :                                                                                1/1 
  Running scriptlet: cockpit-bridge-248-1.fc33.x86_64                                               1/1 
  Upgrading        : cockpit-bridge-248-1.fc33.x86_64                                              1/20 
  Upgrading        : cockpit-system-248-1.fc33.noarch                                              2/20 
  Upgrading        : cockpit-networkmanager-248-1.fc33.noarch                                      3/20 
  Upgrading        : cockpit-selinux-248-1.fc33.noarch                                             4/20 
  Upgrading        : cockpit-storaged-248-1.fc33.noarch                                            5/20 
  Upgrading        : cockpit-packagekit-248-1.fc33.noarch                                          6/20 
  Upgrading        : nano-5.8-3.fc33.x86_64                                                        7/20 
  Running scriptlet: cockpit-ws-248-1.fc33.x86_64                                                  8/20 
  Upgrading        : cockpit-ws-248-1.fc33.x86_64                                                  8/20 
  Running scriptlet: cockpit-ws-248-1.fc33.x86_64                                                  8/20 
grep: {_sysconfdir}/pam.d/cockpit: No such file or directory

  Upgrading        : cockpit-248-1.fc33.x86_64                                                     9/20 
  Upgrading        : nano-default-editor-5.8-3.fc33.noarch                                        10/20 
  Cleanup          : cockpit-247-1.fc33.x86_64                                                    11/20 
  Cleanup          : cockpit-networkmanager-247-1.fc33.noarch                                     12/20 
  Cleanup          : cockpit-selinux-247-1.fc33.noarch                                            13/20 
  Cleanup          : cockpit-storaged-247-1.fc33.noarch                                           14/20 
  Cleanup          : cockpit-system-247-1.fc33.noarch                                             15/20 


Expected results:
No message

Additional info:

Comment 1 Martin Pitt 2021-07-17 06:21:29 UTC
Thanks for the report and sorry for the blunder! This was a pretty obvious typo, fixed in https://github.com/cockpit-project/cockpit/pull/16112

Comment 2 Martin Pitt 2021-07-20 04:35:32 UTC
*** Bug 1983797 has been marked as a duplicate of this bug. ***

Comment 3 Martin Pitt 2021-09-30 05:06:56 UTC
This was fixed in all supported Fedora releases two months ago, I just forgot to close the bug.