Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-32623

[10.0-beta] nfsdclnts: add dependency package "python3-pyyaml" to the spec file Requires

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • nfs-utils
    • None
    • rhel-sst-filesystems
    • ssg_filesystems_storage_and_HA
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None

      What were you trying to do that didn't work?

      This is same from 9.0 https://bugzilla.redhat.com/show_bug.cgi?id=1924708

      We need to update the spec file adding python3-pyyaml as required:

      diff --git a/nfs-utils.spec b/nfs-utils.spec
      index b2e65c0..8081d96 100644
      --- a/nfs-utils.spec
      +++ b/nfs-utils.spec
      @@ -62,7 +62,7 @@ Requires: libnfsidmap libevent
       Requires: libtirpc >= 0.2.3-1 libblkid libcap libmount
       Requires: gssproxy => 0.7.0-3
       Requires: rpcbind, sed, gawk, grep
      -Requires: kmod, keyutils, quota
      +Requires: kmod, keyutils, quota, python3-pyyaml
       %{?systemd_requires} %package -n nfs-utils-coreos

      Please provide the package NVR for which bug is seen:

      nfs-utils-2.6.4-0.rc4.el10.x86_64

      How reproducible:

      always

      Steps to reproduce

      1. nfsdclnts
      2.  
      3.  

      Expected results

      Actual results

      [root@kvm-02-guest27 ~]# nfsdclnts
      /usr/sbin/nfsdclnts:  Failed to import yaml - make sure python3-pyyaml is installed!

              stevedatrhn Steve Dickson
              rhn-support-yoyang Yongcheng Yang
              Steve Dickson Steve Dickson
              Yongcheng Yang Yongcheng Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: