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

Executing command 'dnf' in directory '/root' #8692

Open
gabardyne opened this issue May 3, 2024 · 4 comments
Open

Executing command 'dnf' in directory '/root' #8692

gabardyne opened this issue May 3, 2024 · 4 comments
Labels
question Further information is requested

Comments

@gabardyne
Copy link

Question

I see this in the logs of my systemd venv-salt-minion service on rocky8 clients:

Executing command 'dnf' in directory '/root'

It repeats every ten seconds. Is it normal? Is it possible to make it repeats every 1 minute instead?

Version of Uyuni Server and Proxy (if used)

Information for package Uyuni-Server-release:

Repository : Uyuni Server Stable
Name : Uyuni-Server-release
Version : 2024.01-230900.212.1.uyuni3
Arch : x86_64
Vendor : obs://build.opensuse.org/systemsmanagement:Uyuni
Support Level : Level 3
Installed Size : 1.4 KiB
Installed : Yes
Status : up-to-date
Source package : Uyuni-Server-release-2024.01-230900.212.1.uyuni3.src
Summary : Uyuni Server
Description :
Uyuni lets you efficiently manage physical, virtual,
and cloud-based Linux systems. It provides automated and cost-effective
configuration and software management, asset management, and system
provisioning.

@gabardyne gabardyne added the question Further information is requested label May 3, 2024
@rjmateus
Copy link
Member

rjmateus commented May 3, 2024

Hey,
It's expected and needed for the reboot required feature. It will be changes to run every 2 minutes on rhel and it's clones.

@gabardyne
Copy link
Author

Hello,
Thanks for the answer.
It will changes to run every 2 minutes on rhel in the next uyuni release?

I see this error in dnf log:

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 67, in main
return _main(base, args, cli_class, option_parser_class)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 106, in _main
return cli_run(cli, base)
File "/usr/lib/python3.6/site-packages/dnf/cli/main.py", line 122, in cli_run
cli.run()
File "/usr/lib/python3.6/site-packages/dnf/cli/cli.py", line 1055, in run
return self.command.run()
File "/usr/lib/python3.6/site-packages/dnf-plugins/needs_restarting.py", line 261, in run
raise dnf.exceptions.Error() # Sets exit code 1
dnf.exceptions.Error: None

Do I need to be worried about that?

@rjmateus
Copy link
Member

rjmateus commented May 3, 2024

about the error maybe @wweellddeerr may know more.
The change in the frequency will happen in a future release, I'm not sure if the next one. But if not, would be 2 form now.

@cFabij
Copy link

cFabij commented May 6, 2024

@gabardyne
In the meantime, I can recommend implementing this custom configuration to lessen the log spam ; )
#8457 (comment)

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

No branches or pull requests

3 participants