[prev in list] [next in list] [prev in thread] [next in thread]
List: mandrake-cooker
Subject: [Cooker] [Bug 26668] [webmin] NEW: Webmin Config Settings broken due to patch
From: "davidwhodgins () gmail ! com" <bugzilla () qa ! mandrivalinux ! com>
Date: 2006-10-31 19:19:36
Message-ID: bug26668.20061031191936.139990 () qa ! mandriva ! com
[Download RAW message or body]
User ID: 79121, 1 bugs reported (0 fixed, 0 duplicate, 1 invalid), 7 comments.
http://qa.mandriva.com/show_bug.cgi?id=26668
------- Comment #8 from davidwhodgins@gmail.com 2006-10-31 20:19 -------
As a temporary fix, I've uploaded a script to fix the problem to
http://www.ody.ca/~dwhodgins/webminfixup.sh
It copies each /usr/share/webmin/*/config-mandrake-linux to
/usr/share/webmin/*/config-mandriva-linux
Deletes the /etc/webmin
runs the /usr/share/webmin/setup.sh to recreate the install, with the correct
config files. Copy appended
$ cat webminfixup.sh
#!/bin/sh
# fixup.sh
# For each subdirectory that contains a config-mandrake-linux
# copy it to a config-mandriva-linux
# Recreate webmin config with proper config files
cd /usr/share/webmin
# stop webmin service, if it is currently runnint
/sbin/service webmin stop
# Only root can run this
id | grep "uid=0(" >/dev/null
if [ $? != "0" ]; then
uname -a | grep -i CYGWIN >/dev/null
if [ $? != "0" ]; then
echo "ERROR: The fixup.sh script must be run as root";
echo "";
exit 1;
fi
fi
for file in `find -iname config-mandrake-linux` ; do
newconfigname="`echo "$file" | sed "s/mandrake/mandriva/"`"
echo "cp $file $newconfigname"
cp $file $newconfigname
done
# remove old config
rm -fr /etc/webmin
# install new config
sh /usr/share/webmin/setup.sh
--
Configure bugmail: http://qa.mandriva.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: saispo@mandriva.org
status: NEW
distribution: 2007.0
creation_date:
description:
A patch that was applied to webmin 1.290 to give support for Mandriva 2007.0
causes it to ignore all the existing webmin config-mandrake-linux files. This
prevents most modules (network config, mysql, etc) from working out of the box
due to incorrect paths, etc.
The patch is named webmin-1.290-support-mandriva.patch and changes the
default webmin file os_list.txt. This patch changes all references of mandrake to
mandriva but does not rename all included config-mandrake-linux files to config-
mandriva-linux. Default settings are therefore not setup.
This is not fixed in the webmin-1.290-4.1mdv2007.0 update.
Please let me know if you need any additional info.
Evan Waite
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic