pkg_postinst() does the following: /etc/init.d/webmin stop >/dev/null 2>&1 stopstatus=$? ...calls setup.sh from /usr/libexec/webmin if [ "$stopstatus" = "0" ]; then # Start if it was running before /etc/init.d/webmin start fi This is *wrong*. If port 10000 is taken by another app when we emerge webmin, it won't report any error but setup.sh won't install anything in /etc/webmin! emerge should fail if port 10000 is taken. Reproducible: Always Steps to Reproduce: 1. 2. 3.
i don't know any other apps on 10000 we can't check every circumstand. you still have to think about your system-cfg.