PowerSC

Power Security and Cyber Resilience

IBM Power offers a robust suite of security technologies designed to provide a solid foundation for security in your IT environment. 


#Power


#Servers
 View Only
  • 1.  How to define Openpackage repository in PowerSC

    Posted 02/28/26 04:35 AM

    Hi , 

    I get the following error while starting TNCPM

    [ROOT@POWERSC][/] # pmconf start
    Starting component :SERVER,TNCPM
    error: [tncpmd2] 08782170:00000001 TNCPM::init(): OpenPackage repository does not exists
    tnccsd daemon started successfully pid 11600160

    There appears to be no proper documentation outlining the steps to define the OpenPackage repository.

    running the following command

    #pmconf list -O -c
    Package configuration file [/etc/tncpm_packages.conf] does not exist

    There is no information on how to initialize open package repository or define the tncpm_packages.conf  file :-( 

    Can you please advise the steps in resolving the error .

    Thank you,



    ------------------------------
    Haresh Patani
    ------------------------------


  • 2.  RE: How to define Openpackage repository in PowerSC

    Posted 07/10/26 08:33 AM

    Hi Haresh,

    I dug into this one and the first thing worth saying is: it's not you. I went through the official PowerSC 2.2.0 documentation ("Setting up the TNC components" and the pmconf material) and the release notes up to 2.3.0.4, and I could not find the OpenPackage repository initialization documented anywhere either. The official setup procedure only covers the classic fileset/ifix side: pmconf init -i <interval> -l <TL list> to build the fix repository (default /var/tnc/tncpm/fix_repository) and pmconf mktncpm to configure the TNCPM server. Nothing about /etc/tncpm_packages.conf.

    For context, downloading Open Source packages has been integrated into TNCPM for a long time (it shows up in the official "What's new" of the PowerSC 1.1.6 PDF), and in the 2.x stream the daemon is tncpmd2, which is exactly what your error is coming from. My read of your output is that at init time the daemon now also expects the open package side (the RPM / AIX Toolbox packages) to be present: an OpenPackage repository on disk plus /etc/tncpm_packages.conf listing which packages to track. Since neither exists on your setup, init complains. What I can't tell you with certainty, because it's simply not in the public docs, is the exact command that creates them, and I'd rather not guess syntax at you.

    Here's what I'd try, in order:

    1.⁠ ⁠First check whether this is actually blocking you. In your paste tnccsd came up fine. Check whether tncpmd2 is running too (pmconf status, or ps -ef | grep tncpm). If the daemon is up and the classic SP/TL/ifix functions work, my guess is the error only disables the open package function and the rest of TNCPM is fine. That changes the urgency quite a bit.

    2.⁠ ⁠Check the on-system reference at your exact level: pmconf -? and man pmconf, plus the usage strings of the -O variants (pmconf init -O, pmconf add -O and so on). New flags usually land in the shipped usage and man page well before IBM Docs catches up, and I'd expect the repository initialization to be in there. If you post the usage output here I'm happy to go through it with you.

    3.⁠ ⁠Have a look at /etc/tncpm.conf (the file mktncpm creates) for any open-package related attribute, and at /var/tnc/tncpm/ for a directory the daemon might expect next to fix_repository. If the conf references a path that doesn't exist yet, that's probably the missing piece.

    4.⁠ ⁠Share your exact PowerSC level (lslpp -L | grep -i powersc) and whether this error appeared after an update. This behavior most likely came in with a specific 2.x service pack, and the matching release notes are where I'd expect at least a mention of it.

    5.⁠ ⁠Given that the public docs genuinely don't cover this: I'd open a case with IBM Support for PowerSC, and in parallel use the "Page feedback" link at the bottom of the Setting up the TNC components page so the doc team adds the OpenPackage procedure. You've found a real gap, might as well get it fixed for everyone.

    References I checked:
    •⁠  ⁠Setting up the TNC components (PowerSC 2.2.0): https://www.ibm.com/docs/en/powersc-standard/2.2.0?topic=tnc-setting-up-components
    •⁠  ⁠TNC Patch Management (PowerSC 2.2.0): https://www.ibm.com/docs/en/powersc-standard/2.2.0?topic=components-tnc-patch-management
    •⁠  ⁠PowerSC 1.1.6 PDF, What's new section (Open Source packages integrated into TNCPM): https://www.ibm.com/docs/en/SSTQK9_EOS/eos/powersc_se_pdf_116.pdf
    •⁠  ⁠PowerSC release notes 2.2.0.5: https://www.ibm.com/support/pages/powersc-release-notes-2205

    If you post the pmconf usage output, your PowerSC level, and whether tncpmd2 is actually up, we can narrow this down further.

    Regards

    Roberto



    ------------------------------
    Roberto Renna
    ------------------------------