Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 28042

Summary: WebMin's ebuild won't install its support script in /etc/webmin if port 10000 is busy when emerging
Product: Gentoo Linux Reporter: Julien Cayzac <julien.cayzac+gentoo>
Component: Current packagesAssignee: Martin Holzer (RETIRED) <mholzer>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julien Cayzac 2003-09-06 05:42:52 UTC
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.
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-09-16 13:51:12 UTC
i don't know any other apps on 10000
we can't check every circumstand.

you still have to think about your system-cfg.