Bug 1715737 - Warning: The unit file, source configuration file or drop-ins of cups.path changed on disk. Run 'systemctl daemon-reload' to reload units.
Summary: Warning: The unit file, source configuration file or drop-ins of cups.path ch...
Keywords:
Status: CLOSED DUPLICATE of bug 1614751
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 31
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1716336 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-31 06:50 UTC by Nicolas Mailhot
Modified: 2019-08-14 14:55 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-08-14 14:55:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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