Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69717 - mgetty 1.1.30 does not create the required fax user
Summary: mgetty 1.1.30 does not create the required fax user
Status: RESOLVED DUPLICATE of bug 59461
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-01 06:41 UTC by Bernard Guillot
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Bernard Guillot 2004-11-01 06:41:54 UTC
When trying to emerge mgetty (1.1.30) the Installation fails as it tries to chown fax some files and Directories.

To fix I created the fax user manually and the emerge completed successfully.
The Easy fix is to 'useradd -s /bin/false fax'

Reproducible: Always
Steps to Reproduce:
1. if you do have a user called fax remove it userdel fax
2. emerge mgetty 
3. ERROR

Actual Results:  
cd /var/tmp/portage/mgetty-1.1.30/image//usr/bin ; \
test -x g3topbm || ln -s g32pbm g3topbm
make[1]: Leaving directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/g3'
cd fax ; make install INSTALL="install -c -o bin -g bin" \
                        FAX_OUT_USER=fax \
                        BINDIR=/var/tmp/portage/mgetty-1.1.30/image//usr/bin
SBINDIR=/var/tmp/portage/mgetty-1.1.30/image//usr/sbin \
                       
LIBDIR=/var/tmp/portage/mgetty-1.1.30/image//usr/lib/mgetty+sendfax
CONFDIR=/var/tmp/portage/mgetty-1.1.30/image//etc/mgetty+sendfax
make[1]: Entering directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/fax'
for i in faxspool faxrunq faxq faxrm ; do \
        mv -f /var/tmp/portage/mgetty-1.1.30/image//usr/bin/$i
/var/tmp/portage/mgetty-1.1.30/image//usr/bin/$i.old 2>/dev/null ; \
        install -c -o bin -g bin -m 755 $i
/var/tmp/portage/mgetty-1.1.30/image//usr/bin ; \
done
install -c -o bin -g bin -m 755 faxrunqd
/var/tmp/portage/mgetty-1.1.30/image//usr/sbin
install -c -o bin -g bin faxq-helper
/var/tmp/portage/mgetty-1.1.30/image//usr/lib/mgetty+sendfax
chown fax /var/tmp/portage/mgetty-1.1.30/image//usr/lib/mgetty+sendfax/faxq-helper
chown: `fax': invalid user
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/mgetty-1.1.30/work/mgetty-1.1.30/fax'
make: *** [install.bin] Error 2

!!! ERROR: net-dialup/mgetty-1.1.30 failed.
!!! Function src_install, Line 81, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
installed Package

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.7-gentoo-r11 i686)
=================================================================
System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) III CPU family      1266MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/sh
are/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf
/xdvi/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://planetmirror.com/pub/gentoo/
ftp://mirror.pacific.net.au/linux/Gentoo
http://www.zentek-international.com/mirrors/ge
ntoo/ http://mirror.gentoo.gr.jp http://gentoo.gg3.net/
ftp://gg3.net/pub/linux/gentoo/ ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO
http://ftp.gentoo.or.kr/ ftp://gentoo.csi
e.mcu.edu.tw/gentoo/ ftp://linux.ntcu.net/dists/gentoo/
ftp://ftp2.tnc.edu.tw/pub1/Gentoo/ http://gentoo.scphost.com
http://ftp.isu.edu.tw/pub/Linux/Gentoo ftp://ft
p.isu.edu.tw/pub/Linux/Gentoo http://mymirror.asiaosc.org/gentoo/
ftp://mirror.averse.net/pub/gentoo http://mirror.averse.net/pub/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="X acl apm arts avi berkdb bitmap-fonts crypt cups dba doc encode f77
foomaticdb gd gif gnome gpm gtk gtk2 hardened hardenedphp imap imlib java
javacomm javadoc
 javamail jikes jpeg kde ldap libg++ libwww mad mhash mikmod motif mozilla mpeg
mysql ncurses nls oggvorbis opengl oss pdflib perl php png postgres python qt quickt
ime readline samba sasl sdl slang snmp spell ssl ssli svga tcpd tetex truetype
usb vhost x86 xerves xml xml2 xmlrpc xmms xprint xv zlib"
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2004-11-01 07:00:06 UTC
see bug #59461
fixed in 1.1.30-r2
Comment 2 Daniel Black (RETIRED) gentoo-dev 2004-11-02 00:35:28 UTC
marked 1.1.30-r2 x86 stable.

*** This bug has been marked as a duplicate of 59461 ***