Bug 1715737

Summary: Warning: The unit file, source configuration file or drop-ins of cups.path changed on disk. Run 'systemctl daemon-reload' to reload units.
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 31CC: jpopelka, lnykryn, lslebodn, msekleta, ssahani, s, systemd-maint, twaugh, zbyszek, zdohnal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-08-14 14:55:25 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 Nicolas Mailhot 2019-05-31 06:50:39 UTC
Some scriptlet cleanup is needed in the cups package:

  Mise à jour de        : cups-1:2.2.11-3.fc31.x86_64                                                                                                                                                                                                                                                                    5/10 
  Exécution du scriptlet: cups-1:2.2.11-3.fc31.x86_64                                                                                                                                                                                                                                                                    5/10 
  Exécution du scriptlet: cups-1:2.2.11-2.fc31.x86_64                                                                                                                                                                                                                                                                    6/10 
  Nettoyage de          : cups-1:2.2.11-2.fc31.x86_64                                                                                                                                                                                                                                                                    6/10 
  Exécution du scriptlet: cups-1:2.2.11-2.fc31.x86_64                                                                                                                                                                                                                                                                    6/10 
Warning: The unit file, source configuration file or drop-ins of cups.path changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of cups.socket changed on disk. Run 'systemctl daemon-reload' to reload units.
Warning: The unit file, source configuration file or drop-ins of cups.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job failed. See "journalctl -xe" for details.

  Exécution du scriptlet: cups-client-1:2.2.11-2.fc31.x86_64

Comment 1 Zdenek Dohnal 2019-05-31 08:16:05 UTC
Hi Nicolas,

thank you for reporting the issue! Actually, that update did not change any scriptlet - maybe there was some cleanup at systemd (I saw emails on devel-list about removing requires on systemd for packages, which only needs systemd to put the unit files on correct places, but I did not see anything official announcement on devel-announce, if the change will really be done), so scriptlets in cups which only install unit files could trigger this warnings...

Zbyszek, would you mind telling me your opinion on the issue? Is the change already active and this is the result? Or it is different issue?

Comment 2 Zbigniew Jędrzejewski-Szmek 2019-05-31 08:34:00 UTC
We recently changes systemd macros to not silence warnings (they used to be redirected to /dev/null, now they are not).
Unfortunately this shows that there is a problem, and the warnings are valid:
'systemctl try-restart' is called during package's %postun, and 'systemctl daemon-reload' is
called later, during %transfiletriggerin. It seems the whole scheme is broken ;(,
and the recent change simply uncovered the error.

Comment 3 Zdenek Dohnal 2019-05-31 08:55:04 UTC
Thank you for the info, Zbyszek!

Comment 4 Zbigniew Jędrzejewski-Szmek 2019-06-03 12:51:35 UTC
*** Bug 1716336 has been marked as a duplicate of this bug. ***

Comment 5 Ben Cotton 2019-08-13 16:51:26 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

Comment 6 Ben Cotton 2019-08-13 19:16:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 7 Zbigniew Jędrzejewski-Szmek 2019-08-14 14:55:25 UTC

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