Devuan bug report logs - #491
snmpd: Default not sourced, SNMPDOPTS not changed, 'ia_addr' error resurrected

Package: snmpd; Reported by: Alessandro Vesely <[email protected]>; Keywords: debian; Done: Mark Hindley <[email protected]>; Maintainer for snmpd is (unknown).
Marked as fixed in versions 5.8+dfsg-2. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


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

Notification sent to Alessandro Vesely <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.
Set bug forwarded-to-address to 'https://bugs.debian.org/965034'. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 491) by bugs.devuan.org; 14 Jul 2020 20:20:07 +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 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]
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>
 <[email protected]>
 <[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

Acknowledgement sent to Mark Hindley <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#491; Package snmpd. Full text available.

Message received at [email protected]:


Received: (at 491) by bugs.devuan.org; 14 Jul 2020 18:30:13 +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: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
Subject: Re: [devuan-dev] bug#491: snmpd: Default not sourced, SNMPDOPTS not
 changed, 'ia_addr' error resurrected
To: Mark Hindley <[email protected]>, [email protected]
References: <159474525290.27362.326221750437452939.reportbug@north.ext.tana.it>
 <[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

Acknowledgement sent to Alessandro Vesely <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#491; Package snmpd. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

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

Information forwarded to [email protected], [email protected]:
bug#491; Package snmpd. Full text available.

Message received at [email protected]:


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:

Acknowledgement sent to Alessandro Vesely <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#491; Package snmpd. Full text available.

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 00:39:02 UTC