Author Topic: webmin1.470  (Read 11256 times)

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
webmin1.470
« on: April 26, 2009, 10:32:12 AM »
I'm looking at this.  Just looking at this.

Travis have you built this lately?

Well it built easily enough, but the spec file is so different than what texstar did originally that I'm not sure he'll want it.  There is a lot of extra stuff in the repo version.

Wow, it sure is a different look!

Anyone want to check it out? 
rpm and src.rpm is available here:
http://nbrks.com/rpm/webmin/

Well, When I rebooted I got an Inusertmp error and could not log in.  Logged in as root and found that the tmp folder in my home directory was owned by root.  Not sure if webmin caused this but it's the only new thing I did today, so further investigation is in order.
« Last Edit: April 26, 2009, 11:56:38 AM by Joble »
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: webmin1.470
« Reply #1 on: April 26, 2009, 12:11:52 PM »
I'm looking at this.  Just looking at this.

Travis have you built this lately?

Well it built easily enough, but the spec file is so different than what texstar did originally that I'm not sure he'll want it.  There is a lot of extra stuff in the repo version.

Wow, it sure is a different look!

Anyone want to check it out? 
rpm and src.rpm is available here:
http://nbrks.com/rpm/webmin/


Joble,
     I installed it on a machine here and the first thing I noticed is it does not properly recognize the operating system as PCLinuxOS.

Preparing...                ########################################### [100%]
Operating system is Generic Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://dannys.dm-enterprises.net:10000/
as root with your root password.


Also all the paths are screwed up. For example

Apache server root directory  /usr/local/apache   it should be at /etc/httpd
Path to httpd executable   /usr/local/apache/bin/httpd   it should be at /usr/sbin/httpd
with those changes it will start

MySQL paths are also incorrect. they are currently at /usr/local/mysql/bin/ and should be /usr/bin/
The Path to MySQL databases directory should be /var/lib/mysql  not at /usr/local/mysql/var
also the Path to MySQL shared libraries directory should be none  not /usr/local/mysql/lib
with these changes MySQL will start

These are only a few of the issues I have spotted so far.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: webmin1.470
« Reply #2 on: April 26, 2009, 12:14:34 PM »
OK now I'm hooked!  I guess I will do this thing.  The original spec file from the repo is so different that comparing the two is a difficult task, but now I can't resist.  Learn by doing.  Thanks for the input, make sure you check ownership of your tmp directory.  ;)
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: webmin1.470
« Reply #3 on: April 26, 2009, 01:11:27 PM »
I think BigBear has a how-to on setting up webmin.. check the wiki on pclosbe.org for

Also, webmin has a built in update function, so it is not really necessary to repackage every single update that comes out; just run the update function built into webmin.  (..this is what I do).  If you are going to update the package, it might be a good idea to point this fact out in the spec's description as many people are not aware of it!

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: webmin1.470
« Reply #4 on: April 26, 2009, 01:23:57 PM »
Good Idea, about the auto-update.  The version in synaptic is so old, I thought why not update it, and learn in the process.

Thanks for the pointers, I will look into it.  I think it will probably be slow going however, to make all the changes necessary to the source and spec files, but it will be a worthwhile effort.

Thanks!
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: webmin1.470
« Reply #5 on: April 26, 2009, 01:46:40 PM »
OK now I'm hooked!  I guess I will do this thing.  The original spec file from the repo is so different that comparing the two is a difficult task, but now I can't resist.  Learn by doing.  Thanks for the input, make sure you check ownership of your tmp directory.  ;)

edited: here is Jamie's reply to my email to him

Ok, it looks like Webmin doesn't support PCLinuxOS 2009 yet, which is why you
got that incorrectly detected OS. I will fix this in the next Webmin release .. but
till then, you'll just have to un-install and wait for the next version, sorry.

 - Jamie
« Last Edit: April 26, 2009, 05:54:05 PM by YouCanToo »




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: webmin1.470
« Reply #6 on: April 26, 2009, 08:50:00 PM »
Version 1.45 is in the repos and seems to work fine;  If you are having problems with it, make sure its service is running in PCC.

I just ran an update to the current with it's built in update function without any problems;  I did notice that it recognizes the OS as "Generic Linux 2.6"..  seems like I saw a fix for this somewhere ???

Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: webmin1.470
« Reply #7 on: April 26, 2009, 09:18:07 PM »
Version 1.45 is in the repos and seems to work fine;  If you are having problems with it, make sure its service is running in PCC.

I just ran an update to the current with it's built in update function without any problems;  I did notice that it recognizes the OS as "Generic Linux 2.6"..  seems like I saw a fix for this somewhere ???

Linuxrea, posted something about setting the correct paths. One can indeed do that, but the point is that the end user shouldn't have to go in and set paths! I was setting up a new system and testing a rpm that joble built.  Webmin works fine with 2007 and using the upgrade within Webmin itself works fine even after one has upgraded PCLOS to 2009.1  The rpm within Synaptic has not worked correctly for some time, I have pointed that out several times within different posts.




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: webmin1.470
« Reply #8 on: April 26, 2009, 10:10:20 PM »
What exactly is the problem??  I just did a complete un-install / re-install, and update, and it seemed to work..  the theme is UGLY and not very user friendly, but it does work if the webmin service is started manually (or you reboot)..

I also tested installed the RPM directly from source-forge without problems (..not officially endorsed!):
Code: [Select]
apt-get install http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin-1.470-1.noarch.rpm
@Joble..
If you are still wanting to update the repo version, the source, SRPM is available at http://sourceforge.net/project/showfiles.php?group_id=17457&package_id=13391&release_id=669105 ..it should be an easy unpack and repack; just add "service webmin start" to the post install section of the spec so the user doesn't have to reboot





Offline YouCanToo

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 5331
  • Location: Lebanon, OR., USA
    • Spreading the word.......
Re: webmin1.470
« Reply #9 on: April 27, 2009, 12:41:07 AM »
What exactly is the problem??  I just did a complete un-install / re-install, and update, and it seemed to work..  the theme is UGLY and not very user friendly, but it does work if the webmin service is started manually (or you reboot)..

I also tested installed the RPM directly from source-forge without problems (..not officially endorsed!):
Code: [Select]
apt-get install http://superb-west.dl.sourceforge.net/sourceforge/webadmin/webmin-1.470-1.noarch.rpm
@Joble..
If you are still wanting to update the repo version, the source, SRPM is available at http://sourceforge.net/project/showfiles.php?group_id=17457&package_id=13391&release_id=669105 ..it should be an easy unpack and repack; just add "service webmin start" to the post install section of the spec so the user doesn't have to reboot



The problem is it DOES NOT work as it should. The end user should not have to go in and mess with paths to make it work.  It is not that I can't make it work it is that it should not be necessary for the end user to have to make changes to get it working and also reporting the correct os.  As seen in the attached image I can get it to say that I am using PCLOS 2009, but than also notice at the bottom it is telling one that the OS is "Generic Linux" The Generic Linux has a set of very different paths setting for Apache and Mysql and that is how it will be set when installed in Synaptic. This will screw up most end users when they go to use it. Also note that I am using the most current version.

[dwmoar@laptop ~]$ rpm --query webmin
webmin-1.470-1
[dwmoar@laptop ~]$

I am not to sure how much more one can say about what is the problem with it as it is.  I am well aware that I can go in and make a bubble gum fix to make it work. If you do a search in the forum there is no fix for the Generic Linux issue. there was mentioned on what the paths for Apache and MySQL should be in order to get them to run.

[attachment deleted by admin]




Be sure to visit the NEW Knowledge Base


Linux is user-friendly- it's just picky who its friends are!

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: webmin1.470
« Reply #10 on: April 27, 2009, 12:55:40 AM »
Thanks for the explanation..  the computer that I have webmin on at home is not running apache or mysql; hence I did not find the problems you are having..  ::)

nezahualcoyotl

  • Guest
Re: webmin1.470
« Reply #11 on: April 27, 2009, 05:48:18 AM »
Webmin paths in pclos rpms have been incorrect for a very long time.

If I recall correctly, it is one of the reasons why the BEL Project ( back then, PCLOSBE) used the sourceforge original and modified the paths, then encouraged users to update within the system and not use the pclos rpm.

I can support travis's assertion that indeed, the BEL Project Wiki has the paths for the  various services laid out for PCLOS.

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: webmin1.470
« Reply #12 on: April 27, 2009, 06:48:08 AM »
Thanks for all the input.  My intention is indeed to get it working correctly (for PCLOS) right from the initial synaptic install.  I won't send it up to contribs until it does.  Also in my spec file I did include the latest patch available.  I will play with it, and maybe a new version of the src file will work better.  We'll see.
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline Joble

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6804
  • USA - Mountain Time
Re: webmin1.470
« Reply #13 on: May 07, 2009, 07:29:48 AM »
I think I found the problem!
Code: [Select]
elsif (\`cat /etc/mandrake-release 2>/dev/null\` =~ /PCLinuxOS\\s+release\\s+2007/i) {
print "oscheck='pclinuxos Linux'\\n";
}
I added another one:
Code: [Select]
elsif (\`cat /etc/mandrake-release 2>/dev/null\` =~ /PCLinuxOS\\s+release\\s+2009/i) {
print "oscheck='pclinuxos Linux'\\n";
}
Search First.
Forum Rules
Hero means I talk a lot, nothing more, nothing less!
Have an Awesome Day!
Healthy System

Offline travisN000

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1758
Re: webmin1.470
« Reply #14 on: May 07, 2009, 08:02:53 AM »
Not to be picky, but do you think you could add capital letters to the name..
Code: [Select]
print "oscheck='PCLinuxOS Linux'\\n"

..and while I'm at it, is "PCLinuxOS Linux" a little redundant?
 ;D ;D ;D