Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218042 - app-admin/tenshi-0.10 init script fails to start with baselayout-2 and openrc
Summary: app-admin/tenshi-0.10 init script fails to start with baselayout-2 and openrc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Markus Ullmann (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 00:34 UTC by azuriel
Modified: 2008-04-21 19:08 UTC (History)
1 user (show)

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


Attachments
patch for init file (tenshi.patch,433 bytes, patch)
2008-04-17 00:36 UTC, azuriel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description azuriel 2008-04-17 00:34:37 UTC
I recently upgraded to baselayout-2 and openrc. Attempting to start tenshi results in the following output:


 * Starting tenshi ...
 * start-stop-daemon: /usr/sbin/tenshi is a script
 * start-stop-daemon: and should be started, stopped or signalled with 
 * start-stop-daemon: --exec /usr/bin/perl /usr/sbin/tenshi
 * start-stop-daemon: or you should specify a pidfile or process name       [!!]
 * ERROR: tenshi failed to start

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/tenshi start
2.
3.

Actual Results:  
tenshi does not start

Expected Results:  
tenshi should start

Portage 2.1.5_rc3 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r2 i686)
=================================================================
System uname: 2.6.24-gentoo-r2 i686 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Timestamp of tree: Wed, 16 Apr 2008 01:17:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.pair.com/ http://www.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS=""
LINGUAS="en_GB en_US en"
MAKEOPTS="-j4"
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/portage/local/layman/sunrise /usr/portage/local/layman/nouveau /usr/portage/local/layman/openrc /usr/portage/local/layman/arcon /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amarok amr ao aotuv asf audiofile avahi bash-completion berkdb bjam bonobo bzip2 cairo cdda cddb cdparanoia cdr cjk cli cracklib crypt css cups curl dbus deprecated directfb divx dpms dri dts dv dvd dvdnav dvdr dvdread emboss encode evo expat exscalibar extrafilters fam fame fat fbcon fbcondecor ffmpeg firefox flac fortran freetype ftp fuse gcj gd gdbm gecko-sdk gif glibc-omitfp glitz glut gmedia gphoto2 gpm gstreamer gtk guile gzip hal iconv id3 idn ieee1394 imagemagick imap ipod isdnlog jack java jpeg jpeg2k kde kdrive lame lcms ldap libcaca libvisual live logitech-mouse lua lzo mad maildir mailwrapper matroska mbox midi mikmod mmap mmx mmxext mng mod mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg mpeg2 mplayer msn mtp mudflap musepack musicbrainz nas ncurses nethack networking nls nonfsv4 nptl nptlonly nsplugin ntfs nvidia ogg openal opengl openmp pam pam_chroot pam_timestamp pcre pdf perl player png pop ppds pppd profile python qt3 qt3support qt4 quicktime rar rdesktop readline real realmedia reflection reiserfs restrict-javascript rtc ruby samba screen sdl seamonkey session silc skins slang smp sndfile speex spell spl srt sse sse2 ssl ssse3 startup-notification subtitles subversion svg svga t1lib tcltk tcpd tetex theora threads threadsonly tiff timidity tk truetype unicode upnp urandom usb userlocales utf8 videos vidix vim-with-x visualization vixix vorbis wifi win32codecs winbind wma wmf wmp wxgtk1 wxwindows x264 x86 xanim xcb xcomposite xforms xfs xgetdefault xine xml xorg xpm xscreensaver xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" 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 authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en" USERLAND="GNU" VIDEO_CARDS="fbdev i810 nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 azuriel 2008-04-17 00:36:03 UTC
Created attachment 150001 [details, diff]
patch for init file
Comment 2 Adam James 2008-04-17 13:20:30 UTC
Thanks for reporting!

I think the use of `--pidfile' is preferable in this case. An updated ebuild with a fixed init script is available in an overlay for now [1]. When Markus' has time, I'm sure he will commit it to the portage tree.

I'd like to push for stabilisation of this version fairly soon, so I'll leave the 0.9 ebuild untouched for now. Does that sound sensible Markus?

[1] http://overlays.gentoo.org/dev/jokey/browser/trunk/app-admin/tenshi
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2008-04-21 19:08:58 UTC
Added to CVS, thankies :)