Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24818 - webmin init script needs to depend on logger
Summary: webmin init script needs to depend on logger
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-19 11:15 UTC by Kurt Lieber (RETIRED)
Modified: 2003-07-21 12:28 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 Kurt Lieber (RETIRED) gentoo-dev 2003-07-19 11:15:52 UTC
The /etc/init.d/webmin init script needs to add a line:

need logger

Otherwise, if a user does not have a logger installed, they will be unable to
start webmin, getting errors similar to:

m1 root # /etc/init.d/webmin start
 * Starting webmin...
Starting Webmin server in /usr/libexec/webmin
unix dgram connect: No such file or directory at /usr/libexec/webmin/miniserv.pl
line 191
Bad arg length for Socket::pack_sockaddr_in, length is 0, should be 4 at
/usr/lib/perl5/5.8.0/i686-linux/Socket.pm line 373.                           [ !! ]

I didn't look at it all that closely, but it seems to have something to do with
the PAM component of webmin.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2003-07-19 11:17:19 UTC
actually, looking at the init script closer, it needs an entire depend section:

depend() {
        need net logger
}
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-07-21 12:28:54 UTC
submitted an official bug
meanwhile added workaround

fixed with -r1