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

[virtiofs] The usage hint of virtiofsd is misunderstanding to users

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • rhel-9.6
    • rhel-9.5, rhel-10.0.beta
    • virtiofsd
    • None
    • No
    • Low
    • 1
    • rhel-sst-virtualization-storage
    • ssg_virtualization
    • 3
    • False
    • Hide

      None

      Show
      None
    • None
    • virt-storage Sprint1
    • None

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

      The usage hint of virtiofsd is not misunderstanding to users

      What is the impact of this issue to you?

      Please provide the package NVR for which the bug is seen:

      qemu-kvm-9.0.0-10.el9_5

      virtiofsd-1.11.1-1.el9

      How reproducible is this bug?:

      100%

      Steps to reproduce

      en you type virtiofsd binary only, it will give you hint info as below

       

      # /usr/libexec/virtiofsd 
      error: the following required arguments were not provided:
        --shared-dir <SHARED_DIR>
        --socket <SOCKET>
        --socket-path <SOCKET_PATH>
        --fd <FD>
      
      Usage: virtiofsd --shared-dir <SHARED_DIR> --socket <SOCKET> --socket-path <SOCKET_PATH> --fd <FD>For more information, try '--help'. 

      t when you tried with the recommend way to start the virtiofsd, will hit:

       

      # /usr/libexec/virtiofsd --shared-dir /home/timao --socket sockert --socket-path /home/timao/socket --fd 9
      error: the argument '--socket <SOCKET>' cannot be used with '--fd <FD>'
      
      Usage: virtiofsd --shared-dir <SHARED_DIR> --socket <SOCKET> --socket-path <SOCKET_PATH>For more information, try '--help'.
       

      From my testing, there should be 2 items should be handled:

      1. Remove `--socket <SOCKET>` from the Usage line as it's already deprecated
      2. Tell user use '-socket-path' or '-fd <FD>', as these 2 arguements cannot be used together 

       

       

      Expected results

      Actual results

              gmaglion German Maglione
              timao@redhat.com Tingting Mao
              virt-maint virt-maint
              Tingting Mao Tingting Mao
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: