Bug 1983077 - stray grep error message on cockpit rpm upgrade
Summary: stray grep error message on cockpit rpm upgrade
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: 33
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Martin Pitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1983797 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-16 12:48 UTC by Stew
Modified: 2021-09-30 05:06 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-09-30 05:06:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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