<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>121587</bug_id>
          
          <creation_ts>2006-02-04 13:17 0000</creation_ts>
          <short_desc>three mail-mta/nullmailer-1.02 problems, including failure to set ownership/permissions on mailq.nullmailer when mailwrapper USE flag is on</short_desc>
          <delta_ts>2006-02-11 02:36:30 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>sllewbj@blueyonder.co.uk</reporter>
          <assigned_to>robbat2@gentoo.org</assigned_to>
          <cc>net-mail@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>sllewbj@blueyonder.co.uk</who>
            <bug_when>2006-02-04 13:17:12 0000</bug_when>
            <thetext>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 &quot;mailwrapper&quot; USE flag is on, the ebuild moves nullmailer&apos;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&apos;: No such file or directory
  chmod: cannot access `/extra/var/tmp/portage/nullmailer-1.02/image//usr/bin/mailq&apos;: 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=&quot;x86 ~x86&quot;
ACCEPT_LICENSE=&quot;&quot;
ARCH=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
BASH_ENV=&quot;/etc/spork/is/not/valid/profile.env&quot;
BIBINPUTS=&quot;:~/bibliography:/extra/home/jbw/church/lib/bibtex:/extra/home/jbw/people-files/sebc-cvs/sebc-cvs/lib/bibtex&quot;
BSTINPUTS=&quot;:~/tex/btxbst:/extra/home/jbw/church/lib/bibtex:/extra/home/jbw/church/lib/tex/jfp&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-march=pentium4 -O2 -pipe&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CLASSPATH=&quot;.&quot;
CLEAN_DELAY=&quot;5&quot;
CM_PATH=&quot;/extra/home/jbw/church/lib/sml&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d&quot;
CVSROOT=&quot;jbw@types.bu.edu:/cvsroot&quot;
CVSUMASK=&quot;07&quot;
CVS_RSH=&quot;ssh&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -pipe&quot;
DISPLAY=&quot;192.168.251.1:0.0&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
DOOMWADDIR=&quot;/usr/lib/games/doom&quot;
DVIPSHEADERS=&quot;:/extra/home/jbw/church/lib/tex/pstricks&quot;
EDITOR=&quot;emacs&quot;
ELIBC=&quot;glibc&quot;
EMERGE_DEFAULT_OPTS=&quot;--verbose&quot;
EMERGE_WARNING_DELAY=&quot;10&quot;
FEATURES=&quot;autoconfig candy distlocks moo sandbox sfperms strict&quot;
FETCHCOMMAND=&quot;/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}&quot;
GCC_SPECS=&quot;&quot;
GDK_USE_XFT=&quot;1&quot;
GENTOO_MIRRORS=&quot;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&quot;
GROUP=&quot;users&quot;
GUILE_LOAD_PATH=&quot;/usr/share/guile/1.6&quot;
G_BROKEN_FILENAMES=&quot;1&quot;
HOME=&quot;/home/jbw&quot;
HOST=&quot;colinux&quot;
HOSTNAME=&quot;colinux&quot;
HOSTTYPE=&quot;i386-linux&quot;
HUSHLOGIN=&quot;FALSE&quot;
INFOPATH=&quot;/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&quot;
INITIAL_PATH=&quot;/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&quot;
INPUTRC=&quot;/etc/inputrc&quot;
JAVAC=&quot;/opt/blackdown-jdk-1.4.2.03/bin/javac&quot;
JAVA_HOME=&quot;/opt/blackdown-jdk-1.4.2.03&quot;
JDK_HOME=&quot;/opt/blackdown-jdk-1.4.2.03&quot;
KERNEL=&quot;linux&quot;
LESS=&quot;cdfiMnQs&quot;
LESSOPEN=&quot;|lesspipe.sh %s&quot;
LOGNAME=&quot;jbw&quot;
LS_COLORS=&quot;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:&quot;
MACHTYPE=&quot;i386&quot;
MAIL=&quot;/var/mail/jbw&quot;
MAKEOPTS=&quot;&quot;
MANPATH=&quot;/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&quot;
MFINPUTS=&quot;:/extra/home/jbw/church/lib/tex/fonts//&quot;
OPENGL_PROFILE=&quot;xorg-x11&quot;
OSTYPE=&quot;linux&quot;
PAGER=&quot;less&quot;
PATH=&quot;/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&quot;
PERL5LIB=&quot;/home/jbw/perllib:/extra/home/jbw/church/lib/perl&quot;
PGPPATH=&quot;/home/jbw/.pgp&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_ARCHLIST=&quot;ppc s390 amd64 ppc64 m68k arm sparc sh mips ia64 alpha ppc-macos hppa x86&quot;
PORTAGE_BINHOST_CHUNKSIZE=&quot;3000&quot;
PORTAGE_CALLER=&quot;emerge&quot;
PORTAGE_ELOG_CLASSES=&quot;warn error log&quot;
PORTAGE_ELOG_SYSTEM=&quot;save&quot;
PORTAGE_GID=&quot;250&quot;
PORTAGE_MASTER_PID=&quot;20928&quot;
PORTAGE_NICENESS=&quot;19&quot;
PORTAGE_TMPDIR=&quot;/extra/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
PORT_LOGDIR=&quot;/var/log/portage&quot;
PRELINK_PATH=&quot;&quot;
PRELINK_PATH_MASK=&quot;&quot;
PWD=&quot;/home/jbw&quot;
PYTHONDOCS=&quot;/usr/share/doc/python-docs-2.4.2/html&quot;
PYTHONPATH=&quot;/usr/lib/portage/pym&quot;
REAL_TMPDIR=&quot;/home/jbw/tmp&quot;
RESUMECOMMAND=&quot;/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}&quot;
ROOTPATH=&quot;/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&quot;
RPMDIR=&quot;/usr/portage/rpm&quot;
RSYNC_RETRIES=&quot;3&quot;
RSYNC_TIMEOUT=&quot;180&quot;
SHELL=&quot;/bin/tcsh&quot;
SHLVL=&quot;2&quot;
SYNC=&quot;rsync://rsync.gentoo.org/gentoo-portage&quot;
TERM=&quot;xterm&quot;
TEXEDIT=&quot;emacsclient --no-wait +%d %s&quot;
TEXINPUTS=&quot;~/foiltex//::~/tex//:~/foiltex//:/extra/home/jbw/church/lib/tex//&quot;
TEXPSHEADERS=&quot;:/extra/home/jbw/church/lib/tex/pstricks&quot;
TMPDIR=&quot;/home/jbw/tmp&quot;
UPDATE_IGNORE_HOSTS=&quot;csb.bu.edu csa.bu.edu cs.bc.edu&quot;
USE=&quot;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&quot;
USER=&quot;jbw&quot;
USERLAND=&quot;GNU&quot;
USE_EXPAND=&quot;DVB_CARDS ELIBC FCDSL_CARDS FRITZCAPI_CARDS INPUT_DEVICES KERNEL LINGUAS USERLAND VIDEO_CARDS&quot;
USE_EXPAND_HIDDEN=&quot;&quot;
USE_ORDER=&quot;env:pkg:conf:defaults&quot;
VENDOR=&quot;intel&quot;
VISUAL=&quot;emacs&quot;
WINDOWID=&quot;16777284&quot;
XARGS=&quot;xargs -r&quot;
XINITRC=&quot;/etc/X11/xinit/xinitrc&quot;
XPSERVERLIST=&quot;&quot;
XTERM_SHELL=&quot;/bin/tcsh&quot;
XTERM_VERSION=&quot;XTerm(207)&quot;
b=&quot;/home/jbw/www/teaching/hw/F22AW1/2003,-04&quot;
c=&quot;/home/jbw/www/teaching/hw/F22AW1/2004,-05&quot;
d=&quot;/home/jbw/www/teaching/hw/F22AW1/2005,-06&quot;
e=&quot;/c/Documents and Settings/jbw/Desktop&quot;
extra_mem_bot=&quot;100000&quot;
extra_mem_top=&quot;100000&quot;
f=&quot;/home/jbw/admin/funding/EPSRC-mobility-types/recruitment-1&quot;
hash_extra=&quot;20000&quot;
nest_size=&quot;500&quot;
stack_size=&quot;680&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>robbat2@gentoo.org</who>
            <bug_when>2006-02-11 02:36:30 0000</bug_when>
            <thetext>All of these issues are fixed with &gt;=1.02-r1.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>