Devuan logs - #491, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#491: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Reply-To: Alessandro Vesely <[email protected]>, [email protected]
Resent-From: Alessandro Vesely <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jul 2020 17:03:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.159474541226702
          (code B); Tue, 14 Jul 2020 17:03:01 +0000
Received: (at submit) by bugs.devuan.org; 14 Jul 2020 16:50:12 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 16:50:12 +0000 (UTC)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with UTF8SMTPS id 153E6F609F5
	for <[email protected]>; Tue, 14 Jul 2020 18:47:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  (uid 1000)
  by wmail.tana.it with local
  id 00000000005DC07C.000000005F0DE1A4.00006C99; Tue, 14 Jul 2020 18:47:32 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alessandro Vesely <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Message-ID: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Mailer: reportbug 7.5.3+devuan3
Date: Tue, 14 Jul 2020 18:47:32 +0200
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: snmpd
Version: 5.7.3+dfsg-5
Severity: normal

Dear Maintainer,

after upgrading to Beowulf, daemon.log gets filled with these:

Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
[...]

It is an old bug, with a known "solution" consisting in lowering the log level.

However, the Debian maintainer must have changed the original init.d/snmpd
file, since they use systemd instead, so that /etc/default/snmpd does not
get sourced.  Hence the logs.

I just changed /etc/init.d/snmpd (lazy me).

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages snmpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libmariadb3            1:10.3.22-0+deb10u1
ii  libsnmp-base           5.7.3+dfsg-5
ii  libsnmp30              5.7.3+dfsg-5
ii  libssl1.1              1.1.1d-0+deb10u3
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=
SNMPDRUN=yes
SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

/etc/init.d/snmpd changed:
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
DESC="SNMP Services"
DAEMON=/usr/sbin/snmpd
PIDFILE="/run/snmpd.pid"
OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR"
DEFAULT_SNMPDOPTS="-Ls6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf"
[ -z "$SNMPDOPTS" ] && SNMPDOPTS=$DEFAULT_SNMPDOPTS
DAEMON_ARGS="$SNMPDOPTS -p $PIDFILE"
do_start_prepare()
{
    	# remove old symlink with previous version
    	if [ -L /var/run/agentx ]; then
		rm -f /var/run/agentx
	fi
	if [ ! -d /var/run/agentx ]; then
		mkdir -p /var/run/agentx
	fi
}

/etc/snmp/snmpd.conf [Errno 13] Permission denied: '/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: '/etc/snmp/snmptrapd.conf'

-- debconf information:
  snmpd/upgradefrom36:
  snmpd/upgradefrom521:

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Alessandro Vesely <[email protected]>
Subject: bug#491: Acknowledgement (snmpd: Default not sourced, SNMPDOPTS
 not changed, 'ia_addr' error resurrected)
Message-ID: <[email protected]>
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Devuan-PR-Message: ack 491
X-Devuan-PR-Package: snmpd
Reply-To: [email protected]
Date: Tue, 14 Jul 2020 17:03:08 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 491: https://bugs.devuan.org/cgi/=
bugreport.cgi?bug=3D491.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
491: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D491
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#491: [devuan-dev] bug#491: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jul 2020 18:18:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: 
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it> <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
Received: via spool by [email protected] id=B491.159475021227430
          (code B ref 491); Tue, 14 Jul 2020 18:18:01 +0000
Received: (at 491) by bugs.devuan.org; 14 Jul 2020 18:10:12 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 18:10:12 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id B103CF60481
	for <[email protected]>; Tue, 14 Jul 2020 19:58:47 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jvPCN-0002Yt-2Y; Tue, 14 Jul 2020 18:58:36 +0100
Received: (nullmailer pid 22092 invoked by uid 1000);
	Tue, 14 Jul 2020 17:58:34 -0000
Date: Tue, 14 Jul 2020 18:58:34 +0100
From: Mark Hindley <[email protected]>
To: Alessandro Vesely <[email protected]>, [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

On Tue, Jul 14, 2020 at 06:47:32PM +0200, Alessandro Vesely wrote:
> Package: snmpd
> Version: 5.7.3+dfsg-5
> Severity: normal
> 
> Dear Maintainer,
> 
> after upgrading to Beowulf, daemon.log gets filled with these:
> 
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> [...]
> 
> It is an old bug, with a known "solution" consisting in lowering the log level.
> 
> However, the Debian maintainer must have changed the original init.d/snmpd
> file, since they use systemd instead, so that /etc/default/snmpd does not
> get sourced.  Hence the logs.

Alessandro,

Thanks for this. However, as you note, this is a Debian bug and Devuan uses the
Debian packages directly. Please would you report this directly to Debian?

Thanks

Mark

Message received at [email protected]:


Received: (at 491) by bugs.devuan.org; 14 Jul 2020 18:10:12 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 18:10:12 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id B103CF60481
	for <[email protected]>; Tue, 14 Jul 2020 19:58:47 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jvPCN-0002Yt-2Y; Tue, 14 Jul 2020 18:58:36 +0100
Received: (nullmailer pid 22092 invoked by uid 1000);
	Tue, 14 Jul 2020 17:58:34 -0000
Date: Tue, 14 Jul 2020 18:58:34 +0100
From: Mark Hindley <[email protected]>
To: Alessandro Vesely <[email protected]>, [email protected]
Subject: Re: [devuan-dev] bug#491: snmpd: Default not sourced, SNMPDOPTS not
 changed, 'ia_addr' error resurrected
Message-ID: <[email protected]>
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

On Tue, Jul 14, 2020 at 06:47:32PM +0200, Alessandro Vesely wrote:
> Package: snmpd
> Version: 5.7.3+dfsg-5
> Severity: normal
> 
> Dear Maintainer,
> 
> after upgrading to Beowulf, daemon.log gets filled with these:
> 
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
> [...]
> 
> It is an old bug, with a known "solution" consisting in lowering the log level.
> 
> However, the Debian maintainer must have changed the original init.d/snmpd
> file, since they use systemd instead, so that /etc/default/snmpd does not
> get sourced.  Hence the logs.

Alessandro,

Thanks for this. However, as you note, this is a Debian bug and Devuan uses the
Debian packages directly. Please would you report this directly to Debian?

Thanks

Mark

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#491: [devuan-dev] bug#491: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Reply-To: Alessandro Vesely <[email protected]>, [email protected]
Resent-From: Alessandro Vesely <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jul 2020 18:33:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it> <[email protected]> <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
Received: via spool by [email protected] id=B491.159475141329762
          (code B ref 491); Tue, 14 Jul 2020 18:33:01 +0000
Received: (at 491) by bugs.devuan.org; 14 Jul 2020 18:30:13 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 18:30:13 +0000 (UTC)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with UTF8SMTPS id 5A66FF60A2B
	for <[email protected]>; Tue, 14 Jul 2020 20:20:05 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1152-bit key; secure) header.d=tana.it [email protected] header.b="AroFQtyP";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tana.it; s=delta;
	t=1594750804; bh=QDO79veJv1fbx3Ol+yrTPw3NdfNb7LDWFcMvtMar1sI=;
	l=2680; h=To:References:From:Date:In-Reply-To;
	b=AroFQtyP4IWPdVpaslUaspFDomv50DjpGqYny/rT4YPqtmD0UMP1GXMgKWuaenxTz
	 OKdzyON4JxLa1LmIj6TsPfLsu/oEBo2zLCyhwTLG6Sls+zQQA9ED/6T7uD2NgI+wOF
	 QQSwS2hUnxZU9Bvz20WbFcb6gO7TVkpCsjVFWDCLvZa/qFtf5bMS+3bnzPU4n
Authentication-Results: tana.it; auth=pass (details omitted)
Received: from [172.25.197.111] (pcale.tana [172.25.197.111])
  (AUTH: CRAM-MD5 uXDGrn@SYT0/k, TLS: TLS1.3,128bits,ECDHE_RSA_AES_128_GCM_SHA256)
  by wmail.tana.it with ESMTPSA
  id 00000000005DC083.000000005F0DF754.00007AB0; Tue, 14 Jul 2020 20:20:04 +0200
To: Mark Hindley <[email protected]>, [email protected]
From: Alessandro Vesely <[email protected]>
Message-ID: <[email protected]>
Date: Tue, 14 Jul 2020 20:20:04 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.9.0
MIME-Version: 1.0
In-Reply-To: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,
	RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On 14/07/2020 19:58, Mark Hindley wrote:
> Control: tags -1 debian
> 
> On Tue, Jul 14, 2020 at 06:47:32PM +0200, Alessandro Vesely wrote:
>> Package: snmpd
>> Version: 5.7.3+dfsg-5
>> Severity: normal
>> 
>> Dear Maintainer,
>> 
>> after upgrading to Beowulf, daemon.log gets filled with these:
>> 
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
>> [...]
>> 
>> It is an old bug, with a known "solution" consisting in lowering the log level.
>> 
>> However, the Debian maintainer must have changed the original init.d/snmpd
>> file, since they use systemd instead, so that /etc/default/snmpd does not
>> get sourced.  Hence the logs.
> 
> Alessandro,
> 
> Thanks for this. However, as you note, this is a Debian bug and Devuan uses the
> Debian packages directly. Please would you report this directly to Debian?


Hm... is SysV still a priority there?


Best
Ale

-------- Forwarded Message --------
Subject: Bug#965034: Acknowledgement (snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected)
Date: Tue, 14 Jul 2020 18:15:04 +0000
From: Debian Bug Tracking System <[email protected]>
Reply-To: [email protected]
To: Alessandro Vesely <[email protected]>

Thank you for filing a new Bug report with Debian.

You can follow progress on this Bug here: 965034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965034.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Net-SNMP Packaging Team <[email protected]>

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

-- 
965034: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=965034
Debian Bug Tracking System
Contact [email protected] with problems

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Alessandro Vesely <[email protected]>
Subject: bug#491: Info received ([devuan-dev] bug#491: snmpd: Default not
 sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack-info 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Tue, 14 Jul 2020 18:33:04 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
491: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D491
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#491: [devuan-dev] bug#491: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jul 2020 20:33:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it> <[email protected]> <[email protected]> <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
Received: via spool by [email protected] id=B491.15947580076014
          (code B ref 491); Tue, 14 Jul 2020 20:33:02 +0000
Received: (at 491) by bugs.devuan.org; 14 Jul 2020 20:20:07 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 20:20:07 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 949B8F60A2B
	for <[email protected]>; Tue, 14 Jul 2020 22:15:14 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jvRKa-0003E8-6d; Tue, 14 Jul 2020 21:15:12 +0100
Received: (nullmailer pid 24067 invoked by uid 1000);
	Tue, 14 Jul 2020 20:15:10 -0000
Date: Tue, 14 Jul 2020 21:15:10 +0100
From: Mark Hindley <[email protected]>
To: Alessandro Vesely <[email protected]>
Cc: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

On Tue, Jul 14, 2020 at 08:20:04PM +0200, Alessandro Vesely wrote:
> > Thanks for this. However, as you note, this is a Debian bug and Devuan uses the
> > Debian packages directly. Please would you report this directly to Debian?
> 
> 
> Hm... is SysV still a priority there?

No, not a priority but certainly still an option.

Mark

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Mark Hindley <[email protected]>
Subject: bug#491: Info received ([devuan-dev] bug#491: snmpd: Default not
 sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack-info 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Tue, 14 Jul 2020 20:33:09 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
491: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D491
Devuan Bug Tracking System
Contact [email protected] with problems

Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 16 Jul 2020 10:40:18 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Thu, 16 Jul 2020 10:40:18 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id A5F79F60C2E
	for <[email protected]>; Thu, 16 Jul 2020 12:32:58 +0200 (CEST)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1jw1CD-0007so-Mu
	for [email protected]; Thu, 16 Jul 2020 11:32:57 +0100
Received: (nullmailer pid 28091 invoked by uid 1000);
	Thu, 16 Jul 2020 10:32:57 -0000
Date: Thu, 16 Jul 2020 11:32:57 +0100
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: 491 forwarded URL
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.10.1 (2018-07-13)
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

forwarded 491 https://bugs.debian.org/965034
thanks

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Mark Hindley <[email protected]>
Subject: bug#491: marked as done (snmpd: Default not sourced, SNMPDOPTS
 not changed, 'ia_addr' error resurrected)
Message-ID: <[email protected]>
References: <[email protected]>
 <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Devuan-PR-Message: closed 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Tue, 10 Jan 2023 15:44:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1673365441-3905-0"

This is a multi-part message in MIME format...

------------=_1673365441-3905-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 10 Jan 2023 15:43:26 +0000
with message-id <[email protected]>
and subject line Fixed in Debian 965034
has caused the Devuan bug report #491,
regarding snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' erro=
r resurrected
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
491: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D491
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1673365441-3905-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jul 2020 16:50:12 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 16:50:12 +0000 (UTC)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with UTF8SMTPS id 153E6F609F5
	for <[email protected]>; Tue, 14 Jul 2020 18:47:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  (uid 1000)
  by wmail.tana.it with local
  id 00000000005DC07C.000000005F0DE1A4.00006C99; Tue, 14 Jul 2020 18:47:32 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alessandro Vesely <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Message-ID: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Mailer: reportbug 7.5.3+devuan3
Date: Tue, 14 Jul 2020 18:47:32 +0200
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: snmpd
Version: 5.7.3+dfsg-5
Severity: normal

Dear Maintainer,

after upgrading to Beowulf, daemon.log gets filled with these:

Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
[...]

It is an old bug, with a known "solution" consisting in lowering the log level.

However, the Debian maintainer must have changed the original init.d/snmpd
file, since they use systemd instead, so that /etc/default/snmpd does not
get sourced.  Hence the logs.

I just changed /etc/init.d/snmpd (lazy me).

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages snmpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libmariadb3            1:10.3.22-0+deb10u1
ii  libsnmp-base           5.7.3+dfsg-5
ii  libsnmp30              5.7.3+dfsg-5
ii  libssl1.1              1.1.1d-0+deb10u3
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=
SNMPDRUN=yes
SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

/etc/init.d/snmpd changed:
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
DESC="SNMP Services"
DAEMON=/usr/sbin/snmpd
PIDFILE="/run/snmpd.pid"
OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR"
DEFAULT_SNMPDOPTS="-Ls6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf"
[ -z "$SNMPDOPTS" ] && SNMPDOPTS=$DEFAULT_SNMPDOPTS
DAEMON_ARGS="$SNMPDOPTS -p $PIDFILE"
do_start_prepare()
{
    	# remove old symlink with previous version
    	if [ -L /var/run/agentx ]; then
		rm -f /var/run/agentx
	fi
	if [ ! -d /var/run/agentx ]; then
		mkdir -p /var/run/agentx
	fi
}

/etc/snmp/snmpd.conf [Errno 13] Permission denied: '/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: '/etc/snmp/snmptrapd.conf'

-- debconf information:
  snmpd/upgradefrom36:
  snmpd/upgradefrom521:

------------=_1673365441-3905-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 491-done) by bugs.devuan.org; 10 Jan 2023 15:43:42 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 10 Jan 2023 15:43:42 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id q/JgCqCHvWPxJQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 10 Jan 2023 15:43:28 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 1F423DB6; Tue, 10 Jan 2023 15:43:28 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id B0280B69
	for <[email protected]>; Tue, 10 Jan 2023 15:43:27 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFGmc-0002Vb-Jn
	for [email protected]; Tue, 10 Jan 2023 15:43:26 +0000
Received: (nullmailer pid 6109 invoked by uid 1000);
	Tue, 10 Jan 2023 15:43:26 -0000
Date: Tue, 10 Jan 2023 15:43:26 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Fixed in Debian 965034
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Version net-snmp/5.8+dfsg-2
------------=_1673365441-3905-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Alessandro Vesely <[email protected]>
Subject: bug#491 closed by Mark Hindley <[email protected]> (Fixed in
 Debian 965034)
Message-ID: <[email protected]>
References: <[email protected]>
 <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Devuan-PR-Message: they-closed 491
X-Devuan-PR-Package: snmpd
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Tue, 10 Jan 2023 15:44:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1673365443-3905-1"

This is a multi-part message in MIME format...

------------=_1673365443-3905-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the snmpd package:

#491: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error re=
surrected

It has been closed by Mark Hindley <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hin=
dley.org.uk> by
replying to this email.


--=20
491: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D491
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1673365443-3905-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 491-done) by bugs.devuan.org; 10 Jan 2023 15:43:42 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 10 Jan 2023 15:43:42 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id q/JgCqCHvWPxJQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 10 Jan 2023 15:43:28 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 1F423DB6; Tue, 10 Jan 2023 15:43:28 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id B0280B69
	for <[email protected]>; Tue, 10 Jan 2023 15:43:27 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFGmc-0002Vb-Jn
	for [email protected]; Tue, 10 Jan 2023 15:43:26 +0000
Received: (nullmailer pid 6109 invoked by uid 1000);
	Tue, 10 Jan 2023 15:43:26 -0000
Date: Tue, 10 Jan 2023 15:43:26 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Fixed in Debian 965034
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks

Version net-snmp/5.8+dfsg-2
------------=_1673365443-3905-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jul 2020 16:50:12 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jul 2020 16:50:12 +0000 (UTC)
Received: from wmail.tana.it (wmail.tana.it [62.94.243.226])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with UTF8SMTPS id 153E6F609F5
	for <[email protected]>; Tue, 14 Jul 2020 18:47:34 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  (uid 1000)
  by wmail.tana.it with local
  id 00000000005DC07C.000000005F0DE1A4.00006C99; Tue, 14 Jul 2020 18:47:32 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alessandro Vesely <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected
Message-ID: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
X-Mailer: reportbug 7.5.3+devuan3
Date: Tue, 14 Jul 2020 18:47:32 +0200
X-Spam-Status: No, score=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: snmpd
Version: 5.7.3+dfsg-5
Severity: normal

Dear Maintainer,

after upgrading to Beowulf, daemon.log gets filled with these:

Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
Jul 14 18:31:46 31 north snmpd[27013]: error on subcontainer 'ia_addr' insert (-1)
[...]

It is an old bug, with a known "solution" consisting in lowering the log level.

However, the Debian maintainer must have changed the original init.d/snmpd
file, since they use systemd instead, so that /etc/default/snmpd does not
get sourced.  Hence the logs.

I just changed /etc/init.d/snmpd (lazy me).

-- System Information:
Distributor ID:	Debian
Description:	Devuan GNU/Linux 3 (beowulf)
Release:	3
Codename:	beowulf
Architecture: x86_64

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages snmpd depends on:
ii  adduser                3.118
ii  debconf [debconf-2.0]  1.5.71
ii  libc6                  2.28-10
ii  libmariadb3            1:10.3.22-0+deb10u1
ii  libsnmp-base           5.7.3+dfsg-5
ii  libsnmp30              5.7.3+dfsg-5
ii  libssl1.1              1.1.1d-0+deb10u3
ii  lsb-base               10.2019051400
ii  zlib1g                 1:1.2.11.dfsg-1

snmpd recommends no packages.

Versions of packages snmpd suggests:
pn  snmptrapd  <none>

-- Configuration Files:
/etc/default/snmpd changed:
export MIBS=
SNMPDRUN=yes
SNMPDOPTS='-LS6d -Lf /dev/null -u snmp -g snmp -I -smux,mteTrigger,mteTriggerConf -p /run/snmpd.pid'

/etc/init.d/snmpd changed:
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
DESC="SNMP Services"
DAEMON=/usr/sbin/snmpd
PIDFILE="/run/snmpd.pid"
OLD_MIBS_DIR="/usr/share/mibs/site:/usr/share/snmp/mibs:/usr/share/mibs/iana:/usr/share/mibs/ietf:/usr/share/mibs/netsnmp"
MIBS_DIR="/usr/share/snmp/mibs:/usr/share/snmp/mibs/iana:/usr/share/snmp/mibs/ietf"
export MIBDIRS="$MIBS_DIR:$OLD_MIBS_DIR"
DEFAULT_SNMPDOPTS="-Ls6d -Lf /dev/null -u Debian-snmp -g Debian-snmp -I -smux,mteTrigger,mteTriggerConf"
[ -z "$SNMPDOPTS" ] && SNMPDOPTS=$DEFAULT_SNMPDOPTS
DAEMON_ARGS="$SNMPDOPTS -p $PIDFILE"
do_start_prepare()
{
    	# remove old symlink with previous version
    	if [ -L /var/run/agentx ]; then
		rm -f /var/run/agentx
	fi
	if [ ! -d /var/run/agentx ]; then
		mkdir -p /var/run/agentx
	fi
}

/etc/snmp/snmpd.conf [Errno 13] Permission denied: '/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: '/etc/snmp/snmptrapd.conf'

-- debconf information:
  snmpd/upgradefrom36:
  snmpd/upgradefrom521:

------------=_1673365443-3905-1--

Message received at [email protected]:


Received: (at control) by bugs.devuan.org; 10 Jan 2023 16:37:34 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Tue, 10 Jan 2023 16:37:33 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 0H0yJfuTvWMfKQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Tue, 10 Jan 2023 16:36:11 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 90B45DB6; Tue, 10 Jan 2023 16:36:11 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 3FE66B69
	for <[email protected]>; Tue, 10 Jan 2023 16:36:10 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFHbd-0002q9-A6
	for [email protected]; Tue, 10 Jan 2023 16:36:09 +0000
Received: (nullmailer pid 19421 invoked by uid 1000);
	Tue, 10 Jan 2023 16:36:09 -0000
Date: Tue, 10 Jan 2023 16:36:09 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: fixed 491 in 5.8+dfsg-2
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: devscripts bts/2.22.2
X-Debbugs-No-Ack: No Thanks

fixed 491 5.8+dfsg-2
thanks


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sun, 1 Dec 2024 02:39:01 UTC