I just emerged middleman and the config files were copied to /etc/mman/mman/{config,section}.xml (one subdir too much). Reproducible: Always Steps to Reproduce: 1. emerge middleman 2. ls /etc/mman Actual Results: total 1 drwxr-xr-x 2 root root 112 Apr 9 22:34 mman Expected Results: total 108 -rw-r--r-- 1 root root 43376 Apr 9 22:34 config.xml -rw-r--r-- 1 root root 63041 Apr 9 22:34 section.xml Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 mobile AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O2 -pipe" DISTDIR="/var/cache/portage/sources" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://gentoo.inode.at/" MAKEOPTS="-j2" PKGDIR="/var/cache/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/root/.portage/overlay /home/mss/.portage/mortage" SYNC="rsync://otherland/gentoo-portage" USE="3dnow X aalib aavm acl acpi acpi4linux alsa apache2 apm arts avi berkdb cdr crypt cups curl directfb dnd dvd encode esd ethereal faad fam fbcon flac foomaticdb freetype gdbm geoip gif gphoto2 gpm gps gstreamer gtk gtk2 guile imagemagick imap imlib ipv6 jabber java jpeg kde ldap libg++ libwww mad maildir mmx mng motif mozilla moznocompose moznoirc mpeg nas ncurses nls odbc oggvorbis opengl pam pcap pcmcia pdflib perl png pnp python qt quicktime readline regexp samba sasl scanner sdl slang slp socks5 spell sse ssl stroke svga tcltk tcpd tetex tiff transcode truetype trusted type1 uml usagi usb wmf x86 xchattext xinerama xml2 xmms xv zlib"
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