Ok, it shouldn't be used, but sometimes, it is needed. The folling seems to help fix stuff:
---8<---
module miniupnpdnb 1.0;
require {
type initrc_t;
class rawip_socket { getopt create };
}
#============= initrc_t ==============
allow initrc_t self:rawip_socket { getopt create };
