| Summary: | a little help to run xmail! | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | strites <strites> |
| Component: | [OLD] Server | Assignee: | Net-Mail Packages <net-mail+disabled> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | jakub |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 97405 | ||
| Attachments: | Added RDEPEND on net-firewall/iptables and checks for needed kernel config options | ||
Definitely not amd654 specific, I had the same problem on x86 when I tried last; the whole thing is pretty *ahem* non-standard. so I'm changing description accordingly ;) the problem seems to be in the chroot (/chroot/xmail) and in the change of user (xmail). I did a initscript without these 2 and it runs. (as root and without chroot :/ ) Is there a way to get it working as planned by portage? (In reply to comment #3) > the problem seems to be in the chroot (/chroot/xmail) and in the change of user > (xmail). Maybe we found the problem, so two questions: 1/ Do you have net-firewall/iptables installed? 2/ Is CONFIG_IP_NF_TARGET_REDIRECT enabled (either as a module or compiled into kernel) on your box? Created attachment 62262 [details, diff]
Added RDEPEND on net-firewall/iptables and checks for needed kernel config options
I commited new ebuild with the fix (without revision bump), please wait for an hour or so, sync portage tree, reemerge xmail then try again. Jacob, thanks for the patch. |
This program compiled well in the amd64 platform and it maked succesfully the tests. It created the /chroot/xmail/var/MailRoot/ folder. /chroot/xmail/var/MailRoot/bin/XMail exixts. The variables in /etc/conf.d/xmail are all OK (fot what regards the path) The problem is here: start-stop-daemon --start -c xmail -r ${CHROOT} \ --startas ${MAIL_EXEC} --pidfile=${MAIL_PID} -- \ ${MAIL_CMD_LINE} From /etc/conf.d/xmail CHROOT="/chroot/xmail" MAIL_ROOT=/var/MailRoot export CHROOT MAIL_ROOT # variables for simplicity sake MAIL_NAME=XMail MAIL_EXEC=/var/MailRoot/bin/$MAIL_NAME MAIL_PID=/var/run/$MAIL_NAME.pid I'm not sure, but I think this is not related to the "amd64", or yes? Reproducible: Always Steps to Reproduce: 1.ACCEPT_KEYWORDS=x86 emerge xmail 2.(a base configuration) 3./etc/init.d/xmail start Actual Results: * Re-caching dependency info (mtimes differ)... * Starting XMail ... start-stop-daemon: Unable to start /var/MailRoot/bin/XMail: No such file or directory Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64) ================================================================= System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 10 2005, 12:36:42)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict test" GENTOO_MIRRORS="ftp://gentoo.inode.at/source http://gentoo.osuosl.org" LINGUAS="it" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/zugaina-portage /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X aac aalib acpi alsa altra_var1 altra_var2 arts audiofile avi bash-completion berkdb bidi bitmap-fonts canna cdr chasen cjk crypt cups curl dvb dvd dvdr dvdread encode fam fbcon ffmpeg flac font-server foomatic fortran freewnn ftp gd gdbm ggi gif gphoto2 gpm gtk gtk2 icq imagemagick imap imlib immqt-bc java javascript jikes jp2 jpeg junit kde lzw lzw-tiff mad maildir matroska mp3 mpeg msn ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pdflib perl png ppds python qt quicktime readline real sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd vorbis xine xml2 xmms xpm xrandr xv xvid yahoo zlib linguas_it userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS