Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-4407

man: describe vzctl exit codes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: OpenVZ-legacy
    • Component/s: Containers::Userspace
    • Security Level: Public
    • Environment:
      Operating System: Other
      Platform: Other

      Description

      vzctl has about 50 different exit codes; those should be described in vzctl(8) man page.
      1. update_man_vzctl_exit_status.rb
        2 kB
        Dennis Schridde
      2. update_man_vzctl_exit_status.rb
        2 kB
        Dennis Schridde
      3. update_man_vzctl_exit_status.rb
        2 kB
        Dennis Schridde
      4. update_man_vzctl.rb
        3 kB
        Dennis Schridde
      5. vzctl.8
        27 kB
        Dennis Schridde
      6. vzctl.8
        27 kB
        Dennis Schridde
      7. vzctl.8.patch
        4 kB
        Dennis Schridde
      8. vzctl.8.patch
        3 kB
        Dennis Schridde

        Activity

        Hide
        devurandom@gmx.net Dennis Schridde added a comment -

        Enhanced the script. It now takes the vzctl.8 manpage as input and updates the EXIT STATUS section using ../include/vzerror.h.

        Note that your current manpage has no EXIT STATUS, but a DIAGNOSTICS section. Unix seems to suggest to name it EXIT STATUS, so that is how I renamed it.

        Show
        devurandom@gmx.net Dennis Schridde added a comment - Enhanced the script. It now takes the vzctl.8 manpage as input and updates the EXIT STATUS section using ../include/vzerror.h. Note that your current manpage has no EXIT STATUS, but a DIAGNOSTICS section. Unix seems to suggest to name it EXIT STATUS, so that is how I renamed it.
        Hide
        devurandom@gmx.net Dennis Schridde added a comment -

        Attachment update_man_vzctl.rb has been added with description: Ruby script to update EXIT STATUS section - v4

        Show
        devurandom@gmx.net Dennis Schridde added a comment - Attachment update_man_vzctl.rb has been added with description: Ruby script to update EXIT STATUS section - v4
        Hide
        kir Kir Kolyshkin added a comment -

        I should read my email more often...to do less work...

        Sorry I have already digged through and documented it and committed it. Here's the patch:
        http://git.openvz.org/?p=vzctl;a=commit;h=1b3acf644039a5b31bc099e56e3b05b85367fea0

        Feel free to further improve it. Again, sorry that your work is lost...

        Show
        kir Kir Kolyshkin added a comment - I should read my email more often...to do less work... Sorry I have already digged through and documented it and committed it. Here's the patch: http://git.openvz.org/?p=vzctl;a=commit;h=1b3acf644039a5b31bc099e56e3b05b85367fea0 Feel free to further improve it. Again, sorry that your work is lost...
        Hide
        devurandom@gmx.net Dennis Schridde added a comment -

        Maybe you can use the descriptions to increase the information in the header file, and then use the script in case of further updates.
        Would mean that at least the work is not lost...

        Show
        devurandom@gmx.net Dennis Schridde added a comment - Maybe you can use the descriptions to increase the information in the header file, and then use the script in case of further updates. Would mean that at least the work is not lost...
        Hide
        sergeyb Sergey Bronnikov added a comment -

        Bug was fixed more than one year ago and there were no complains from reporter after fix. We believe bug fix helped and mark bug as closed.

        Show
        sergeyb Sergey Bronnikov added a comment - Bug was fixed more than one year ago and there were no complains from reporter after fix. We believe bug fix helped and mark bug as closed.

          People

          • Assignee:
            devurandom@gmx.net Dennis Schridde
            Reporter:
            kir Kir Kolyshkin
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: