Bug 1744091 - Add pcp user to /etc/aliases
Summary: Add pcp user to /etc/aliases
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: setup
Version: rawhide
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Martin Osvald 🛹
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-21 10:20 UTC by Martin Osvald 🛹
Modified: 2019-10-26 17:24 UTC (History)
4 users (show)

Fixed In Version: setup-2.13.6-1.fc30 setup-2.13.6-1.fc31
Clone Of:
Environment:
Last Closed: 2019-10-25 16:59:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Martin Osvald 🛹 2019-08-21 10:20:36 UTC
This bug was initially created as a copy of Bug #1609875

I am copying this bug because: 

This will get fixed in RHEL7&8, therefore, cloning it for Fedora to prevent regression.


PCP has cron jobs running as user 'pcp'. When the cron job fails a mail is delivered to local mailbox of user pcp. The pcp account is a nologin account so this mailbox is never read and failed cron jobs are not noticed.

Add the forwarding mails of pcp to root, just like many other applications already have it.

Comment 1 Martin Osvald 🛹 2019-08-29 07:54:39 UTC
the fix is int git, moving to MODIFIED:

https://pagure.io/setup/c/f1625790542d29ac8d3a396c0e7396b4515a2cf6?branch=master

Comment 2 Martin Osvald 🛹 2019-10-08 15:04:06 UTC
CI test:

/CoreOS/setup/Regression/bz1609875-pcp-user-in-etc-aliases

OLD: setup-2.13.3-1.fc30.noarch
NEW: setup-2.13.5-1.fc30.noarch


failed with affected OLD:

~~~
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

/tmp/tmp.5UoGwa9opq:
-----------------------
-----------------------
...
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test for BZ#1609875 on Fedora release 30 (Thirty)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 10:48:11 ] :: [   FAIL   ] :: Command 'grep pcp /etc/aliases &> /tmp/tmp.5UoGwa9opq' (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 0 good, 1 bad
::   RESULT: FAIL (Test for BZ#1609875 on Fedora release 30 (Thirty)
~~~


passed with fixed NEW:

~~~
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

/tmp/tmp.Q1hpCKGS2k:
-----------------------
pcp:            root
-----------------------
...
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test for BZ#1609875 on Fedora release 30 (Thirty)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 10:48:39 ] :: [   PASS   ] :: Command 'grep pcp /etc/aliases &> /tmp/tmp.Q1hpCKGS2k' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 1 good, 0 bad
::   RESULT: PASS (Test for BZ#1609875 on Fedora release 30 (Thirty))
~~~

Comment 3 Fedora Update System 2019-10-09 09:57:16 UTC
FEDORA-2019-d30f1a7dd4 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-d30f1a7dd4

Comment 4 Fedora Update System 2019-10-09 09:57:18 UTC
FEDORA-2019-c423bdade3 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-c423bdade3

Comment 5 Fedora Update System 2019-10-09 17:40:09 UTC
setup-2.13.6-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-c423bdade3

Comment 6 Fedora Update System 2019-10-09 23:05:35 UTC
setup-2.13.6-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-d30f1a7dd4

Comment 7 Fedora Update System 2019-10-25 16:59:55 UTC
setup-2.13.6-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2019-10-26 17:24:03 UTC
setup-2.13.6-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


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