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
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.
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
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.
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"
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?
*** Bug 76185 has been marked as a duplicate of this bug. ***
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 :)
Will backing up /etc/webmin somewhere else allow me to restore my configs later? If so I'll give this a shot.
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.
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
Please provide the contents of: /tmp/.webmin/webmin-setup.out when it fails.
fixed in -r2. Thanks for the help guys.