/srv/irclogs.ubuntu.com/2010/03/28/#upstart.txt

imop45hi all, I have a q that someome might be able to answer.00:08
imop45I have a Palm WebOS device that uses upstart00:09
imop45currently upstart just uses a graphic boot screen.00:09
imop45I was wondering if a Verbose Mode would be possible.00:10
imop45I've been searching the upstart site to see how to enable a verbose mode but can't seem to find it.00:12
imop45hmm, so webOS uses a splash program00:16
imop45are upsplash and splashy the only 2?00:17
JanCnormally upstart jobs are in /etc/init/ (new versions) or /etc/event.d/ (older versions)00:25
JanCso I guess you should find it there somewhere (if it's started by upstart at all)00:26
corecode_what do you mean with new/old versions?10:56
corecode_ah!11:58
corecode_how can i start a binary that doesn't daemonize?11:59
corecode_i'm sorry to say so, but upstart is horribly underdocumented12:16
corecode_i just can not find any documentation on how to start a non-backgrounding service12:16
ionprogramname.conf: exec programname12:21
ionstart programname12:21
corecode_that's what i have12:21
corecode_but it just does not return12:21
corecode_the start command12:21
ionAnything interesting in syslog?12:22
corecode_the service gets started, sure12:22
corecode_but start doesn't return12:22
ionOh. I take it you have an ancient version of Upstart? In that case, add the line ‘service’ to the config.12:23
corecode_i don't know which version is running12:24
ionIn old versions of Upstart, ‘task’ was the default. Nowadays, ‘service’. A job being a task means that ‘start job’ returns when the program exits (i.e. the task is finished).12:24
corecode_ah12:28
corecode_ok12:28
corecode_yea, too bad that this is not documented12:28
ionCurrent Upstart releases have much better documentation than the ancient ones.12:36
corecode_still it is confusing, and barely non-existing on the web12:36
corecode_thanks for your help12:43
ionIt’s in the form of man pages that come with the package.12:45
corecode_yes i know12:47
corecode_but on my platform12:47
corecode_man 5 init = fail12:47
imop45hi could someone guide me in enabling verbose boot mode on upstart?17:28
imop45I'm trying to get a WebOS to boot without a splash screen.17:29
=== pocek_ is now known as pocek
zdzichuBGHi, "--debug" in kernel comand line is supposed to dump all events emitted. Where can I read those logs?18:41
ionUpstart outputs them to syslog, and until a syslogd is available, they’ll only go to the console. A proper boot logger is in TODO.18:46
zdzichuBGThanks.18:50
zdzichuBGThis is not good for me, unfortunately. I'm trying to debug problem where my application do not start on event which should be emitted, according to upstart documentation. I believe event is somehow not emitted.18:51
zdzichuBGI have18:52
zdzichuBGstart on device-added SUBSYSTEM=block DEVNAME=sd[ab][!0-9]18:52
ion[!0-9]?18:57
zdzichuBGyes, I'm only interested in whole devices, not partitions19:06
ionsd[ab][!0-9] matches e.g. sdaq, sdb! and sda_ but not sda or sdb. You’ll want sd[ab]19:08
zdzichuBGuhm, isn't empty string part of [!0-9] ?19:11
ionSee glob(7)19:13
zdzichuBGOK, thanks. Apparently I screwed the rule again (the one I had in F12 was wrong, also) :)19:15
=== sadmac2__ is now known as sadmac2

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!