Bug 1983797 - cockpit upgrade - grep: {_sysconfdir}/pam.d/cockpit: No such file or directory
Summary: cockpit upgrade - grep: {_sysconfdir}/pam.d/cockpit: No such file or directory
Keywords:
Status: CLOSED DUPLICATE of bug 1983077
Alias: None
Product: Fedora
Classification: Fedora
Component: cockpit
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Martin Pitt
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-19 19:35 UTC by Damian Wrobel
Modified: 2021-07-20 04:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-07-20 04:35:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Damian Wrobel 2021-07-19 19:35:55 UTC
Description of problem:

Upgrading cockpit generates the error message like the following:
  Running scriptlet: cockpit-ws-248-1.fc33.armv7hl                                                                                                                                                                                      15/59 
grep: {_sysconfdir}/pam.d/cockpit: No such file or directory

Seems to be caused by the lack of the '%' character in front of {_sysconfdir} here[1]:

    if grep --color=auto pam_cockpit_cert {_sysconfdir}/pam.d/cockpit; 

The same seems to be applicable for f33, f34 and rawhide.

[1] https://src.fedoraproject.org/rpms/cockpit/c/f4e105022dcc6b57af4d0bf152ceada68715083a?branch=f33

Comment 1 Martin Pitt 2021-07-20 04:35:32 UTC

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


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