/srv/irclogs.ubuntu.com/2010/04/06/#upstart.txt

=== sadmac_ is now known as sadmac2
viniliosi created the following upstart conf file http://pastebin.com/2KCd7tNq , run.sh actually runs a java application, while the job starts fine, stop freezes, any idea how to fix it ?09:05
nottingKeybuk: https://bugzilla.redhat.com/show_bug.cgi?id=577709#c5 <- opinions?18:35
Keybuknotting: that sounds like the old init it still running?18:36
nottingKeybuk: right, it was the equivalent of apt-get dist-upgrade (or whatever) from a 0.3.x system to one that contains 0.6.x18:36
Keybukin that dist-upgrade, we restart init18:37
nottingKeybuk: which promptly loses track of all its jobs?18:37
Keybukwhen we were using 0.3, that was just gettys and stuff, which wasn't an issue18:37
nottinghm, would have to run some tests to see how practical that is18:40
sadmac2_notting: it could work. we might not kill some things like X on shutdown but nothing major.19:02
halflinegdm is what handles killing X19:14
halflineof course upstart is what handles killing gdm19:15
sadmac2_halfline: precisely19:15
halflinebut there's that kill -TERM -1 or whatever anyway19:15
caolanmI'm trying out ubuntu lucid beta 1, and upstart doesn't seem to be firing scripts with "start on startup" ...has anyone had success with this?19:17
Keybukcaolanm: it probably is, but whatever those scripts need isn't ready yet19:18
caolanmKeybuk: how are those dependencies defined? all the script says is start on startup19:18
caolanm(I'm working from this guide: http://howtonode.org/deploying-node-upstart-monit)19:19
caolanmI tried changing it to "start on (local-filesystems and net-device-up IFACE=eth0)"19:19
caolanmwhich seems to fire, but I get strange errors regarding missing files19:20
Keybukcaolanm: you should talk to the maintainers of the software you're trying to update19:31
=== sadmac2_ is now known as sadmac
sadmacKeybuk: RE: Is this a mountpoint?, why not iterate mtab/proc/wherever and get a list of em?19:46
Keybukdo you realise how many corner cases that has? :)19:46
sadmacKeybuk: that + realpath should be == profit19:47
Keybukwhat about if you've got a full filesystem19:47
Keybukthen you recursively bind mount the /real directory onto /19:47
sadmacnot sure, but that's enough to make me want to not think about it anymore. Your way is fine. :)19:49
sadmacKeybuk: also did you see my last upstart blogging?19:49
Keybukno?19:49
sadmacKeybuk: http://screwyouenterpriseedition.blogspot.com/2010/04/upstart-service-mangement-modeled-as-bi.html19:49
Keybuksadmac: the funny thing is, that blog post makes about as much sense to me as most of your first draft proposals :p19:53
sadmacKeybuk: I impersonate myself well.19:53
sadmacKeybuk: also, I would assert that that blog post contains a lifetime supply of release codenames.19:55
nottingsadmac: 577709 updated with brief testing20:37
dvrcoderquestion: can i make a upstart script dependent on the start of an oldschool init.d script? say, with "start on SYSVINITNAME"?21:06
sadmacdvrcoder: you can put an "initctl emit somefunkything" at the end of your sysvinit script, then do start on somefunkything. You could also instrument /etc/rc in a similar way to get such events for everything (which I believe fedora is doing now)21:14
dvrcodersadmac: thanks. i'll try and pray it gets my job done :D21:17
sadmacnotting: comitted and tagged. seem to be having some trouble with koji and/or ssl. wanna kick em off?21:38
nottingsadmac: well, i was trolling for comments on the idea21:38
sadmacnotting: among the horrible solutions thats the one that will cause the least screaming.21:39
sadmacnotting: and the good solution might be ready for F-1421:40
sadmacactually it won't be applicable for F-1421:40
dvrcoderto create my own upstart script, is it enough to write a blabla.conf and put it in /etc/init, or do i have to register it somewhere additionally?22:21
Keybukdvrcoder: ys23:16

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