Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28042 - WebMin's ebuild won't install its support script in /etc/webmin if port 10000 is busy when emerging
Summary: WebMin's ebuild won't install its support script in /etc/webmin if port 10000...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-06 05:42 UTC by Julien Cayzac
Modified: 2003-09-16 13:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.