Repo Sync issues

39 views
Skip to first unread message

Miguel Santos

unread,
Dec 6, 2023, 9:59:49 AM12/6/23
to go-cd
Hey guys,

We would like to mirror your repository http://download.gocd.org, but your metadata file is pointing to files that do not have the correct permissions?

We are trying to sync with Foreman http://download.gocd.org and the task fails because the first file you reference:

<metadata xmlns="http://linux.duke.edu/metadata/common" xmlns:rpm="http://linux.duke.edu/metadata/rpm" packages="161">
<package type="rpm">
  <name>NessusAgent</name>
  <arch>x86_64</arch>
  <version epoch="0" ver="10.1.0" rel="amzn"/>
  <checksum type="sha256" pkgid="YES">e29737f08f303a268bcdb5f73dded015c7df9ba343a04182e4fd58665e764b47</checksum>
  <summary>Nessus Agent, supported by Tenable</summary>
  <description>The Nessus Client Agent</description>
  <packager>Renaud Deraison &lt;rder...@tenablesecurity.com&gt;</packager>
  <url>http://www.nessus.org</url>
  <time file="1644079326" build="1643830376"/>
  <size package="15137713" installed="38358101" archive="38397380"/>
  <location href="tenable-agents/NessusAgent-10.1.0-amzn.x86_64.rpm"/>
  <format>
    <rpm:license>Proprietary</rpm:license>
    <rpm:vendor></rpm:vendor>
    <rpm:group>Administration Tools</rpm:group>
    <rpm:buildhost>ip-10-254-69-199.eu.build.aws.tenablesecurity.com</rpm:buildhost>
    <rpm:sourcerpm>NessusAgent-10.1.0-amzn.src.rpm</rpm:sourcerpm>
    <rpm:header-range start="872" end="28978"/>
    <rpm:provides>
      <rpm:entry name="NessusAgent" flags="EQ" epoch="0" ver="10.1.0" rel="amzn"/>
      <rpm:entry name="NessusAgent(x86-64)" flags="EQ" epoch="0" ver="10.1.0" rel="amzn"/>
    </rpm:provides>
    <rpm:requires>
      <rpm:entry name="/bin/sh" pre="1"/>
      <rpm:entry name="/bin/sh"/>
      <rpm:entry name="/bin/sh" pre="1"/>
      <rpm:entry name="/bin/sh"/>
      <rpm:entry name="libanl.so.1()(64bit)"/>
      <rpm:entry name="libanl.so.1(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libdl.so.2()(64bit)"/>
      <rpm:entry name="libdl.so.2(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libgcc_s.so.1()(64bit)"/>
      <rpm:entry name="libm.so.6()(64bit)"/>
      <rpm:entry name="libm.so.6(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libpthread.so.0()(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.12)(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.2.5)(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.3.2)(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.3.4)(64bit)"/>
      <rpm:entry name="libpthread.so.0(GLIBC_2.4)(64bit)"/>
      <rpm:entry name="libstdc++.so.6()(64bit)"/>
      <rpm:entry name="libstdc++.so.6(CXXABI_1.3)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.18)(64bit)"/>
      <rpm:entry name="libstdc++.so.6(GLIBCXX_3.4.9)(64bit)"/>
      <rpm:entry name="rtld(GNU_HASH)"/>
      <rpm:entry name="libc.so.6(GLIBC_2.17)(64bit)"/>
    </rpm:requires>
    <file>/etc/rc.d/init.d/nessusagent</file>
    <file>/opt/nessus_agent/bin/nasl</file>
    <file>/opt/nessus_agent/sbin/nessus-service</file>
    <file>/opt/nessus_agent/sbin/nessuscli</file>
    <file>/opt/nessus_agent/sbin/nessusd</file>
  </format>
</package>


Gives a 403: tenable-agents/NessusAgent-10.1.0-amzn.x86_64.rpm
403 Forbidden
  • Code: AccessDenied
  • Message: Access Denied
  • RequestId: 6QRJB3V4160FY9SK
  • HostId: dA5S81S4IDNE1Ek981rVMIRH3+sKqLPRMOcjLCB2igR3PrHV+4ZrIBMRgfQnmWWX2hX7NH74D/w=

Can you help us sort this out or confirm if you do not allow the mirroring of your repository as policy?

Thank you.

Chad Wilson

unread,
Dec 6, 2023, 11:26:28 AM12/6/23
to go...@googlegroups.com
Yeah, sorry, that artifact was probably unintentionally included in the metadata. It'll be fixed in the next release when the metadata is corrected.

I'm not familiar with Foreman, but is it possible to filter out this artifact (NessusAgent) with a content view or similar?

-Chad

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/f885e2f1-13eb-4d91-bf20-e45475b59ba0n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages