[Pkg-net-snmp-devel] Bug#708328: snmpd: On upgrade: "mkdir: cannot create directory ‘/var/run/agentx’: File exists"

Vincent Bernat bernat at debian.org
Wed May 15 07:00:47 UTC 2013


Package: snmpd
Version: 5.7.2~dfsg-3
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

When upgrading snmpd from 5.4, I get this error:

Setting up snmpd (5.7.2~dfsg-3) ...
mkdir: cannot create directory ‘/var/run/agentx’: File exists
dpkg: error processing snmpd (--configure):
 subprocess installed post-installation script returned error exit status 1

/var/run/agentx is a symlink:

ls -l /var/run/agentx
lrwxrwxrwx 1 root root 18 mai   15 08:47 /var/run/agentx -> /var/agentx/master

Also, I fail to understand why it should be changed to a
directory. This may break software expecting to find the socket in
/var/run/agentx.

- -- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.8-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages snmpd depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.50
ii  libc6                  2.17-2
ii  libmysqlclient18       5.5.31+dfsg-1
ii  libsnmp-base           5.7.2~dfsg-3
ii  libsnmp30              5.7.2~dfsg-3
ii  libwrap0               7.6.q-24
ii  lsb-base               4.1+Debian9
ii  zlib1g                 1:1.2.8.dfsg-1

snmpd recommends no packages.

snmpd suggests no packages.

- -- Configuration Files:
/etc/snmp/snmpd.conf [Errno 13] Permission denied: u'/etc/snmp/snmpd.conf'
/etc/snmp/snmptrapd.conf [Errno 13] Permission denied: u'/etc/snmp/snmptrapd.conf'

- -- debconf information:
  snmpd/upgradefrom521:

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRkzKeAAoJEJWkL+g1NSX5tVgP/03A3nGPR6he7SIdgGm3jlVw
ZwwgK+AggC2HL7CyTEkO1FVn2aM5ccYmdO6aaUs+KIR60wtY9HsCanlxKVrwgP4H
0AHfaMGOjheJxmjLhbnVUWbyCEjceH3T8Lz+HBuCJldr50/Vt4XNimloH0e7VTQm
CL5OtgrpsQx8SU2Z2mxjAL26JldUouVY3OYah+Yodr5dFfSiKaNUt7Z6/bTJvbJE
l9uBLHR/vLU0Ww7HJoa1Ob9FVIjBbqPf6v1KzQtQ+psF2fh4Mqzd7A97xr6b5HGh
88vaRoL9Hq9rF4iZs9QGTVk8k562R1SOI92dZlgi414cQsu/+0GSW4Q8Wkk1bpJO
p7CaCgN/FGmEhGJg9YaWRo4nED0eW9qltzcqT8f3vnhfDVZ0yOaCOL6hk3j9HQY3
4umTir0s3XhHmitsCaO/gRMA2viFlZl4p/A2hzhIcnjAZpUPr4R6zq9/aosc295p
0/fAJ/mOOceyeex3ZQWccwTieq4Q1h0Gbz1HoqD16qB4dqPNiz95EaNRhsl2RR1O
Pb95e7XWbTMblcyysC/dU5ucVJdy+CHRzPQe+wWuVVxD/YD9g+diNhoEWM7fv+DP
nqaV2ff1G20QAaHN7OLi8UgixsIw7OVgH8idcMIJQ5mqDM1WlmrgSrZvfsceOxOK
vguL3awQ4SKXslDhpUOJ
=3Luy
-----END PGP SIGNATURE-----



More information about the Pkg-net-snmp-devel mailing list