Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121587 - three mail-mta/nullmailer-1.02 problems, including failure to set ownership/permissions on mailq.nullmailer when mailwrapper USE flag is on
Summary: three mail-mta/nullmailer-1.02 problems, including failure to set ownership/p...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 13:17 UTC by Joe Wells
Modified: 2006-02-11 02:36 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 Joe Wells 2006-02-04 13:17:12 UTC
This problem report is about the ebuild for mail-mta/nullmailer-1.02.
The same problems occurred with the earlier ebuild for
mail-mta/nullmailer-1.00.

Problem #1:

When the "mailwrapper" USE flag is on, the ebuild moves nullmailer's
/usr/bin/mailq to /usr/bin/mailq.nullmailer.  Later, it sets the
ownerships and permissions on the (now nonexistent) /usr/bin/mailq.
This fails with these two error messages (my portage tmp directory is
/extra/var/tmp):

  chown: cannot access `/extra/var/tmp/portage/nullmailer-1.02/image//usr/bin/mailq': No such file or directory
  chmod: cannot access `/extra/var/tmp/portage/nullmailer-1.02/image//usr/bin/mailq': No such file or directory

Because of this, the ownership and permissions are not set correctly
on /usr/bin/mailq.nullmailer and the mailq command fails with this
error message:

  Cannot change directory to queue.

This problem seems to have arisen due to a somewhat botched fix to bug
95292.

Problem #2:

The ebuild prints this message:

  Please ensure you have selected nullmailer in your /etc/mailer.conf

This file no longer exists.  The correct file name is
/etc/mail/mailer.conf.

Problem #3: 

The ebuild does not fix any running copy of the nullmailer-send
daemon.  I suggest that it either execute the command

  svc-restart nullmailer

or remind the user to do so.

Gentoo Base System version 1.12.0_pre15
Portage 2.1_pre4-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.8.1-co-0.6.2-pre1 i686)
=================================================================
System uname: 2.6.8.1-co-0.6.2-pre1 i686 Intel(R) Pentium(R) M processor 1100MHz
dev-lang/python:     2.2.3-r6, 2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
BIBINPUTS=":~/bibliography:/extra/home/jbw/church/lib/bibtex:/extra/home/jbw/people-files/sebc-cvs/sebc-cvs/lib/bibtex"
BSTINPUTS=":~/tex/btxbst:/extra/home/jbw/church/lib/bibtex:/extra/home/jbw/church/lib/tex/jfp"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
CM_PATH="/extra/home/jbw/church/lib/sml"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CVSROOT="jbw@types.bu.edu:/cvsroot"
CVSUMASK="07"
CVS_RSH="ssh"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISPLAY="192.168.251.1:0.0"
DISTDIR="/usr/portage/distfiles"
DOOMWADDIR="/usr/lib/games/doom"
DVIPSHEADERS=":/extra/home/jbw/church/lib/tex/pstricks"
EDITOR="emacs"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig candy distlocks moo sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.solnet.ch http://mir.zyrianes.net/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ds.thn.htu.se/linux/gentoo"
GROUP="users"
GUILE_LOAD_PATH="/usr/share/guile/1.6"
G_BROKEN_FILENAMES="1"
HOME="/home/jbw"
HOST="colinux"
HOSTNAME="colinux"
HOSTTYPE="i386-linux"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/info:/usr/share/info/emacs-21:/usr/share/info/emacs-22.0.50"
INITIAL_PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/ghc/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/games/bin:/extra/home/jbw/church/bin"
INPUTRC="/etc/inputrc"
JAVAC="/opt/blackdown-jdk-1.4.2.03/bin/javac"
JAVA_HOME="/opt/blackdown-jdk-1.4.2.03"
JDK_HOME="/opt/blackdown-jdk-1.4.2.03"
KERNEL="linux"
LESS="cdfiMnQs"
LESSOPEN="|lesspipe.sh %s"
LOGNAME="jbw"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.qt=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.flac=01;35:*.mp3=01;35:*.mpc=00;36:*.ogg=00;36:*.wav=00;36:*.mid=00;36:*.midi=00;36:*.au=00;36:*.flac=00;36:*.aac=00;36:"
MACHTYPE="i386"
MAIL="/var/mail/jbw"
MAKEOPTS=""
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/3.4.5/man::/opt/blackdown-jdk-1.4.2.03/man"
MFINPUTS=":/extra/home/jbw/church/lib/tex/fonts//"
OPENGL_PROFILE="xorg-x11"
OSTYPE="linux"
PAGER="less"
PATH="/home/jbw/bin:/home/jbw/church/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/ghc/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/games/bin:/extra/home/jbw/church/bin:/sbin:/usr/sbin:/usr/local/sbin:/usr/games"
PERL5LIB="/home/jbw/perllib:/extra/home/jbw/church/lib/perl"
PGPPATH="/home/jbw/.pgp"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="20928"
PORTAGE_NICENESS="19"
PORTAGE_TMPDIR="/extra/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PWD="/home/jbw"
PYTHONDOCS="/usr/share/doc/python-docs-2.4.2/html"
PYTHONPATH="/usr/lib/portage/pym"
REAL_TMPDIR="/home/jbw/tmp"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.4.5:/opt/ghc/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHELL="/bin/tcsh"
SHLVL="2"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
TEXEDIT="emacsclient --no-wait +%d %s"
TEXINPUTS="~/foiltex//::~/tex//:~/foiltex//:/extra/home/jbw/church/lib/tex//"
TEXPSHEADERS=":/extra/home/jbw/church/lib/tex/pstricks"
TMPDIR="/home/jbw/tmp"
UPDATE_IGNORE_HOSTS="csb.bu.edu csa.bu.edu cs.bc.edu"
USE="x86 X Xaw3d acl apache2 bdf bitmap-fonts bonobo bzip2 cairo canvas crypt djvu doc dvi dynagraph eds emacs emacs-w3 emboss escreen esd etwin examples exif finger firefox font-server fortran fpx ftp gcj gd-external gif glep glitz gmp gopher graphviz gs gstreamer gtk gtk2 guile idn imlib ipv6 jasper java javascript jbig jpeg jpeg2k latex lcms leim libg++ libwww lua lzw-tiff mad mailwrapper md5sum mmx motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg ncurses nntp nodrm nptl nsplugin numeric objc ogg oggvorbis opengl pam pam_chroot pam_console pam_timestamp perl png python readline rle samba script sdk slang socks5 spell sse ssl svg syslog t1lib tcltk tcpd tetex tiff toolbar truetype truetype-fonts type1-fonts unicode vorbis wmf xinerama xml2 xmldoclet xmms xprint xv zlib elibc_glibc kernel_linux userland_GNU"
USER="jbw"
USERLAND="GNU"
USE_EXPAND="DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN=""
USE_ORDER="env:pkg:conf:defaults"
VENDOR="intel"
VISUAL="emacs"
WINDOWID="16777284"
XARGS="xargs -r"
XINITRC="/etc/X11/xinit/xinitrc"
XPSERVERLIST=""
XTERM_SHELL="/bin/tcsh"
XTERM_VERSION="XTerm(207)"
b="/home/jbw/www/teaching/hw/F22AW1/2003,-04"
c="/home/jbw/www/teaching/hw/F22AW1/2004,-05"
d="/home/jbw/www/teaching/hw/F22AW1/2005,-06"
e="/c/Documents and Settings/jbw/Desktop"
extra_mem_bot="100000"
extra_mem_top="100000"
f="/home/jbw/admin/funding/EPSRC-mobility-types/recruitment-1"
hash_extra="20000"
nest_size="500"
stack_size="680"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-02-11 02:36:30 UTC
All of these issues are fixed with >=1.02-r1.