Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80091 - webmin ebuild puts temporary paths in the generated config
Summary: webmin ebuild puts temporary paths in the generated config
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
: 130336 (view as bug list)
Depends on:
Blocks: 130336
  Show dependency tree
 
Reported: 2005-01-30 09:13 UTC by Peufeu
Modified: 2006-12-01 16:32 UTC (History)
1 user (show)

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 Peufeu 2005-01-30 09:13:07 UTC
# emerge webmin
# vim /etc/webmin/miniserv.conf

line 2 :
root=/var/tmp/portage/blahblah/usr/libexec/webmin

urgh !
It should be :
root=/usr/libexec/webmin

The error occurs on all paths with /usr/libexec/webmin in them : they point to something in /var/tmp/portage. It seems the script generating the config file has a bug.

Note that webmin still works, but it's fishy !

I flagged it as critical because it can have security issues... root scripts in /var/tmp... argh.

Reproducible: Always
Steps to Reproduce:
# emerge webmin
# vim /etc/webmin/miniserv.conf
look at line 2, be afraid.



Expected Results:  
read details.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-30 19:54:56 UTC
$ grep root /etc/webmin/miniserv.conf
root=/usr/libexec/webmin
preroot=mscstyle3

What ebuild are you using?  I've got 1.180
Comment 2 Peufeu 2005-01-30 20:01:32 UTC
Sorry, I forgot the version :
1.170-r3
Comment 3 Peufeu 2005-01-30 20:03:41 UTC
I got 1.170-r3.
1.180 is masked.

Could you reproduce it ?
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-30 20:08:08 UTC
no, I couldn't reproduce.  1.170-r3 should be the same with the configs as 180.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-09 17:40:53 UTC
closing unless someone can reproduce this...
Comment 6 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-12-01 16:32:09 UTC
*** Bug 130336 has been marked as a duplicate of this bug. ***