/srv/irclogs.ubuntu.com/2010/10/25/#upstart.txt

=== apachetransit is now known as udslogger
iono hai15:34
=== halflin__ is now known as halfline
=== Stevee_ is now known as Stevee
Keybukhai15:54
Steveehello scott16:02
Keybukhello16:05
Steveeyes, I know I'm nerving you, but I have to ask once again: Is there any kind of release date of the next major version of upstart, or some kind of possible periode ( for example this year, or spring next year ... )16:09
Keybukit's a "when it's ready"16:14
Keybukthe new release changes many fundamental things in the core, in an attempt to correct all of the problems I've had (and others have reported)16:14
Keybukand the goal is that it'll stablise to be 1.016:14
Keybukobviously I don't want to change the core again after this16:15
Keybukso I'd rather release when ready than release on a given time, and then upset the apple cart all over again16:15
jds2001so i have a usecase with sysvinit that i'd like to duplicate with upstart16:16
Keybuksure16:16
Keybukwould love to hear it16:16
jds2001it's the concept of a "firstboot" runlevel.16:16
Keybukdoes sysvinit have such a thing?16:16
jds2001we install an inittab with runlevel 9 as initdefault16:16
jds2001runlevel 9 does stuff, and cleans up after itself.16:17
Keybukah, I see16:17
jds2001I've defined a runlevel 9 in /etc/init, but when I boot, it just says "invalid runlevel"16:17
KeybukI do something quite similar with Upstart for boot testing16:17
Keybukan /etc/init/foo.conf runs, and as a final step, deletes itself16:17
Keybukthe invalid runlevel is a whole Debian/RH thing - Debian's sysvinit never supported 7,8,9,a,b,c runlevels afaik16:18
Keybukthat was a quirk of RH's16:18
jds2001here's the thing - i dont want anything except rc-sysinit to run, then run this, then clean up and reboot16:18
Keybuk(Debian instead gives you 3,4,5 to play with for your own, as 2 is the default)16:18
Keybukanything?16:18
Keybukyou don't even want filesystems mounted?16:19
Keybukor udev started?16:19
jds2001rc-sysinit takes care of that, right?16:19
jds2001this is rhel6, btw16:19
Steveethanks for the reply Keybuk, I'm just wondering last rel of a version i quite a half year ago, after that some patches and it's hard / impossible to follow the current development process ...16:19
Keybukjds2001: I dont know about RHEL, I'm afraid16:22
Keybukare they still using Upstart?  I'd heard they went to systemd16:22
SteveeI love upstart it's a relly good init system but the current version looks like unfinished, especially if you aren't using the compatiblity mode16:22
Keybukbut in Ubuntu, Web OS and Chrome OS (the three major Upstart distros) - everything is done as Upstart jobs, rc-sysinit is only there for backwards compatibility with older packers and LSB things dropped in16:22
KeybukStevee: there isn't a compatibility mode?16:23
KeybukUbuntu has had an entirely native boot for three releases now16:23
jds2001Keybuk: yeah, it's not native. in rcS.conf it runs the old rc.sysinit16:24
jds2001and has a 'start on startup' in it.16:24
Steveeyes i know, but i mean, without any runlevels - full event based ...16:24
Stevee.. thats somethimes really difficult to handle16:24
Steveefedora scheduled to swith to systemd with fc14 but dropped that and now will do that with fc1516:26
Steveeso they are still using upstart16:28
jds2001and rhel6 will use it for it's lifetime as well.16:31
jds2001sadmac: you around by chance?16:40
sadmacjds2001: hey16:40
jds2001ltnt :)16:40
jds2001figured you'd be a good point for my rhel6 query :)16:40
jds2001i need something to execute after rc.sysinit, prior to anything else, which will do stuff, clean up after itself, and reboot.16:41
jds2001sort of a "firstboot" type thing.16:41
jds2001and I'm having a heck of a time figuring out how to do it. In rhel5, we just used an initdefualt to runlevel 9, whcih seems not to work in upstart :(16:42
sadmacjds2001: yeah I don't think we retained the 789 quirk as Keybuk says. I never saw a patch to add that back16:42
jds2001yeah, any other way to accomplish similar goals?16:43
jds2001i.e. what event happens after rcS.conf that I can 'start on'?16:43
jds2001i see that as being a task, and at the end it would delete itself and reboot.16:43
jds2001or am i completely on crack?16:44
sadmacjds2001: you could make it start on starting rc16:44
sadmacjds2001: which would block the normal runlevel from getting started and run your task instead16:45
sadmacjds2001: but it'd resume booting afterward, so you'd have to reboot at the end of your task16:46
jds2001sure, we do that anyway16:46
sadmacjds2001: also it'd do this every time regardless of runlevel, so you'd have to have it detect if it was supposed to be running and quit if it wasn't.16:47
jds2001i thinik if it's there, it should run.16:48
jds2001we do that today - if it doesnt get cleaned up, the initdefault is still 916:48
sadmacjds2001: that works too16:48
jds2001that way if it gets b0rked, we know :)16:49
jds2001i'll play around and let you know if I have problems....16:50
sadmack16:50

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