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

Replacing nfs.service as nfs-server.service for fedora! #4048

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Anushree-Mathur
Copy link

NFS service is named as nfs-server.service in Fedora, so in fedora also it should be starting nfs-server.service at place of nfs.service.
Signed-off-by: Anushree Mathur [email protected]

NFS service is named as nfs-server.service in Fedora,
so in fedora also it should be starting nfs-server.service
at place of nfs.service.
Signed-off-by: Anushree Mathur <[email protected]>
@Anushree-Mathur
Copy link
Author

Anushree-Mathur commented Jan 3, 2025

Before applying the patch:

[stdlog] 2025-01-03 05:43:39,152 avocado.utils.process process          L0472 DEBUG| [stdout] systemd
[stdlog] 2025-01-03 05:43:39,152 avocado.utils.process process          L0715 INFO | Command 'ps -o comm 1' finished with 0 after 0.013793503s
[stdlog] 2025-01-03 05:43:39,152 avocado.virttest.staging.service service          L0504 DEBUG| Setting ignore_status to True.
[stdlog] 2025-01-03 05:43:39,152 avocado.utils.process process          L0658 INFO | Running 'systemctl status nfs'
[stdlog] 2025-01-03 05:43:39,158 avocado.utils.process process          L0472 DEBUG| [stderr] Unit nfs.service could not be found.
[stdlog] 2025-01-03 05:43:39,158 avocado.utils.process process          L0715 INFO | Command 'systemctl status nfs' finished with 4 after 0.006021065s
[stdlog] 2025-01-03 05:43:39,158 avocado.virttest.nfs nfs              L0245 DEBUG| Restart NFS service.
[stdlog] 2025-01-03 05:43:39,159 avocado.virttest.staging.service service          L0504 DEBUG| Setting ignore_status to True.
[stdlog] 2025-01-03 05:43:39,159 avocado.utils.process process          L0658 INFO | Running 'systemctl restart rpcbind'
[stdlog] 2025-01-03 05:43:39,215 avocado.utils.process process          L0715 INFO | Command 'systemctl restart rpcbind' finished with 0 after 0.056209214s
[stdlog] 2025-01-03 05:43:39,215 avocado.virttest.staging.service service          L0504 DEBUG| Setting ignore_status to True.
[stdlog] 2025-01-03 05:43:39,215 avocado.utils.process process          L0658 INFO | Running 'systemctl restart nfs'
[stdlog] 2025-01-03 05:43:39,220 avocado.utils.process process          L0472 DEBUG| [stderr] Failed to restart nfs.service: Unit nfs.service not found.
[stdlog] 2025-01-03 05:43:39,220 avocado.utils.process process          L0715 INFO | Command 'systemctl restart nfs' finished with 5 after 0.004438177s
[stdlog] 2025-01-03 05:43:39,220 avocado.virttest.staging.service service          L0417 DEBUG| command: 'systemctl restart nfs'
[stdlog] exit_status: 5
[stdlog] duration: 0.0044381769839674234
[stdlog] interrupted: False
[stdlog] pid: 843245
[stdlog] encoding: 'UTF-8'
[stdlog] stdout: '' 
[stdlog] stderr: 'Failed to restart nfs.service: Unit nfs.service not found.\n' 

After applying the patch:

[stdlog] 2025-01-03 06:01:56,254 avocado.utils.process process          L0715 INFO | Command 'ps -o comm 1' finished with 0 after 0.012316619s
[stdlog] 2025-01-03 06:01:56,254 avocado.virttest.staging.service service          L0504 DEBUG| Setting ignore_status to True.
[stdlog] 2025-01-03 06:01:56,254 avocado.utils.process process          L0658 INFO | Running 'systemctl status nfs-server'
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout] * nfs-server.service - NFS server and services
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]      Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; disabled; preset: disabled)
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]     Drop-In: /usr/lib/systemd/system/service.d
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]              `-10-timeout-abort.conf, 50-keep-warm.conf
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]      Active: active (exited) since Fri 2024-12-20 03:51:45 CST; 2 weeks 0 days ago
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]  Invocation: e7876254aadd45ffa0cfe4c967229a76
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]        Docs: man:rpc.nfsd(8)
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]              man:exportfs(8)
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]    Main PID: 13007 (code=exited, status=0/SUCCESS)
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]    Mem peak: 13.5M
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]         CPU: 31ms
[stdlog] 2025-01-03 06:01:56,261 avocado.utils.process process          L0472 DEBUG| [stdout]
[stdlog] 2025-01-03 06:01:56,262 avocado.utils.process process          L0472 DEBUG| [stdout] Dec 20 03:51:45 ltcrain85-lp3 systemd[1]: Starting nfs-server.service - NFS server and services...
[stdlog] 2025-01-03 06:01:56,262 avocado.utils.process process          L0472 DEBUG| [stdout] Dec 20 03:51:45 ltcrain85-lp3 systemd[1]: Finished nfs-server.service - NFS server and services.
[stdlog] 2025-01-03 06:01:56,262 avocado.utils.process process          L0715 INFO | Command 'systemctl status nfs-server' finished with 0 after 0.007317872s

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

Successfully merging this pull request may close these issues.

1 participant