Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75895 - webmin-1.170-r1 ebuild is not the complete package
Summary: webmin-1.170-r1 ebuild is not the complete package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 76185 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-28 03:54 UTC by Brian Pankey
Modified: 2004-12-31 14:14 UTC (History)
2 users (show)

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


Attachments
I too am missing the config files from /etc/webmin/ attached is the log from: script rm -rf /etc/webmin && emerge unmerge webmin && emerge webmin exit (typescript,1.23 MB, text/plain)
2004-12-31 08:16 UTC, Chris Rogers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Pankey 2004-12-28 03:54:17 UTC
compiling an entire system from scratch and then emerging webmin (version 1.170-r1). Then, `/etc/init.d/webmin start` complains that /etc/webmin/config doesnt exist and to submit a bug to bugs.gentoo.org. `ls /etc/webmin/` contained no files.

Reproducible: Always
Steps to Reproduce:
1. emerge webmin (NOT upgrading from old webmin)
2. /etc/init.d/webmin start




a quick fix that worked for me was to emerge =app-admin/webmin-1.170 and then 
emerge webmin to upgrade from 1.170 to 1.170-r1...everything works fine with 
this step. ls /etc/webmin/ shows all the files and the config file that should 
be there
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-28 09:14:44 UTC
Both versions use the same code to create /etc/webmin/config in pkg_postinst().  Did you break out of the install perhaps?  I can't reproduce this.
Comment 2 Brian Pankey 2004-12-28 12:39:56 UTC
i never quitted the emerge with a ctrl-c or anything, if thats what you mean. probly just some weird one time thing then. i'll install gentoo on another drive and try to reproduce this
Comment 3 Jeremt 2004-12-29 23:16:29 UTC
I have the same problem, on amd64 arch.

Error:
 * Error starting webmin.  /etc/webmin/config is not present.
 * Please report this on http://bugs.gentoo.org.

Also:

sed: can't read //etc/webmin/miniserv.conf: No such file or directory

In emerge output.
Comment 4 FieldySnuts 2004-12-30 11:56:40 UTC
I also get this error. Fresh stage1 system, first attempt installing webmin on it or starting it. 

quasar root # /etc/init.d/webmin start
 * Error starting webmin.  /etc/webmin/config is not present.
 * Please report this on http://bugs.gentoo.org.

I remerged, and I noticed this near the end of the merge:

sed: can't read //etc/webmin/miniserv.conf: No such file or directory

The quick fix listed in the intitial post fixed things for me.



Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 Intel(R) Celeron(TM) CPU                1100MHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts chroot crypt encode foomaticdb fortran gdbm gif gpm kde kerberos libwww mad mikmod mmxncurses motif mpeg ncurses oggvorbis opengl pam pdflib perl pwdb python qt quicktime readline samba sdl snmp spell ssl tcpd truetype xml2 xv zlib"
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-30 13:15:41 UTC
damn.  I can't fix this unless someone who has the bug DOESN'T do the workaround so I can debug the system with them.

Can you try to retrigger the bug by doing:

rm -rf /etc/webmin && emerge unmerge webmin && emerge webmin

Log that whole thing and attach the log here.

Do you have /etc/webmin/uninstall.sh on your system?
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-30 18:36:58 UTC
*** Bug 76185 has been marked as a duplicate of this bug. ***
Comment 7 Brian Pankey 2004-12-30 18:41:21 UTC
as soon as that pc finishes reemerging world i will rm -rf all of webmin and try again and help debug...i can always reconfigure webmin again
i have no clue how longs its gonna take tho...emerge keeps segfaulting with non-reproducible errors and memtest86 running for 24 hours showed no errors so its weird. ETA of emerge finishing is next year...pun intended :)
Comment 8 FieldySnuts 2004-12-31 07:14:36 UTC
Will backing up /etc/webmin somewhere else allow me to restore my configs later? If so I'll give this a shot.
Comment 9 Brandon Adams 2004-12-31 07:33:07 UTC
i tried the following:

emerge unmerge webmin
rm -rf /etc/webmin
emerge webmin

and still the same results, sed error at end of install, /etc/webmin only has uninstall.sh in it, and webmin will not start because of missing configs.
Comment 10 Chris Rogers 2004-12-31 08:16:59 UTC
Created attachment 47278 [details]
I too am missing the config files from /etc/webmin/

attached is the log from:
script
rm -rf /etc/webmin && emerge unmerge webmin && emerge webmin
exit
Comment 11 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-31 13:07:39 UTC
Please provide the contents of:
/tmp/.webmin/webmin-setup.out

when it fails.
Comment 12 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-31 14:14:13 UTC
fixed in -r2.  Thanks for the help guys.