Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233664 - app-admin/usermin-1.330 init script is broken
Summary: app-admin/usermin-1.330 init script is broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-02 01:19 UTC by Ian Abbott
Modified: 2012-02-09 11:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Replacement init script (init.d.usermin,864 bytes, text/plain)
2008-08-02 23:45 UTC, Ian Abbott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2008-08-02 01:19:33 UTC
# /etc/init.d/usermin start
usermin          | * Starting Usermin ...
usermin          | * start-stop-daemon: /usr/libexec/usermin/miniserv.pl is a script
usermin          | * start-stop-daemon: and should be started, stopped or signalled with
usermin          | * start-stop-daemon: --exec /usr/bin/perl /usr/libexec/usermin/miniserv.pl
usermin          | * start-stop-daemon: or you should specify a pidfile or process name                                                                   [ !! ]
usermin          | * ERROR: usermin failed to start


Reproducible: Always




# emerge --info
Portage 2.2_rc4 (default-linux/x86/2007.0/server, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.21-gentoo-r4-ija1 i686)
=================================================================
System uname: Linux-2.6.21-gentoo-r4-ija1-i686-VIA_Samuel_2-with-glibc2.0
Timestamp of tree: Mon, 28 Jul 2008 19:45:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.62-r1
sys-devel/automake:  1.4_p6, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -march=c3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://gentoo.blueyonder.co.uk "
LANG="en_US.utf8"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow acl apache2 berkdb bzip2 cdb cli cracklib crypt ctype cups dba dbus dri foomaticdb fortran gd gdbm gmp gpm hal iconv idn ipv6 isdnlog javascript jpeg ldap mailwrapper midi mmx mudflap mysql mysqli ncurses nptl nptlonly openmp pam pcre perl pppd python quicktime radius readline reflection ruby samba session slang snmp spell spl sqlite ssl tcpd tiff truetype unicode win32codecs x86 xml xmlrpc xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1     emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m       maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt     mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage      siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware         voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ian Abbott 2008-08-02 23:45:09 UTC
Created attachment 162050 [details]
Replacement init script

I just added the command-line parameters ``--pidfile /var/run/usermin.pid'' to the ``start-stop-daemon --start'' command in the init script.  It works.

The attachment is a drop-in replacement for the existing ``files/init.d.usermin''. Anyone waiting for an official fix can just copy the attachment to ``/etc/init.d/usermin''.
Comment 2 Christophe LEFEBVRE 2010-10-28 18:53:58 UTC
app-admin/usermin-1.330 is now replaced by version 1.430 and I haven't this bug.

It seems this bug can be closed.
Comment 3 Pacho Ramos gentoo-dev 2012-02-09 11:50:05 UTC
(In reply to comment #2)
> app-admin/usermin-1.330 is now replaced by version 1.430 and I haven't this
> bug.
> 
> It seems this bug can be closed.