Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Racy tracer warning after a package upgrade #208

Open
praiskup opened this issue Jan 20, 2024 · 1 comment
Open

Racy tracer warning after a package upgrade #208

praiskup opened this issue Jan 20, 2024 · 1 comment

Comments

@praiskup
Copy link

Running transaction
  Preparing        :                                                                                                                                                                                                                    1/1 
  Upgrading        : python3-copr-common-0.21.1.dev-1.git.50.7d1741a.fc39.noarch                                                                                                                                                        1/6 
  Running scriptlet: copr-backend-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                    2/6 
  Upgrading        : copr-backend-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                    2/6 
  Running scriptlet: copr-backend-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                    2/6 
  Upgrading        : copr-backend-doc-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                3/6 
  Running scriptlet: copr-backend-1.173-1.git.67.80e90b4.fc39.noarch                                                                                                                                                                    4/6 
  Cleanup          : copr-backend-1.173-1.git.67.80e90b4.fc39.noarch                                                                                                                                                                    4/6 
  Running scriptlet: copr-backend-1.173-1.git.67.80e90b4.fc39.noarch                                                                                                                                                                    4/6 
  Cleanup          : python3-copr-common-0.21.1.dev-1.git.27.cda36fc.fc39.noarch                                                                                                                                                        5/6 
  Cleanup          : copr-backend-doc-1.173-1.git.67.ce36db5.fc39.noarch                                                                                                                                                                6/6 
  Running scriptlet: copr-backend-doc-1.173-1.git.67.ce36db5.fc39.noarch                                                                                                                                                                6/6 
  Verifying        : copr-backend-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                    1/6 
  Verifying        : copr-backend-1.173-1.git.67.80e90b4.fc39.noarch                                                                                                                                                                    2/6 
  Verifying        : copr-backend-doc-1.173-1.git.68.7d1741a.fc39.noarch                                                                                                                                                                3/6 
  Verifying        : copr-backend-doc-1.173-1.git.67.ce36db5.fc39.noarch                                                                                                                                                                4/6 
  Verifying        : python3-copr-common-0.21.1.dev-1.git.50.7d1741a.fc39.noarch                                                                                                                                                        5/6 
  Verifying        : python3-copr-common-0.21.1.dev-1.git.27.cda36fc.fc39.noarch                                                                                                                                                        6/6 
You should restart:
  * Some applications using:
      systemctl restart copr-backend-action
      systemctl restart copr-backend-log

We use this post scriptlet:

%post
%systemd_post copr-backend.target

The copr-backend.target file looks like:

[Unit]
Description=Copr Backend service
After=syslog.target network.target auditd.service
Requires=copr-backend-log.service copr-backend-build.service copr-backend-action.service
Wants=logrotate.timer

[Install]
WantedBy=multi-user.target
@praiskup
Copy link
Author

I tried to check whether the service was restarted, ... positive:

[root@copr-be-dev ~][STG]# systemctl status copr-backend-action
● copr-backend-action.service - Copr Backend service, Action Dispatcher component
     Loaded: loaded (/usr/lib/systemd/system/copr-backend-action.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Sat 2024-01-20 07:49:23 UTC; 11s ago
   Main PID: 2015232 (Action dispatch)
      Tasks: 1 (limit: 4575)
     Memory: 35.4M
        CPU: 973ms
     CGroup: /system.slice/copr-backend-action.service
             └─2015232 "Action dispatcher - processing tasks"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant