Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106385 - app-admin/webmin - many mistakes in ebuild
Summary: app-admin/webmin - many mistakes in ebuild
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-18 10:47 UTC by Wladyslaw Bodzek
Modified: 2005-09-21 17:53 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 Wladyslaw Bodzek 2005-09-18 10:47:33 UTC
When I tried merge this:

[ebuild   R   ] app-admin/webmin-1.210-r1  +apache2 +pam -postgres +ssl
-webmin-minimal

1. it needs Authen-PAM to run which is not in RDEPEND
2. remerging with config protect turned on does not substitute root password in
new config file, but the old /etc/webmin/miniserv.users
3. wrong path gets into /etc/webmin/miniserv.conf:
--- CUT ---
...
root=/tmp/portage/webmin-1.210-r1/image/usr/libexec/webmin
mimetypes=/tmp/portage/webmin-1.210-r1/image/usr/libexec/webmin/mime.types
...
--- CUT ---
after deleting manually these "/tmp/portage/webmin-1.210-r1/image" all works o.k

I saw that the latest ebuild does not resolve these issues...

Reproducible: Always
Steps to Reproduce:
1. (issue 1,2,3) emerge webmin
2. (issue 2    ) emerge webmin
3.

Actual Results:  
as described in details
issue 3 - webmin is not operational until manual corrections of config files

Expected Results:  
.

Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r1,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 Intel(R) Xeon(TM) CPU 3.06GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ITDNet.net/gentoo http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://gentoo.cs.put.poznan.pl/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts crypt cups curl eds emboss
encode esd fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib
jpeg kde kerberos ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg ncurses
nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline
samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2
xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-09-18 21:00:28 UTC
Re: 1... see the open bug whereby auth-pam causes webmin to segfault.
Re: 2... that's why you shouldn't automerge
Re: 3... thanks, I'll look at why that's not getting stripped out...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-09-21 16:39:00 UTC
It's working fine for me... what version are you using?  This should be catching it:

find ${D}/etc/webmin -type f | xargs sed -i -e "s:${D}:${ROOT}:g"
Comment 3 Wladyslaw Bodzek 2005-09-21 17:49:16 UTC
ok... my fault, i found the reason
i have symbolic link from /var/tmp to /tmp
and then D=/tmp/blahblah instead of /var/tmp/blahblah

do you know how to workaround this?
Comment 4 Wladyslaw Bodzek 2005-09-21 17:51:15 UTC
mistake... :)
D=/var/tmp/blahblah instead of /tmp/blahblah
Comment 5 Wladyslaw Bodzek 2005-09-21 17:53:31 UTC
ok... i think i will set 
PORTAGE_TMPDIR=/tmp
in my make.conf and i won't have similar problems in the future

thank you for your assist