=== theCore [n=alex@modemcable106.200-70-69.mc.videotron.ca] has joined #upstart === Keybuk [n=scott@quest.netsplit.com] has joined #upstart === wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart === mbiebl [n=michael@dslb-084-056-231-253.pools.arcor-ip.net] has joined #upstart === mbiebl [n=michael@dslb-084-056-231-253.pools.arcor-ip.net] has joined #upstart === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart === fdsd [n=dcstimm@ip68-8-230-16.sd.sd.cox.net] has joined #upstart [04:50] hey all! [04:50] hey [04:50] hey guys, is there a howto on how to disable startup daemons, like gdm.. [04:52] !upstart [04:53] fdsd: is gdm being run by upstart, or just by sysv-rc? [04:53] johnnybuoy: ? [04:53] Keybuk, no idea [04:54] fdsd: which distro? [04:54] Keybuk, i need to turn off everything not need to just boot to the shell [04:54] edgy knot3 [04:54] you can disable gdm by renaming the /etc/rc2.d/S13gdm symlink to /etc/rc2.d/K13gdm [04:54] ok [04:55] Keybuk, no easy thing like in gentoo rc-update del gdm default? [04:56] not in Ubuntu, no [04:56] ok [04:56] (this has nothing to do with upstart, of course) [04:56] usplash is a pain in the neck in edgy [04:56] ugg [04:57] well, yeah... [04:57] it don't work, no? [04:57] (you could use update-rc.d) [04:57] thom: except that always does exactly the wrong thing [04:57] and results in an upgrade restoring the symlinks [04:58] right, because there's no way you can signal to make it persist without removing the init script [04:59] really? [04:59] hmm [04:59] that's no good... === johnnybuoy is now known as masked_stranger === masked_stranger is now known as johnnybuoy === j_ack_ [n=rudi@p508D93F0.dip0.t-ipconnect.de] has joined #upstart === kakalto [n=kakalto@wired-210-54-56-100.ps.net.nz] has joined #upstart [07:29] has upstart been tried under gentoo yet? [07:29] I believe someone has, yes [07:30] succeedingly? [07:32] haven't heard [07:32] either way [07:33] any ideas what it would require for me to attempt to work it? [07:33] usual, see the getting-started doc [07:33] cool [07:33] thanks === Signon time : Fri Sep 15 06:01:04 2006 === Signoff time : Thu Sep 21 08:34:09 2006 === Total uptime : 6d 2h 33m 5s === Starting logfile irclogs/upstart.log [08:59] -ChanServ(ChanServ@services.)- [#ubuntu-server] Ubuntu Server Discussions (development and support) [08:59] -ChanServ(ChanServ@services.)- [#ubuntu] Welcome to #ubuntu! Please read the channel topic and consider spending some time on the FAQ mentioned there === ubuntulog [i=ubuntulo@ubuntu/bot/ubuntulog] has joined #upstart === Topic for #upstart: Upstart 0.2.7 | http://upstart.ubuntu.com/ | http://upstart.ubuntu.com/doc/getting-started.html | https://wiki.ubuntu.com/UpstartDesignChanges | irc logs: http://people.ubuntu.com/~fabbione/irclogs === Topic (#upstart): set by mbiebl at Wed Sep 20 12:31:23 2006 === Steven_Shiau [n=c00jhs00@palm180.nchc.org.tw] has joined #upstart [09:15] anyone know how to switch the default runlevel to 1 or 3 or other than 2 when edgy alpha3 boots ? [09:15] since now it's upstart, and /etc/inittab is no more. [09:16] edit /etc/event.d/rc-default [09:16] the default runlevel is 2 [09:16] and 3 is identical to it [09:17] (assuming you have a fresh install, there's no particular reason you should bother with runlevels at all) [09:17] Thanks. that's true, but sometimes I need special runlevel to do special thing [09:18] *nods* [09:18] so for fresh install, edit /etc/event.d/rc-default and change "telinit 2" to "telinit 3" [09:19] for upgrades, you will still have /etc/inittab and that will still be used === mbiebl [n=michael@dslb-084-057-249-038.pools.arcor-ip.net] has joined #upstart [09:19] thanks. The version I am using is: upstart 0.2.7-1 [09:20] but I did not find /etc/inittab, so do you mean later version or ? [09:20] I mean upgrades from dapper [09:20] if you installed edgy fresh, you won't have an /etc/inittab because it's deprecated [09:20] but if you upgraded from dapper, /etc/inittab will still be there, and the default runlevel specified in that will still be used [09:20] oh, ic. actually I did a fresh install. [09:21] you could also, in edgy, do "echo id:3:initdefault: > /etc/inittab [09:21] got it. appreciate that [09:21] so in the future, upstart will still respect the /etc/inittab ? [09:21] for edgy it will, yes [09:22] edgy+1 will not respect runlevels as much [09:22] ic. tkx [09:22] another question, how can I see more messages when my edgy box reboot or boots ? [09:23] take "quiet" off the kernel command line [09:23] yes, I already did that. [09:23] and no usplash at all [09:23] but it seems that the messages are still less than before [09:23] you may need some updates due today [09:23] for upstart 0.2.7-2 ? [09:24] upstart, lsb-base and sysvinit will all need updating [09:24] got it. [09:25] my last question [09:25] shoot === Md [i=md@freenode/staff/md] has joined #upstart [09:26] I need to run a script (/etc/rc2.d/S99firstboot) when edgy boots so that people can enter some number to choose some config, etc. It works in dapper. However, now with edgy alpha3, I can not do it. [09:27] since all the service just run, and won't wait for me to enter [09:27] Is that possible to do that ? [09:30] yes [09:30] exec /dev/console 2>&1 at the top of the script [09:30] in my S99firstboot ? [09:30] yes [09:31] great! [09:31] That finishes all my questions. Appreciate that. [09:31] alternately write the firstboot as an upstart job (/etc/event.d/firstboot) run when the rc script finishes (start on rc3/stop) and on the console (console output) [09:32] excellent! [09:32] that's the benefit of upstart! [09:33] well, at the moment we're just using it to replace sysvinit and not do anything extra [09:33] to prove the daemon works [09:34] But it will be better in the future [09:34] definitely === che_ [n=che@unaffiliated/che] has joined #upstart === Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart [11:32] Keybuk, there was an impromptu lightning talk session here at EuroOscon - I pimped upstart, hope you don't mind [11:32] people were impressed by it === juergbi [n=juerg@80-219-26-249.dclient.hispeed.ch] has joined #upstart === Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart === mbiebl [n=michael@dslb-084-057-249-038.pools.arcor-ip.net] has joined #upstart === theCore [n=alex@modemcable106.200-70-69.mc.videotron.ca] has joined #upstart === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart === mbiebl [n=michael@dslb-084-057-249-038.pools.arcor-ip.net] has joined #upstart === mbiebl [n=michael@dslb-084-057-249-038.pools.arcor-ip.net] has joined #upstart [05:28] has anyone had much experience with gtk-doc-tools, linuxdoc-tools, or doxygen, etc.? === LarstiQ has some experience with doxyge. [05:29] how do you find it to use? [05:30] rather ok, though more burdensome than epydoc with docstrings. [05:31] epydoc is a python thing? [05:32] yes. [05:34] Keybuk: Since you use binary:Version now in debian/control, you should add a versioned build-dep on dpkg-dev (>= 1.13.19) [05:34] <_ion> doxygen is quite nice. [05:35] mbiebl: could you file a bug for me? [05:36] Will do [05:37] on the ubuntu source, obviously [05:39] sure ;-) [05:45] #61693 [05:45] thanks [05:45] hope to start moving towards 0.5 this weekend [05:46] <_ion> Cool. [05:46] What features are planned for 0.5? [05:46] https://wiki.ubuntu.com/UpstartDesignChanges [05:47] <_ion> (topic) [05:48] We should probably put out some more sophisticated examples then. [05:48] So that people get a feeling how to write upstart jobs. [05:48] how do you mean? [05:48] once 0.5 is out? [05:49] Yes, explaining, which features/keywords already work e.g. [05:49] yes, I agree [06:28] The hardest part of those changes I think will be faking a call stack [06:28] for event blocking [06:28] event blocking? [06:28] Well, if an event can fail, then it must return a failure status. [06:29] And to do that, it must document which jobs were effected by it [06:29] And those jobs themselves can emit events that invoke other jobs. [06:29] Meaning they themselves wait for the results of those events;. [06:30] that's the question, do we want to wait for resulting events, or just jobs? [06:30] Well, before the results of an event can be known, all the jobs must complete. [06:30] define "complete" [06:31] transition to the stage that the emitted event caused them to set as a goal [06:31] or fail. [06:31] right, so that doesn't require event chaining [06:31] e.g. if that job emits an event, then that's not part of the goal or "complete"-ness [06:31] If I emit do-some-stuff, whcih causes a job to move from stop to start, do-some-stuff's result cannot be known until that job has finished entered started. [06:31] During which, it might have issued it's own events, which it itself is waiting on. [06:31] yes, that's true [06:32] So, it's a pretend call stack, managed with a main loop. [06:32] except you don't actually need the call stack [06:32] Yeah. Never said you did. It just behaves as one. [06:32] Which is interesting from an academic POV. :0 [06:32] the job is waiting on an event inside a process [06:33] Well, for instance, if a job transitions from STOPPED to STARTING, upstart itself emits job-name starting [06:33] The results of which could fail. [06:33] And should prevent the job from continuing. [06:33] should it, why? [06:34] I don't think it should [06:34] Really? [06:34] Because being able to write a new job that effects the startup process of another job, is interesting. [06:34] yes, but it's possible by just adding "stop on event-failed job-started job-name" :) [06:34] Lets you modify the first job without changing its file, resulting in easier management (upgrades to the job's package don't need to deal with changes to the job file) [06:34] Hmm. [06:34] wasabi__: the word is "affects" [06:35] Heh. [06:35] I'd prefer to make it as unneccassary as possible for an admin who desires to attach conditionals to a job installed by a package, to edit that jobs file himself. Not required, but it seems a worthy goal. [06:36] Easies package upgrades. [06:36] but then you have strange problems [06:36] Well, upstart has or will have an api like thus: [06:36] where the author of some job never expects anything to handle its events [06:36] and something does [06:36] evt = event_new("job-starting", job.name); wait for evt to exit [06:37] Well. That's true. [06:37] I suspect though the interference on the original job would be small, since you'd only be able to attach to built in events. [06:38] And those would only be able to return success/fail, to abort or continue. Nothing that can modify the original job's state in any breaking way. [06:39] I just don't think that a job should be affected by other jobs unless it wants to be [06:44] the worst example I can think of is mount-filesystem ;) [06:44] Heh. [06:44] you'd end up failing the entire system if a singel job that reacted to that event failed :p [06:45] Oooh. [06:45] Good point. [06:46] anyway, gonna go to sleep :) been up for 30H or so [06:46] nite [06:46] wow nite === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart [08:35] hello! [08:35] can I get help for upstart in edgy here? [08:37] what help would that be? [08:38] can I get ttys working, or is this a known bug? [08:39] it sounds familiar, let me see if I can find anything === j_ack [n=rudi@p508D93F0.dip0.t-ipconnect.de] has joined #upstart [08:40] /etc/default/console-properties is set properly, i think [08:41] johnnybuoy: my ttys seem to be working fine in edgy fwiw, and I don't see anything relevant in my backlog [08:41] hmmm [08:41] many ppl in ubuntu+1 have this prob. [08:41] johnnybuoy: you have startup-tasks and system-services installed? [08:42] LarstiQ, and no messages when booting without usplash [08:42] hmm [08:42] nope. [08:42] is it not a dep? [08:42] johnnybuoy: I think the messages would be upstart-logd\ [08:42] johnnybuoy: a Recommends [08:42] johnnybuoy: could you try that and report if it works? [08:44] LarstiQ, upstart-logd is installed [08:44] LarstiQ, ok [08:45] what if my pc doesn't boot? [08:45] hmm? [08:45] I doubt that will happen [08:45] I have those packages [08:45] both [08:46] all three ;) [08:46] I'm out of ideas then [08:46] hmm [08:46] :( [08:46] it's scary, cause what if X fails me? [08:46] i don't even know how to control upstart :( [08:47] does it have anything to do with [08:47] /etc/event.d/tty* files? [08:48] you could install sysvinit for the time being, if that makes you feel safer [08:48] cat /var/log/messages |grep tty gives me only one tty... [08:49] ttyS1 [08:49] what is LSR safety check? === j_ack [n=rudi@p508D93F0.dip0.t-ipconnect.de] has joined #upstart [08:51] johnnybuoy: see /var/log/boot [08:51] johnnybuoy: what I've personally also done is remove quiet and splash from the kernel arguments [08:53] LarstiQ, I tried that, but now splash works fine, do you think that splash is responsible for me not having ttys? [08:53] johnnybuoy: it does do nasty things with your console, yes [08:54] hmm [08:54] ok [08:54] I'll try with splash disabled [08:55] brb === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart [09:01] hmm :) [09:01] usplash *does* do strange things with the console :( [09:05] What sort of strange things, and what kernel arguments are you using? [09:06] vga=791 splash = silent and quiet are the relevant kernel arguments, I guess [09:07] Lose vga= [09:07] really? [09:07] Yes [09:07] ok, brb :) === Admiral_Chicago [n=freddy@st0660990722.monm.edu] has joined #upstart === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart [09:14] whoyesss!!! [09:15] thanks! removing vga=* kernel param I get usplash and tty... [09:15] :) === johnnybuoy very happy [09:15] THX [09:59] hello === j_ack [n=rudi@p508D93F0.dip0.t-ipconnect.de] has joined #upstart === Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart === Ingmar^ [n=ingmar@d51A482FD.access.telenet.be] has joined #upstart === Ingmar^ [n=ingmar@d51A482FD.access.telenet.be] has joined #upstart === Seveas [n=seveas@ubuntu/member/seveas] has joined #upstart === j_ack [n=rudi@p508D93F0.dip0.t-ipconnect.de] has joined #upstart === johnnybuoy [n=void@unaffiliated/johnnybuoy] has joined #upstart === Admiral_Chicago [n=freddy@st0660990722.monm.edu] has joined #upstart === Md [i=md@freenode/staff/md] has joined #upstart === Steven_Shiau [n=c00jhs00@palm180.nchc.org.tw] has joined #upstart === wasabi [n=wasabi@ubuntu/member/wasabi] has joined #upstart === Artanicus [i=kuitunej@lehtori.cc.tut.fi] has joined #upstart === pepsiman [n=malcolm@82-33-127-97.cable.ubr05.azte.blueyonder.co.uk] has joined #upstart === fdoving [n=frode@ubuntu/member/frode] has joined #upstart === alp [n=alp@host-87-74-40-238.bulldogdsl.com] has joined #upstart === LarstiQ [n=larstiq@cust.7.157.adsl.cistron.nl] has joined #upstart === zx64 [n=zx64@freecnc/zx64] has joined #upstart === neuralis [n=krstic@solarsail.hcs.harvard.edu] has joined #upstart === mjg59 [n=mjg59@cavan.codon.org.uk] has joined #upstart === thom [n=thom@195.54.228.42] has joined #upstart === vvl [i=vvl@leviathan.hellfish.org] has joined #upstart === zorglub [n=zorglub@wahe.diwi.org] has joined #upstart === _ion [i=johan@kiviniemi.name] has joined #upstart [11:32] -ChanServ(ChanServ@services.)- [#ubuntu-server] Ubuntu Server Discussions (development and support) [11:32] -ChanServ(ChanServ@services.)- [#ubuntu] Welcome to #ubuntu! Please read the channel topic and consider spending some time on the FAQ mentioned there [11:37] !christel:*! Hi all, we just had a minor connectivity issue with one of our servers. Affected users: ~3000. All should be back to normal. Have a great day! [12:19] !alindeman:*! Hi all! You may notice some bots around the net attempting to exploit a bug in some routers (whereby they crash on a malformed DCC SEND string). We're doing our best to mitigate the visibility of these bots, but if you're still being affected (i.e., disconnected) by them, please consider upgrading your router firmware ( http://nvd.nist.gov/nvd.cfm?cvename=CVE-2006-1068 ) and/or connecting to freenode on a non-IRC port, such as 8001. Thanks! I