Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Dec 2016 16:14:33 -0800
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        "freebsd-arch@freebsd.org" <arch@FreeBSD.org>
Cc:        harti@FreeBSD.org, syrinx@FreeBSD.org
Subject:   [RFC] Change program prefix for bsnmpd for many files from snmpd to bsnmpd to avoid namespace pollution with net-snmp's snmpd daemon
Message-ID:  <CDFF4A1B-51B3-440C-A03C-5E94B9712D94@gmail.com>

next in thread | raw e-mail | index | archive | help

--Apple-Mail=_E2060269-FEC6-425C-9441-8376FC9A1DCF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi,
	One of the things I noticed when trying to add uniform logging =
for bsnmpd (syslog.conf files, newsyslog.conf files) is that it clashes =
with net-snmp (which uses /var/log/snmpd.conf, program name exposed to =
syslog(9) is =E2=80=9Csnmpd"). Unfortunately, because the prefix is =
uniform between many files, changing just the log file prefix will =
change a number of other items. I=E2=80=99m asking for input on the =
following change:
	- /etc/snmpd.conf -> /etc/bsnmpd.conf
	- /var/run/snmpd.pid -> /var/run/bsnmpd.conf
	I would also, create bsnmpd configs for newsyslog and syslogd =
when making this change.
	The pidfile change is rather straightforward, but the config =
file might catch some folks. Are there any major concerns with renaming =
the config file?
Thanks,
-Ngie

--Apple-Mail=_E2060269-FEC6-425C-9441-8376FC9A1DCF
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJYXb3qAAoJEPWDqSZpMIYVmyEP/RFyA7sR6y0VPd8uaWkfSQSC
pGEL8KwFPxpzVKErGytfW0pTXwlEDW4/YSWKwRN44LQYlD4cmMAqElo3x8G5xmeW
6QSWyBRVhQlGaPHMITpVFNNDsm6H423TMcUdcPCqmujan1+Rq7qeNqD/tyxYDJ6n
49YotknFmRL8FKBuj4CcxaTKnVUYvZvG0hzoFAP0aYJR3O3GAy6XE3wMqgFwhFKp
QPWCyPMyoIBKmz78Dcot7Yosv/GltEf8SHy2MEJV15kzDEVoVvqdSR6Pvd+MUnKr
QNtFx67ZXBiHbVLlvO7ffrNBTBYJdotfbxA13DsKf43BhDRr9TMqFuVrePUOGz0g
WCdIcM4A2BsV038cLZIO7yllWiYl/TipYFFHiaQIzfG9SforLtbOTiAxjPMyQF/t
wOa7wtXhheafgfq+VhCZoPnNPsJIH9luBTbGdSnaH0Tl8BZqL1JHDowwEDW0PTGV
eIJ9xk87pFUwPQ0J4aiomXfQeBprjFY6IXvTygeFaLlemd9bpVL/yOwI7sMmMTkh
uerWBeSxthV3+GQ+8KofZENcdixBVwXSQNCMpKbdflvga+wHzU/tmTwd03qpKY+5
5xN10KnRfB/EKp5hQSiVRBj6Pz173jWxXMOhBMY7lZ1BBZ3dv60CmV+aJX6Nvjty
vYkBUNZ7iBcu3Gpb+PWo
=CAgy
-----END PGP SIGNATURE-----

--Apple-Mail=_E2060269-FEC6-425C-9441-8376FC9A1DCF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CDFF4A1B-51B3-440C-A03C-5E94B9712D94>