Summary: | net-www/middleman-2.0.1: Default config copied to wrong directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Malte S. Stretz <gentoo-bugger> |
Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
Status: | VERIFIED TEST-REQUEST | ||
Severity: | minor | CC: | lavish, solar |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Malte S. Stretz
2004-04-09 12:51:25 UTC
fix it the following way: edit /etc/init.d/mman, add [ "${SECTION}" != "" ] && myopts="${myopts} -s ${SECTION}" after the {LOGLEVEL} line 32 add SECTION=/etc/mman/section.xml to /etc/conf.d/mman and move config.xml & section.xml from /etc/mman/mman/ to /etc/mman/ (1 directory up) Package: net-www/middleman-2.0.1-r1 I've committed a fix for this bug. It should appear on your local rsync mirror in about an hour. Could you test it please, and let me know if it works for you or not? Many thanks, Stu Thanks Stuart. Dear Readers. I've talked with jasonmc and he has infomed me of his plans to discontinue supporting middle-man as an OSS project. I've requested that I be giving admin privs at the sourceforge site so that the project may not totally die off (security fixes or whatever). Anyway case in point middle-man is in maintenance only mode now. You still didnt apply the patch to make the program start: ------------------- diff -ru old/conf.d/mman new/conf.d/mman --- old/conf.d/mman 2004-04-23 21:11:38.959730608 +0200 +++ new/conf.d/mman 2004-04-23 21:11:30.405031120 +0200 @@ -4,3 +4,4 @@ LOGFILE=/var/log/mman.log CONFIG=/etc/mman/config.xml LOGLEVEL=32767 +SECTION=/etc/mman/section.xml diff -ru old/init.d/mman new/init.d/mman --- old/init.d/mman 2004-04-23 21:12:11.060850496 +0200 +++ new/init.d/mman 2004-04-23 21:12:03.268035184 +0200 @@ -29,6 +29,7 @@ [ "${CONFIG}" != "" ] && myopts="${myopts} -c ${CONFIG}" [ "${LOGFILE}" != "" ] && myopts="${myopts} -l ${LOGFILE}" [ "${LOGLEVEL}" != "" ] && myopts="${myopts} -d ${LOGLEVEL}" + [ "${SECTION}" != "" ] && myopts="${myopts} -s ${SECTION}" ebegin "Starting mman" start-stop-daemon --start --quiet --exec /usr/bin/mman -- ${myopts} ----------- i you dont do, you get Delancey init.d # ./mman start * Starting mman... section file option missing [ !! ] Delancey init.d # due to missing section settings in the start script. Sorry - it's been a long day. I've added your patch to the init.d file, and it should be appearing on an rsync mirror near you in about an hour. Let me know if I've got it right this time, and if there's anything else I've missed ;-) Best regards, Stu great, you almost finished :) just add SECTION=/etc/mman/section.xml to the /etc/conf.d/mman and your work is complete after a long day :) Done. Thank you for testing this ;-) Best regards, Stu Closing old bug thanks stu |