Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  SUDO dependency

    Posted Thu October 19, 2023 02:20 AM

    Sudo is provided as-is and not supported through AIX support.
    I Need to provide sudo access to IDM end and have downloaded the latest version.
    https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha
    My problem is DEPENDENCY...sudo version is failing because of this?
    How can i get all dependency package for sudo 1.9.13p2 in a single tar file ?
    Anyone ? Please help?
    Thanks
    Per-Ola



    ------------------------------
    Per-Ola Hassle
    ------------------------------

    #AIXOpenSource


  • 2.  RE: SUDO dependency

    Posted Thu October 19, 2023 03:56 AM

    Hi,

    the "easiest" way is to install dnf and manage dependencys automatically. Read this guide if you want to know how to install dnf: DNF is now available on AIX Toolbox (ibm.com)

    Otherwise you can try sudo_noldap instead, because it seems to have less depencencys and maybe you can install it without downloading more RPMs.



    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 3.  RE: SUDO dependency

    Posted Thu October 19, 2023 05:38 AM
    Incorrect.

    The dead simple method is to download sudo precompiled for AIX as a
    single RPM from the sudo project.

    https://www.sudo.ws/getting/packages/

    If you want to add a conflicting non-native parallel package manager
    to AIX, requiring internet access and downloading volumes of
    questionable dependencies, then install DNF. If you have not
    specifically added the OSS contract add-on to your support contract,
    do not install DNF.

    Alternatively use IBM supported software like SSH to become root.

    On Thu, Oct 19, 2023 at 07:55:47AM +0000, Niklas V. via IBM TechXchange Community wrote:
    > Hi,
    >
    >
    > the "easiest" way is to install dnf and manage dependencys automatically. Read this guide if you want to know how to install dnf: DNF is now available on AIX Toolbox (ibm.com) <https: community.ibm.com/community/user/power/blogs/sangamesh-mallayya1/2021/05/28/dnf-is-now-available-on-aix-toolbox="">
    >
    >
    > Otherwise you can try sudo_noldap instead, because it seems to have less depencencys and maybe you can install it without downloading more RPMs.
    >
    >
    > ------------------------------
    > Niklas
    > System Engineer UNIX and Linux on Power
    > ------------------------------
    > -------------------------------------------
    > Original Message:
    > Sent: Thu October 19, 2023 02:19 AM
    > From: Per-Ola Hassle
    > Subject: SUDO dependency
    >
    >
    > Sudo is provided as-is and not supported through AIX support.
    > I Need to provide sudo access to IDM end and have downloaded the latest version.
    > https://www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha <https: www.ibm.com/support/pages/aix-toolbox-open-source-software-downloads-alpha="">
    > My problem is DEPENDENCY...sudo version is failing because of this?
    > How can i get all dependency package for sudo 1.9.13p2 in a single tar file ?
    > Anyone ? Please help?
    > Thanks
    > Per-Ola
    >
    >
    > ------------------------------
    > Per-Ola Hassle
    > ------------------------------
    >
    >
    > Reply to Sender : https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=385228&SenderKey=94395ed0-9ef9-42a2-9213-15545287846b
    >
    > Reply to Discussion : https://community.ibm.com/community/user/eGroups/PostReply?GroupId=6211&MID=385228
    >
    >
    >
    > You are subscribed to "AIX Open Source" as Russell.Adams@AdamsSystems.nl. To change your subscriptions, go to http://community.ibm.com/community/user/preferences?section=Subscriptions. To unsubscribe from this community discussion, go to http://community.ibm.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=c23dfccc-9910-40ae-beeb-fdcbced5bf1f&sKey=KeyRemoved&GroupKey=af5415f8-d8d8-4ac4-b3cb-08a8da184054.


    ------------------------------------------------------------------
    Russell Adams Russell.Adams@AdamsSystems.nl
    Principal Consultant Adams Systems Consultancy
    https://adamssystems.nl/




  • 4.  RE: SUDO dependency

    Posted Thu October 19, 2023 10:02 AM
    Edited by Jan Harris Thu October 19, 2023 10:03 AM

    I want to offer a different perspective:

    You do not need an OSS contract to install DNF.  The DNF support is provided through this forum. In fact, many customers get fast resolution because they are able to communicate directly with the AIX OSS development team through the community. Community support is common for OSS, across platforms. In fact, if you need sudo help, you have to join the sudo community.  I have directed countless customers to the DNF starting point:

    In fact, many SMEs in AIX development and support use DNF even behind firewalls, using Sangamesh's instructions:

    Additionally, many IBM products have dependencies on AIX Toolbox packages now, so the likelihood that "sudo" will be the ONLY OSS package on the system is decreasing regularly.  I have seen many issues where customers have non-toolbox packages that have installed their own dependencies in to /opt/freeware, causing conflicts for future installations.
    </main>

    </main>



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 5.  RE: SUDO dependency

    Posted Thu October 19, 2023 10:27 AM
    On Thu, Oct 19, 2023 at 02:01:45PM +0000, Jan Harris via IBM TechXchange Community wrote:
    > You do not need an OSS contract to install DNF.

    That is true. However the number of visible issues with the AIX
    Toolkit has skyrocketed since the introduction of additional
    dependencies and the use of DNF. With my professional customers I can
    only recommend using the Toolkit under support.

    If we were administering Redhat systems, and there was a popular
    movement to install a second parallel package manager (say, Guix), it
    would cause the same friction and breakage. We'd have the same
    conversation about which method is supported, and rightly question why
    the other is needed.

    I think the Toolkit should have provided LPP packages from the start,
    so that there was no conflict. Or common packages should be provided
    as standalone RPMs without dependencies. It is not reasonable to
    insist on fully setting up parallel software packaging for one package.

    > The DNF support is provided through this forum.

    Most customers expect high quality support from IBM, not a web
    forum. My recommendation to only use DNF under support from IBM is
    because IBM Support can provide more thorough support than a web
    forum. We are working on production systems in sensitive environments.

    > In fact, many customers get fast resolution because they are able
    > to communicate directly with the AIX OSS development team through
    > the community.

    I agree. I do think the feedback is useful. In particular I give them
    strong praise for keeping up with the large volume of CVEs in a prompt
    manner.

    > Community support is common for OSS, across platforms. In fact, if
    > you need sudo help, you have to join the sudo community. I have
    > directed countless customers to the DNF starting point:

    Not to spread FUD, but we're talking about installing a separate OSS
    product to arbitrate access to the root account. That's bad enough,
    but also without IBM support?

    > In fact, many SMEs in AIX development and support use DNF even
    > behind firewalls, using Sangamesh's instructions:

    Certainly you can proxy the downloads. It doesn't mean you aren't
    installing unsupported software on production servers.

    > Additionally, many IBM products have dependencies on AIX Toolbox
    > packages now, so the likelihood that "sudo" will be the ONLY OSS
    > package on the system is decreasing regularly.

    Then IBM should be shipping those as LPPs with the product or on the
    expansion pack. Or ensuring the package includes support for DNF.

    This means now we have to do software management through two package
    managers with multiple sources, two sets of software version to report
    to cybersecurity, and a significant increase in patch frequency.

    > I have seen many issues where customers have non-toolbox packages
    > that have installed their own dependencies in to /opt/freeware,
    > causing conflicts for future installations.

    Of course. Parallel packaging causes problems. You're providing
    additional points supporting that there is a packaging conflict.


    I'm well aware that I'm advocating conservative software management
    practices against the convenience of quickly installing OSS
    tools.

    AIX systems are typically the largest servers in critical customer
    environments. We have strict change controls, strict network access,
    and only use trusted software sources.

    I appreciate that the Toolkit team maintains a set of OSS packages
    available for install. Using those resources under a support contract
    allows IBM to monitor the issues with DNF and RPMs, and conforms to
    the policy of only using supported software in production.

    That way when DNF breaks, you can rely on IBM support to resolve your
    problem discretely and in a timely manner.

    ------------------------------------------------------------------
    Russell Adams Russell.Adams@AdamsSystems.nl
    Principal Consultant Adams Systems Consultancy
    https://adamssystems.nl/




  • 6.  RE: SUDO dependency

    Posted Thu October 19, 2023 11:05 AM

    I agree with some of your points, but i don't think it's quite fair to start such a discussion under a help-seeking post. The discussion has gone in a completely different direction since the quite interesting reference to sudo from https://www.sudo.ws/getting/packages/
    .



    ------------------------------
    Niklas
    System Engineer UNIX and Linux on Power
    ------------------------------



  • 7.  RE: SUDO dependency

    Posted Thu October 19, 2023 11:17 AM

    Point well received!

    Apologies to the group. I really just wanted to point out the value of DNF, and experiences I've seen with customers that install non-Toolbox  images that deliver dependencies to common paths 😀



    ------------------------------
    Jan Harris
    AIX Development Support (Liaison to the AIX Toolbox for Open Source)
    IBM (Contract)
    Austin TX
    ------------------------------



  • 8.  RE: SUDO dependency

    Posted Thu October 19, 2023 11:29 AM
    Anyway!
    THANKS for all good links and discussions ��

    Kindest regards

    _________________________________
    P-O Hassle

    Aix Team / UNIX Department
    DE56150, Volvo Torslanda DA1

    418 78, Gothenburg, Sweden
    E-mail:
    per.hassle@hcl.com

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 9.  RE: SUDO dependency

    Posted Thu October 19, 2023 12:37 PM
    Edited by Russell Adams Thu October 19, 2023 12:42 PM

    On Thu, Oct 19, 2023 at 03:05:06PM +0000, Niklas V. via IBM TechXchange Community wrote:
    > I agree with some of your points, but i don't think it's quite fair
    > to start such a discussion under a help-seeking post.

    (email post removed the body, edited)

    Reply threads are where the action is!

    I'm glad the link helped.

    Also be aware that the rsync project also publishes RPMs at https://download.samba.org/pub/rsync/binaries/aix-7.2-power8/


    #AIXOpenSource