Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161320 - app-misc/klive-0.23 - init script reports failure but starts w/ baselayout-1.13
Summary: app-misc/klive-0.23 - init script reports failure but starts w/ baselayout-1.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 162402
  Show dependency tree
 
Reported: 2007-01-10 14:03 UTC by Jakub Moc (RETIRED)
Modified: 2007-04-14 23:16 UTC (History)
1 user (show)

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


Attachments
init script patch (klive.init.d.diff,751 bytes, patch)
2007-01-11 00:18 UTC, Jakub Moc (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2007-01-10 14:03:25 UTC
Might quite likely be related to the broken pid file permissions reported in Bug 153009.

# /etc/init.d/klive start

 * Starting KLive ...                                                                                                                   [ !! ]
 * ERROR:  klive failed to start 

Jan 10 15:00:16 notorcomp twisted: [-] twistd 2.4.0 (/usr/bin/python 2.4.4) starting up
Jan 10 15:00:16 notorcomp twisted: [-] reactor class: <class 'twisted.internet.selectreactor.SelectReactor'>
Jan 10 15:00:16 notorcomp twisted: [-] Loading /usr/share/klive/klive.tac...
Jan 10 15:00:16 notorcomp twisted: [-] /usr/share/klive/klive.tac:273: exceptions.DeprecationWarning: twisted.internet.app is deprecated, use twisted.application or the reactor instead.
Jan 10 15:00:16 notorcomp twisted: [-] Loaded.
Jan 10 15:00:16 notorcomp twisted: [-] __builtin__.klive_protocol starting on 32770
Jan 10 15:00:16 notorcomp twisted: [-] Starting protocol <__builtin__.klive_protocol instance at 0xb779b7cc>
Jan 10 15:00:16 notorcomp twisted: [-] set uid/gid 103/0
Jan 10 15:00:16 notorcomp /etc/init.d/klive: ERROR:  klive failed to start 

# /etc/init.d/klive start
 * Starting KLive ...
Another twistd server is running, PID 14403

This could either be a previously started instance of your application or a
different application entirely. To start a new one, either run it in some other
directory, or use the --pidfile and --logfile parameters to avoid clashes.
                                                                                                                                        [ !! ]
 * ERROR:  klive failed to start
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 14:04:43 UTC
# ps aux | grep twistd
klive    14403  0.0  0.7  17840  5952 ?        Sl   15:00   0:00 /usr/bin/python /usr/bin/twistd --uid klive --pidfile /var/run/klive.pid --syslog -oy /usr/share/klive/klive.tac

# ls -la /var/run/klive.pid
-rw------- 1 root root 5 2007-01-10 15:00 /var/run/klive.pid
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 00:18:21 UTC
Created attachment 106462 [details, diff]
init script patch

- works for me w/ 1.13.0_alpha11; someone test w/ 1.12 before committing... ;)
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2007-04-08 21:04:51 UTC
Sorry that I'm doing a bad job with maintenance of this package, due to being too busy with other things. As such I've slated it to be removed: http://archives.gentoo.org/gentoo-dev/msg_144369.xml
Comment 4 Charlie Shepherd (RETIRED) gentoo-dev 2007-04-14 23:16:52 UTC
Thanks, fixed in CVS.