Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
Nevermind!

# userdel _rtadvd
# groupdel _rtadvd
# groupadd -g 92 _agentx

Solved the problem. Apparently I failed to follow the instructions in 
https://www.openbsd.org/faq/upgrade64.html when I did that upgrade ;-)


Sorry for the noise!

Mike

> Am 21.01.2023 um 23:59 schrieb Mike Fischer :
> 
> Ok, I think I have figured out the root cause:
> 
> Group _agentx (gid 92) does not exist!
> 
> Instead I have:
> # cat /etc/passwd|grep _rtadvd
> _rtadvd:*:92:92:IPv6 Router Advertisement Daemon:/var/empty:/sbin/nologin
> # cat /etc/group|grep _rtadvd  
> _rtadvd:*:92:
> # 
> 
> Any idea which port installs this?
> 
> I don’t recall installing any IPv6 routing related ports but possibly some 
> dependency might have pulled something in? I don’t see anything obvious in 
> the list of installed ports:
> # pkg_info -a
> apache-httpd-2.4.54 apache HTTP server
> apr-1.7.0   Apache Portable Runtime
> apr-util-1.6.1p4companion library to APR
> argon2-20190702 C implementation of Argon2 - password hashing function
> brotli-1.0.9p0  generic lossless compressor
> bzip2-1.0.8p0   block-sorting file compressor, unencumbered
> colorls-6.9 ls(1) that can use color to display file attributes
> curl-7.87.0 transfer files with FTP, HTTP, HTTPS, etc.
> cvsps-2.1p2 generate patchsets from CVS repositories
> db-4.6.21p7v0   Berkeley DB package, revision 4
> dokuwiki-2022.07.31a standards compliant, simple to use Wiki
> dovecot-2.3.19.1p0v0 compact IMAP/POP3 server
> emacs-28.2-no_x11   GNU editor: extensible, customizable, self-documenting
> femail-1.0p1simple SMTP client
> femail-chroot-1.0p3 simple SMTP client for chrooted web servers
> gd-2.3.3library for dynamic creation of images
> gettext-runtime-0.21p1 GNU gettext runtime libraries and programs
> giflib-5.2.1tools and library routines for working with GIF images
> git-2.37.3  distributed version control system
> glib2-2.72.4p2  general-purpose utility library
> gmake-4.3   GNU make
> gmp-6.2.1p0 library for arbitrary precision arithmetic
> gnupg-2.2.39GNU privacy guard - a free PGP replacement
> gnutls-3.7.7GNU Transport Layer Security library
> icu4c-71.1v0International Components for Unicode
> iftop-1.0pre4p3 display bandwidth usage on an interface
> intel-firmware-20221108v0 microcode update binaries for Intel CPUs
> iperf-2.0.12p0  tool for measuring maximum TCP and UDP bandwidth
> jansson-2.14library for manipulating JSON data
> jpeg-2.1.3v0SIMD-accelerated JPEG codec replacement of libjpeg
> libassuan-2.5.5 IPC library used by GnuPG and gpgme
> libexttextcat-3.4.6 UTF-8 aware language guessing library
> libffi-3.4.2Foreign Function Interface
> libgcrypt-1.10.1p0  crypto library based on code used in GnuPG
> libgpg-error-1.45   error codes for GnuPG related software
> libiconv-1.17   character set conversion library
> libidn-1.41 internationalized string handling
> libidn2-2.3.0p0 implementation of IDNA2008 internationalized domain names
> libksba-1.6.3   X.509 library
> libnettle-3.8.1 cryptographic library
> libpsl-0.21.1   public suffix list library
> libsecret-0.20.5p0  library for storing and retrieving passwords and secrets
> libsodium-1.0.18p1  library for network communications and cryptography
> libstemmer-2.1.0stemming algorithms for text processing
> libtasn1-4.19.0 Abstract Syntax Notation One structure parser library
> libunbound-1.16.3   validating DNS resolver library
> libunistring-0.9.7  manipulate Unicode strings
> libusb1-1.0.23p2library for USB device access from userspace
> libwebp-1.2.4   Google WebP image format conversion tool
> libxml-2.10.3   XML parsing library
> libzip-1.8.0p0  library for reading, creating and modifying zip archives
> lz4-1.9.4   fast BSD-licensed data compression
> lzo2-2.10p2 portable speedy lossless data compression library
> mariadb-client-10.9.3v1 multithreaded SQL database (client)
> mariadb-server-10.9.3v1 multithreaded SQL database (server)
> net-snmp-5.9.3p2extendable SNMP implementation
> nghttp2-1.49.0  library for HTTP/2
> npth-1.6new GNU Portable Threads Library
> oniguruma-6.9.8 regular expressions library
> p11-kit-0.24.1  library for loading and enumerating PKCS#11 modules
> p5-Archive-Zip-1.68 perl interface to ZIP files
> p5-B-Hooks-EndOfScope-0.26 execute code after a scope finished compilation
> p5-BSD-Resource-1.2911p0 BSD process resource limit and priority functions
> p5-CGI-4.53 Handle Common Gateway Interface requests and responses
> p5-Class-Data-Inheritable-0.09 inheritable, overridable class data
> p5-Class-Inspector-1.36p0 get information about a class and its structure
> p5-Class-Load-0.25p0 working 'require Class::Name' and more
> p5-Class-Load-XS-0.10p1 XS implementation of parts of Class::Load
> p5-Class-Method-Modifiers-2.1

Re: After upgrade to 7.2 snmpd fails

2023-01-21 Thread Mike Fischer
Ok, I think I have figured out the root cause:

Group _agentx (gid 92) does not exist!

Instead I have:
# cat /etc/passwd|grep _rtadvd
_rtadvd:*:92:92:IPv6 Router Advertisement Daemon:/var/empty:/sbin/nologin
# cat /etc/group|grep _rtadvd  
_rtadvd:*:92:
# 

Any idea which port installs this?

I don’t recall installing any IPv6 routing related ports but possibly some 
dependency might have pulled something in? I don’t see anything obvious in the 
list of installed ports:
# pkg_info -a
apache-httpd-2.4.54 apache HTTP server
apr-1.7.0   Apache Portable Runtime
apr-util-1.6.1p4companion library to APR
argon2-20190702 C implementation of Argon2 - password hashing function
brotli-1.0.9p0  generic lossless compressor
bzip2-1.0.8p0   block-sorting file compressor, unencumbered
colorls-6.9 ls(1) that can use color to display file attributes
curl-7.87.0 transfer files with FTP, HTTP, HTTPS, etc.
cvsps-2.1p2 generate patchsets from CVS repositories
db-4.6.21p7v0   Berkeley DB package, revision 4
dokuwiki-2022.07.31a standards compliant, simple to use Wiki
dovecot-2.3.19.1p0v0 compact IMAP/POP3 server
emacs-28.2-no_x11   GNU editor: extensible, customizable, self-documenting
femail-1.0p1simple SMTP client
femail-chroot-1.0p3 simple SMTP client for chrooted web servers
gd-2.3.3library for dynamic creation of images
gettext-runtime-0.21p1 GNU gettext runtime libraries and programs
giflib-5.2.1tools and library routines for working with GIF images
git-2.37.3  distributed version control system
glib2-2.72.4p2  general-purpose utility library
gmake-4.3   GNU make
gmp-6.2.1p0 library for arbitrary precision arithmetic
gnupg-2.2.39GNU privacy guard - a free PGP replacement
gnutls-3.7.7GNU Transport Layer Security library
icu4c-71.1v0International Components for Unicode
iftop-1.0pre4p3 display bandwidth usage on an interface
intel-firmware-20221108v0 microcode update binaries for Intel CPUs
iperf-2.0.12p0  tool for measuring maximum TCP and UDP bandwidth
jansson-2.14library for manipulating JSON data
jpeg-2.1.3v0SIMD-accelerated JPEG codec replacement of libjpeg
libassuan-2.5.5 IPC library used by GnuPG and gpgme
libexttextcat-3.4.6 UTF-8 aware language guessing library
libffi-3.4.2Foreign Function Interface
libgcrypt-1.10.1p0  crypto library based on code used in GnuPG
libgpg-error-1.45   error codes for GnuPG related software
libiconv-1.17   character set conversion library
libidn-1.41 internationalized string handling
libidn2-2.3.0p0 implementation of IDNA2008 internationalized domain names
libksba-1.6.3   X.509 library
libnettle-3.8.1 cryptographic library
libpsl-0.21.1   public suffix list library
libsecret-0.20.5p0  library for storing and retrieving passwords and secrets
libsodium-1.0.18p1  library for network communications and cryptography
libstemmer-2.1.0stemming algorithms for text processing
libtasn1-4.19.0 Abstract Syntax Notation One structure parser library
libunbound-1.16.3   validating DNS resolver library
libunistring-0.9.7  manipulate Unicode strings
libusb1-1.0.23p2library for USB device access from userspace
libwebp-1.2.4   Google WebP image format conversion tool
libxml-2.10.3   XML parsing library
libzip-1.8.0p0  library for reading, creating and modifying zip archives
lz4-1.9.4   fast BSD-licensed data compression
lzo2-2.10p2 portable speedy lossless data compression library
mariadb-client-10.9.3v1 multithreaded SQL database (client)
mariadb-server-10.9.3v1 multithreaded SQL database (server)
net-snmp-5.9.3p2extendable SNMP implementation
nghttp2-1.49.0  library for HTTP/2
npth-1.6new GNU Portable Threads Library
oniguruma-6.9.8 regular expressions library
p11-kit-0.24.1  library for loading and enumerating PKCS#11 modules
p5-Archive-Zip-1.68 perl interface to ZIP files
p5-B-Hooks-EndOfScope-0.26 execute code after a scope finished compilation
p5-BSD-Resource-1.2911p0 BSD process resource limit and priority functions
p5-CGI-4.53 Handle Common Gateway Interface requests and responses
p5-Class-Data-Inheritable-0.09 inheritable, overridable class data
p5-Class-Inspector-1.36p0 get information about a class and its structure
p5-Class-Load-0.25p0 working 'require Class::Name' and more
p5-Class-Load-XS-0.10p1 XS implementation of parts of Class::Load
p5-Class-Method-Modifiers-2.13p0 provides Moose-like method modifiers
p5-Class-Singleton-1.6 perl singleton pattern
p5-Clone-0.45   recursively copy Perl datatypes
p5-Clone-PP-1.08Recursively copy Perl datatypes
p5-Cpanel-JSON-XS-4.32 cPanel fork of JSON::XS, fast and correct serializing
p5-Crypt-OpenSSL-Bignum-0.09p0 OpenSSL's multiprecision integer arithmetic
p5-Crypt-OpenSSL-Guess-0.15 guess OpenSSL include path
p5-Crypt-OpenSSL-RSA-0.32 RSA encoding and decoding using OpenSSL
p5-Cry