/srv/irclogs.ubuntu.com/2007/02/22/#upstart.txt

=== int0x0c [n=ben@161.253.47.25] has joined #upstart
=== Artanicus [i=kuitunej@lehtori.cc.tut.fi] has left #upstart []
=== mbiebl [n=michael@e180112078.adsl.alicedsl.de] has joined #upstart
=== Amaranth [n=travis@ubuntu/member/Amaranth] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== Md [i=md@freenode/staff/md] has joined #upstart
=== shawarma [n=sh@atlas.linux2go.dk] has joined #upstart
=== mbiebl [n=michael@e180120130.adsl.alicedsl.de] has joined #upstart
=== mbiebl [n=michael@e180120130.adsl.alicedsl.de] has joined #upstart
=== phsdv [n=paul@dyn-88-122-32-53.ppp.tiscali.fr] has joined #upstart
=== mbiebl [n=michael@e180120130.adsl.alicedsl.de] has joined #upstart
=== wasabi [n=jhaltom@ubuntu/member/wasabi] has joined #upstart
=== wasabi [n=jhaltom@ubuntu/member/wasabi] has joined #upstart
=== pkt [n=pantelis@athedsl-84344.otenet.gr] has joined #upstart
=== fozze [n=user@host-72-174-200-155.dur-co.client.bresnan.net] has joined #upstart
fozzeok, i did a very bad thing07:48
fozzei installed the upstart package and then rebooted without modifying my configuration on my vps07:49
fozzeand now i am screwed07:49
mbieblboot with init=/bin/bash07:50
mbieblAnd the run /etc/init.d/rcS && /etc/init.d/rc 207:50
fozzeunfortunately i can only access the computer remotely07:53
fozzehowever, i found a way to temporarily boot up the computer in another mode that my host provides and it allows me to see what procs are running, and so far the only proc that is running is init07:55
mbieblcan you access the computer via serial line?07:57
fozzethere is a "repair" mode that allows a simple working filesystem to boot up and then my old filesystem is placed in a directory called /repair so I can go in there and manually fix stuff, i just don't know what to edit to get upstart to work07:58
fozzeso right now, i'm in repair mode07:58
mbieblWhich system do you run?07:58
fozzeubuntu edgy07:58
fozzeit was running sysvinit07:59
fozzethen i did a sudo apt-get install upstart and then rebooted07:59
mbieblDo you have system-services/upstart-compat-sysv/system-tasks installed?07:59
mbieblIf not, do that.07:59
fozzehmm i don't know..07:59
fozzeprobably not07:59
fozzelet's check08:01
fozzeis there a way i could use dpkg to manually install those packages under a /repair folder?08:02
mbieblchroot /repair08:03
fozzecool08:03
mbieblbtw. s/system-tasks/startup-tasks/ 08:04
mbiebl(not that it would matter, because the package doesn't contain any relevant files yet)08:04
fozzei see08:05
fozzei probably need to use the dpkg under /repair don't i...08:05
mbieblafter you have chrooted to /repair, apt-get install upstart-compat-sysv should work.08:06
fozzeah, it does :)08:07
fozzehmm08:08
fozzesystem-tasks, is that the correct name08:08
fozze?08:08
mbieblbtw. s/system-tasks/startup-tasks/ 08:08
mbieblquoting myself ;-)08:08
fozzeso, after doing all this, it should use my old sysviconfig when i boot up normally?08:11
fozzesysvinit config rather08:11
mbieblyeah, it use the sysv init scripts.08:12
fozzeall right, rebooting...08:12
fozzehrmm08:14
fozzewell i wasn't able to install system-tasks08:14
fozzeand so it seems like process is right where it was before08:15
mbiebls/system-tasks/startup-tasks/  means, substitute system-tasks with startup-tasks08:18
mbieblI made a typo at the beginning08:18
mbieblHave you checked that upstart-compat-sysv and system-services are installed properly?08:18
fozzei'm checking08:18
fozzeyep, they are there08:19
mbieblwhy did you have sysvinit at first place?08:20
mbiebledgy ships with upstart by default08:20
mbieblmaybe you messed something up.08:21
fozzeit came like that, that's what i thought08:21
fozzemy host provider provided some whacked up version of ubuntu edgy08:21
fozzeactually08:21
mbieblWell, if they don't ship upstart, which is default, they must have a reason.08:21
fozzethey are using virtuozzo08:21
fozzeit may only work with sysvinit08:22
mbieblVery likely, upstart does not work with virtuozzo yet.08:22
mbieblBest is, you go back to sysvinit.08:22
=== fozze sighs
fozzei just wanted my startup scripts to be simpler :)08:23
mbieblOr you feel adventurous and help to debug the problem ;-)08:23
fozzelol08:23
fozzeyes, with all my free time *sarcastic*08:23
fozzewell thanks for your help?08:23
fozzehelp.08:23
mbieblPlease file a bug report at launchpad.net against upstart.08:24
mbieblSo this issue can be tracked.08:24
mbieblDescribe the hardware/software environment that you use.08:24
mbiebletc.08:24
mbieblhttps://bugs.launchpad.net/upstart08:25
=== int0x0c [n=ben@161.253.47.25] has joined #upstart
fozzeso you think it's a problem with upstart and not virtuozzo?08:38
fozzeor both?08:38
mbieblHard to tell.08:39
mbieblAt least file the bug report so this discussion is not lost.08:39
=== Md [i=md@freenode/staff/md] has joined #upstart
=== juergbi [n=juerg@80-219-17-102.dclient.hispeed.ch] has joined #upstart
fozzeok, well going back to sysvinit works...08:51
=== juergbi [n=juerg@80-219-17-102.dclient.hispeed.ch] has joined #upstart
=== mbiebl [n=michael@e180120130.adsl.alicedsl.de] has joined #upstart
fozzeok, bug filed09:13
=== pkt [n=pantelis@athedsl-130101.otenet.gr] has joined #upstart
=== j_ack [n=rudi@p508D8205.dip0.t-ipconnect.de] has joined #upstart
=== mbiebl [n=michael@e180120130.adsl.alicedsl.de] has joined #upstart
=== int0x0c [n=ben@128.164.137.192] has joined #upstart
=== Keybuk [n=scott@wing-commander.netsplit.com] has joined #upstart
Keybukheyhi11:51
_ionHi11:53
Keybukhow goes it?11:54
_ionWell, i'm alive. :-)11:55
_ionHow are you?11:56
Keybukjust back from the gym11:56
Keybukbeen thinking about complex-event-config11:57
Keybukand ironically, have decided it's not as simple as I though11:57
Keybuk+t11:57
_ionAre you thinking of redesigning it?11:59
KeybukI mean in the way that it interacts12:01
Keybukin particular with event emissions and instance jobs12:01
Keybuktake the simple example12:01
Keybukon block-device-added and some-other-event12:01
Keybukthere's actually four or more things you might want that to mean12:01
Keybuk1) whichever event causes the goal change (the second one to occur) is blocked until the job finishes, and is the one the job sees in its arguments and environment12:02
Keybuk2) you want a specific event (e.g. the first) to be blocked and appear in the arguments; this might need some syntax ..."on using block-device-added and some-other-event"12:03
_ionTrue...12:03
Keybuk3) you want a combination of all of the events to be blocked and appear in the arguments (but how would you get the arguments?)12:03
KeybukI can't remember the 4th thing12:04
_ionon block-device-added as foo and some-other-event as bar  args: $foo_1, $foo_2, ..., env vars: $foo_DEVNAME, $bar_BAZ12:05
_ionon using block-device-added and some-other-event as bar  block-device-added: $1, $2, ..., $DEVNAME; some-other-event: $bar_1, $bar_2, ..., $bar_BAZ12:07
Keybukwould you block those events/12:08
Keybukif so, what happens if block-device-added happens but some-other-event never happens ... the event would never be finished12:08
_ionI haven't thought of it yet.12:08
_ionPerhaps a syntax such as 'on block-device-added [block, using]  and some-other-event [as bar] '12:10
Keybukgets tricky, doesn't it :-/12:10
_ionIndeed. :-)12:11
Keybuknot surprising really, since the model so far is assumed simple12:11

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