Message ID | 20250213215039.108265-1-gavrosc@yahoo.com |
---|---|
State | New |
Headers | show |
Series | [meta-networking] corosync: reproducibility issue | expand |
On Thu, Feb 13, 2025 at 1:51 PM Christos Gavros via lists.openembedded.org <gavrosc=yahoo.com@lists.openembedded.org> wrote: > > Corosync is not reproducible due to change of value > in NETSNMP_SYS_CONTACT which is set in net-snmp: > NETSNMP_SYS_CONTACT = "$ME@$LOC" > $ME = whoami > $LOC assigned domain name from /etc/resolv.conf > > Use build in'--with-sys-contact' to overwrite it > > https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/30/steps/28/logs/stdio > > CC: Yoann Congal <yoann.congal@smile.fr> > CC: Randy MacLeod <randy.macleod@windriver.com> > Signed-off-by: Christos Gavros <gavrosc@yahoo.com> > --- > meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb > index d4945e482d..b364edc065 100644 > --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb > +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb > @@ -63,6 +63,7 @@ EXTRA_OECONF = " \ > --with-persistent-directory=${localstatedir}/lib/net-snmp \ > --with-endianness=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ > --with-mib-modules='${MIB_MODULES}' \ > + --with-sys-contact='no-contact-set@example.com' \ I wonder if it could be made configurable by distros ? > " > > MIB_MODULES = "" > -- > 2.34.1 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#115471): https://lists.openembedded.org/g/openembedded-devel/message/115471 > Mute This Topic: https://lists.openembedded.org/mt/111171727/1997914 > Group Owner: openembedded-devel+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Thanks for the patch Christos! On 2025-02-13 5:08 p.m., Khem Raj wrote: > On Thu, Feb 13, 2025 at 1:51 PM Christos Gavros via > lists.openembedded.org<gavrosc=yahoo.com@lists.openembedded.org> > wrote: >> Corosync is not reproducible due to change of value >> in NETSNMP_SYS_CONTACT which is set in net-snmp: >> NETSNMP_SYS_CONTACT = "$ME@$LOC" >> $ME = whoami >> $LOC assigned domain name from /etc/resolv.conf >> >> Use build in'--with-sys-contact' to overwrite it >> >> https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/30/steps/28/logs/stdio >> >> CC: Yoann Congal<yoann.congal@smile.fr> >> CC: Randy MacLeod<randy.macleod@windriver.com> >> Signed-off-by: Christos Gavros<gavrosc@yahoo.com> >> --- >> meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb >> index d4945e482d..b364edc065 100644 >> --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb >> +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb >> @@ -63,6 +63,7 @@ EXTRA_OECONF = " \ >> --with-persistent-directory=${localstatedir}/lib/net-snmp \ >> --with-endianness=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ >> --with-mib-modules='${MIB_MODULES}' \ >> + --with-sys-contact='no-contact-set@example.com' \ > I wonder if it could be made configurable by distros ? so make : no-contact-set@example.com be a variable NET_SNMP_SYS_CONTACT or similar and assigned with '=?' and use it in the --with-sys-contact. Please try that and see if it works for you Christos. If it does, send a v2. ../Randy > >> " >> >> MIB_MODULES = "" >> -- >> 2.34.1 >> >> >> -=-=-=-=-=-=-=-=-=-=-=- >> Links: You receive all messages sent to this group. >> View/Reply Online (#115471):https://lists.openembedded.org/g/openembedded-devel/message/115471 >> Mute This Topic:https://lists.openembedded.org/mt/111171727/1997914 >> Group Owner:openembedded-devel+owner@lists.openembedded.org >> Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [raj.khem@gmail.com] >> -=-=-=-=-=-=-=-=-=-=-=- >>
diff --git a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb index d4945e482d..b364edc065 100644 --- a/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +++ b/meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb @@ -63,6 +63,7 @@ EXTRA_OECONF = " \ --with-persistent-directory=${localstatedir}/lib/net-snmp \ --with-endianness=${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ --with-mib-modules='${MIB_MODULES}' \ + --with-sys-contact='no-contact-set@example.com' \ " MIB_MODULES = ""
Corosync is not reproducible due to change of value in NETSNMP_SYS_CONTACT which is set in net-snmp: NETSNMP_SYS_CONTACT = "$ME@$LOC" $ME = whoami $LOC assigned domain name from /etc/resolv.conf Use build in'--with-sys-contact' to overwrite it https://autobuilder.yoctoproject.org/valkyrie/#/builders/87/builds/30/steps/28/logs/stdio CC: Yoann Congal <yoann.congal@smile.fr> CC: Randy MacLeod <randy.macleod@windriver.com> Signed-off-by: Christos Gavros <gavrosc@yahoo.com> --- meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 + 1 file changed, 1 insertion(+)