Description of problem:
vanilla 4.3.11 was producing noise at shutdown like:
No log handling enabled - turning on stderr logging
Creating directory: /var/net-snmp
Failed to create the persistent directory for /var/net-snmp/snmpapp.conf
read_config_store open failure on /var/net-snmp/snmpapp.conf
this is probably in 5.0.4 too; this needs investigating.
Just disabled the shutdown handler again for the moment.