Skip to contentSkip to conversation

corosync: reproducibility issue

PATCH Superseded Christos Gavros 3 participants 3 messages Feb 13, 2025 – Feb 14, 2025 1 message not in the archive

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 corosync: reproducibility issue

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 <[email protected]>
CC Randy MacLeod <[email protected]>
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1 -0
index d4945e482d..b364edc065 100644
@@ -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='[email protected]' \
 "
 
 MIB_MODULES = ""
Signature · 1 line
2.34.1
#2 lore raw
Quoted 23 lines · Christos Gavros via lists.openembedded.org

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 <[email protected]>
CC Randy MacLeod <[email protected]>
---
 meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +0 -0
index d4945e482d..b364edc065 100644

meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb EXTRA_OECONF = " \ · line 66

Quoted 4 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1 -0
@@ -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='[email protected]' \

I wonder if it could be made configurable by distros ?

Quoted 15 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +0 -1
 "
 
 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: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw

Thanks for the patch Christos!

Quoted 20 lines · Khem Raj
Quoted 17 lines · Christos Gavros via lists.openembedded.org

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<[email protected]>
CC Randy MacLeod<[email protected]>
---
  meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb | 1 +
  1 file changed, 1 insertion(+)
Quoted 10 lines

meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb EXTRA_OECONF = " \ · line 66

Quoted 9 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +1 -0
index d4945e482d..b364edc065 100644
@@ -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='[email protected]' \

I wonder if it could be made configurable by distros ?

so make :

[email protected]
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

Quoted 16 lines
Quoted 16 lines
meta-networking/recipes-protocols/net-snmp/net-snmp_5.9.4.bb +0 -1
  "
 
  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:[email protected] Unsubscribe:https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
# Randy MacLeod
# Wind River Linux