[09:11] <cyphermox> IdleOne: around? you seem to have expired from the ubuntu-qc team, is that on purpose?
[13:26] <Ankman> !seen IdleOne
[13:26] <Ankman> irc bot not wirking here?


[15:58] <steffen_b3> hi
[15:59] <steffen_b3> can we really expect all of this: https://wiki.ubuntu.com/FoundationsTeam/Specs/MaverickFinishUpstart beginning of March ?
[16:05] <Keybuk> that's the plan
[16:05] <Keybuk> Canonical has multiple people working on Upstart
[16:06] <Keybuk> at this point, 1, 2 & 4 are complete
[16:06] <steffen_b3> ok - cool - that makes it sound feasable
[16:06] <Keybuk> 7 is complete, but may be changed as there's discussion going on upstream
[16:06] <Keybuk> 3, 6, 8, 9 & 10 are all in progress
[16:06] <Keybuk> so the only one not started is #5
[16:07] <steffen_b3> #5 is nice but not that important
[16:09] <steffen_b3> looking forward to see the rest :)
[16:10] <steffen_b3> if working as expected should simplify the jobs we have a lot
[16:16] <Keybuk> a little yeah
[16:16] <Keybuk> 0.6 still has the fundamental issue that the "start on" / "stop on" single stanzas are hard to work with
[16:25] <steffen_b3> yes
[16:26] <steffen_b3> and states are missing a lot
[16:26] <Keybuk> that's all being worked on though ;-)
[16:26] <Keybuk> just not for natty
[16:26] <Keybuk> it may end up being released around the same time though
[16:26] <Keybuk> so natty+1 can start straight away with a new upstart
[16:26] <steffen_b3> thats fine
[16:27] <steffen_b3> i'm working on yavdr
[16:27] <steffen_b3> so we are not bound 100% to ubuntu releases
[16:27] <Keybuk> ah cool
[16:28] <steffen_b3> at the moment we are using things like
[16:28] <steffen_b3> LANG=C /sbin/status openbox | grep -q process && /sbin/initctl emit vdr-frontend-restart || /bin/true
[16:29] <steffen_b3> or
[16:29] <steffen_b3> while [ ! -e /tmp/vdr-xine/stream ] ; do sleep 0.1 ; done
[16:29] <Keybuk> does respawn not work?
[16:29] <steffen_b3> which becomes quickly quite nasty
[16:29] <Keybuk> (for the former)
[16:29] <steffen_b3> it should start vdr-frontend
[16:29] <steffen_b3> if vdr restarts
[16:29] <steffen_b3> but only if X is up
[16:30] <steffen_b3> else it will respawn it until it gives up
[16:30] <Keybuk> ah right
[16:30] <Keybuk> that makes sense
[16:31] <steffen_b3> by the socket activation we should get rid of the sleeps
[16:32] <steffen_b3> we have more then one of it
[16:32] <Keybuk> yup, and the direct state support will let you better specify the former
[16:32] <steffen_b3> yes
[16:32] <steffen_b3> then being able to start processes as user is another thing
[16:33] <steffen_b3> if i got it right it should be also possible around that time
[16:34] <steffen_b3> only one problem i didn't found any solution yet
[16:35] <steffen_b3> to stop the shutdown process until a service has finished stopping
[16:36] <steffen_b3> at runlevel everything start to stop at the same time
[16:37] <steffen_b3> including dbus
[16:37] <steffen_b3> so if you want to delay it
[16:37] <steffen_b3> upstart seem to hang
[16:39] <steffen_b3> something like
[16:39] <steffen_b3> stop on stopping rc
[16:39] <steffen_b3> anyway needs a closer look in march then
[16:41] <steffen_b3> mainly wanted to see if the agenda is wishfull thinking or really something behind :) - great to see its the second
[16:43] <Keybuk> not sure what you mean by the stopping bit?
[16:43] <Keybuk> I suspect you're talking about an Ubuntu bug there, rather than an Upstart problem?
[16:44] <steffen_b3> i guess its an ubuntu bug
[16:44] <steffen_b3> but i don't really differentiate that much
[16:44] <steffen_b3> ;)
[16:45] <steffen_b3> or i really can't make sure those bug that is
[16:45] <steffen_b3> if a signal is delayed to after dbus has stopped
[16:45] <steffen_b3> the signal never happens
[16:45] <steffen_b3> for upstart
[16:46] <Keybuk> oh right
[16:46] <Keybuk> yeah D-Bus is stopped by the runlevel event, which happens in parallel to the rest of the shutdown
[16:46] <steffen_b3> and dbus is stopped at runlevel
[16:46] <steffen_b3> yes
[16:46] <steffen_b3> so if you try to get in before rc
[16:47] <steffen_b3> to delay it until the service is down
[16:47] <steffen_b3> rc will never be run
[16:47] <Keybuk> Clint and James are working on a fix for that involving adding explicit "initctl emit" statements to the sysvinit shutdown
[16:47] <Keybuk> which will wait for the upstart jobs to stop
[16:47] <steffen_b3> cool :)
[16:48] <steffen_b3> vdr needs a couple of seconds to stop
[16:48] <steffen_b3> and we try to run fsck at shutdown
[16:48] <steffen_b3> at the moment fsck is not run, as the filesystem is busy
[16:49] <steffen_b3> so that thing will also be taken care of by natty then i hope/guess ?
[16:50] <ion> Unrelated, but anyhoo: i’m using this to avoid fscks on startup: https://github.com/ion1/e2croncheck
[16:51] <Keybuk> steffen_b3: I would imagine so, yes
[16:51] <steffen_b3> fsck on a mounted filesystem
[16:52] <steffen_b3> ah on a lvm volume snapshot
[16:53] <Keybuk> yeah, I think fsck is one of those things the Linux world is collectively waiting for btrfs for
[16:53] <Keybuk> "we could fix it now, but it's hard, and btrfs doesn't need fixing"
[16:53] <steffen_b3> i use xfs on the big disks
[16:54] <steffen_b3> and ext4 on system
[16:54] <steffen_b3> thing never seen fsck running
[16:54] <steffen_b3> thing = think
[16:55] <steffen_b3> " XFS is a journaling filesystem and performs recovery at mount(8) time if necessary, so fsck.xfs simply exits with a zero exit status. "
[16:56] <Keybuk> heh, XFS doesn't perform recovery
[16:56] <Keybuk> XFS abandons your data on a remote tropical island without so much a bottle of rum
[16:57] <steffen_b3> :D
[16:57] <steffen_b3> anyway its a lot but not mission critical data
[16:57] <steffen_b3> i would prefer something reliable w/o fsck
[16:58] <steffen_b3> but until then xfs works fairly well here since the last 5 years or so
[16:58] <Keybuk> well, you always need to fsck
[16:58] <Keybuk> but filesystems like btrfs support online fsck
[16:58] <Keybuk> so you don't need to stop everything for it
[16:59] <Keybuk> you just fsck when you feel a need
[16:59] <Keybuk> (e.g. it can go in cron)
[16:59] <steffen_b3> ok let me rephrase
[16:59] <steffen_b3> without waiting possibly hours for the FS to do "something"
[16:59] <steffen_b3> before the machine boots/shuts down
[16:59] <Keybuk> indeed
[17:01] <steffen_b3> not sure if btrfs is mature enough allready
[17:02] <Keybuk> it's at least as mature as ext4
[17:03] <Keybuk> the only reason Ubuntu hasn't switched, at least for netbooks or desktops, is that there's still a licensing issue with the boot loader
[17:03] <Keybuk> the btrfs code, being kernel, is GPL 2 only
[17:03] <Keybuk> the boot loader (GRUB 2) is GPL 3+
[17:04] <steffen_b3> ok - so i should think about switching at next installation
[17:05] <steffen_b3> i mean in the end its just hours of TV recordings
[17:05] <steffen_b3> for my use case
[17:41] <Stevee> hello, i've a question / problem with upstart and a couple a network services - they should stopped bevore the network will shutdown
[17:42] <Stevee> so is there any change to do this without a static list of the services in the network job - like "stop on stopped service a and stopped service b and stopped service c ...." ?
[17:58] <steffen_b3> you should stop them on the network signals then
[17:58] <steffen_b3> not the other way around
[18:00] <Stevee> so you mean stop this services on "stopping network" ?
[18:01] <steffen_b3> i'm not sure
[18:01] <steffen_b3> but i think
[18:01] <steffen_b3> net-device-down should exist
[18:01] <Stevee> the whole network is controlled by a python script
[18:02] <Stevee> so, there is no app for upstart to watch and to stop / wait
[18:02] <steffen_b3> stop on net-device-down IFACE=*[0123456789]
[18:02] <steffen_b3> would stop the service on any network device going down
[18:03] <steffen_b3> except lo
[18:03] <Stevee> yes, but the service should stop bevore the network will stop
[18:05] <Stevee> the only way i image is, to define a kind of static list with every service
[18:05] <Stevee> and only if all of them are stopped the network service / job will stop
[18:06] <steffen_b3> hmm
[18:06] <Stevee> but this list of jobs can change so this is no option
[18:07] <Stevee> is there any kind of define a group or something ?
[18:09] <steffen_b3> you mean like create 1 job with your conditions
[18:09] <steffen_b3> and let the other jobs
[18:09] <steffen_b3> start on started
[18:09] <steffen_b3> stop on stopping
[18:10] <steffen_b3> that job
[18:11] <steffen_b3> not sure if my thinking is to complex right now
[18:12] <steffen_b3> but you could have a job which reacts on net-device-down (or net-device-removed?) which is checking the number of network interfaces up
[18:12] <steffen_b3> if it reaches 0 or 1 (depending if you want to filter lo or not)
[18:12] <steffen_b3> it issues a signal
[18:13] <steffen_b3> which can stop the services
[18:14] <steffen_b3> not sure if that is enough
[18:14] <Stevee> the amount of network interfaces also is dynamically
[18:14] <steffen_b3> but not the amount of network interfaces where you would want to stop
[18:14] <steffen_b3> which is 0
[18:14] <steffen_b3> allways
[18:14] <Stevee> that is true
[18:15] <steffen_b3> net-device-added -> count++
[18:15] <steffen_b3> net-device-removed -> count--
[18:17] <steffen_b3> if count == 1 -> initctl --no-wait emit some-signal
[18:17] <steffen_b3> stop on some-signal
[18:17] <Keybuk> you'd want to wait, surely?
[18:17] <Keybuk> your code would be:
[18:17] <Keybuk>   initctl emit net-going-down
[18:17] <Keybuk>   ifdown ...
[18:17] <Keybuk>   initctl emit net-down
[18:17] <Keybuk> if you used --no-wait, you'd tear down the network without waiting for the services to stop
[18:18] <steffen_b3> good point
[18:18] <Stevee> oh there is a own event net-going-down ?
[18:18] <Keybuk> Stevee: there is if you make one
[18:18] <steffen_b3> :D
[18:18] <Stevee> yes, clearly, we emits that
[18:18] <Keybuk> Upstart has no fixed list of events
[18:18] <Keybuk> it's up to you to emit them when you want them
[18:19] <Keybuk> and up to you to decide when you emit whether or not you want to wait for Upstart to finish
[18:19] <Keybuk> an Ubuntu machine, for example, has a "net-device-down" event - but this isn't waited for
[18:19] <Keybuk> because Ubuntu takes the position that you can't control a network device going down, it could go down because the WiFi is out of range, because the user hit the kill switch, because the user pulled out the network cable or card, etc.
[18:19] <Keybuk> so since you can't guarantee "service is stopped before network goes down", it doesn't provide that facility
[18:20] <Keybuk> that's not an Upstart limitation though, just an Ubuntu policy decision
[18:22] <Stevee> yes, so my point is to kill all network services with an event
[18:23] <Stevee> and after they all has been stopped, to shut down the network
[18:23] <Stevee> but my only idea to perfom that is a kind of static list
[18:23] <Keybuk> nah
[18:23] <Keybuk> you can just use an event for that:
[18:23] <Stevee> like "stop on stopped service a and stopped service b and so on"
[18:23] <Keybuk> in your code just do:
[18:23] <Keybuk>   initctl emit kill-all-network-services
[18:24] <Keybuk>   ifconfig ... down
[18:24] <Keybuk> then the jobs that need to be killed have:
[18:24] <Keybuk>   stop on kill-all-network-services
[18:24] <Stevee> yes
[18:25] <Keybuk> you don't need any kind of static list
[18:26] <Stevee> if i put this initctl kill-all-network-services into a jobfile
[18:26] <Stevee> will upstart wait on executing the next command ?
[18:26] <Keybuk> yes
[18:26] <Stevee> so at first it emits the event
[18:26] <Stevee> the services will stop
[18:27] <Stevee> and than it will shutdown the network ?
[18:27] <Keybuk> yup
[18:27] <Stevee> great, thanks
[19:00] <Stevee> how is the correct syntax: stop on kill-all-network-services or stopped network ?
[19:07] <Keybuk> the two syntaxes are both correct, depending what you want to do
[19:08] <Stevee> both
[19:08] <Keybuk> then that's correct two
[19:08] <Keybuk> too
[19:08] <Stevee> thanks
[19:08] <Keybuk> that'll say stop on the k-a-n-s event OR if the network job gets stopped without emitting that event
[19:08] <Stevee> yes thats correct
[19:09] <Stevee> if the network ist stopped manually the net-services also should stop
[19:10] <Stevee> is it possible to add multiple initctl emit xyz init a script blog of a jobfile ?
[19:10] <Stevee> init = into
[19:10] <steffen_b3> bye all :)
[19:10] <Stevee> good bye
[19:11] <Stevee> thanks for the help
[19:11] <Stevee> to slow :(
[19:24] <Stevee> Keybuk thanks for your great help
[19:47] <Keybuk> Stevee: sure, as many as you want
[19:54] <mbiebl> Keybuk: start on socket ... vs start on dbus-activation ...
[19:54] <mbiebl> would be nice to either add -activation to socket or drop -activation from dbus
[20:06] <Keybuk> mbiebl: yeah, they're just drafts at the moment
[20:14] <Keybuk> going to send the new draft of the dbus patches to the ML in a bit
[20:14] <Keybuk> been a week since the discussion on the common interface tailed off, so a good time for an RFC + patches to get it going again
[20:45] <Stevee> gn8 @all - thanks for hel
[20:45] <Stevee> p
[21:02] <ion> thanks for hell
[21:46] <Keybuk> ;-
[21:46] <Keybuk> ;-)
[22:48] <Keybuk> mbiebl: right, that's those patches sent


[09:31] <sladen> http://fridge.ubuntu.com/node/560
[09:32] <sladen> nixternal: whiprush imbrandon Seveas ^^
[09:32] <sladen> needs editing/checking
[09:32] <Seveas> sladen, /me has no editing privileges
[09:34] <whiprush> sladen: on it!
[09:34] <whiprush> hahah, that picture is awesome
[09:37] <whiprush> i think if you replace SABDFL with sabdfl that the cms will do that neat acronym substitution with a hover definition.
[09:41] <sladen> whiprush: go for it
[09:41] <whiprush> k
[09:41] <sladen> and any other changes
[09:41] <whiprush> some typos and stuff
[09:41] <whiprush> give me a few
[09:41] <sladen> I've been starring at it for hours and I don't want to look at it any more :)
[09:42] <sladen> maybe a better title too
[09:42] <sladen> and some subject
[09:42] <sladen> and some subject headings like I used for the upstart piece
[09:43] <sladen> please, quite pleased with the photo
[09:44] <sladen> original was http://www.firstafricaninspace.com/images/gallery/4806.jpg
[09:44] <whiprush> let me try to do some headers
[09:48] <whiprush> sladen: ok, what do you think of those 2 headings?
[09:48] <sladen> excellent!
[09:48] <whiprush> you're right though
[09:49] <whiprush> needs a new title
[09:49] <sladen> I reckon a couple of 2-3 highlights from the text would focus the eye too
[09:49] <sladen> it did get /rather/ long
[09:49] <whiprush> I think it's awesome though
[09:49] <whiprush> I didn't know any of that stuff
[09:50] <sladen> mmm, thinking I have some more bits about the 2Mb Ku-Band net connection to Houston (...when it's up)
[09:51] <sladen> and how they installed a VoIP client on it
[09:51] <whiprush> haha
[09:51] <whiprush> I am brainstorming on a pad and I wrote down "Soyuz think you're a road warrior?"
[09:51] <sladen> can you if it worked then they would have two new laptops
[09:51] <whiprush> sure
Firefox bookmarks
[09:52] <sladen> try:  almost anyway.  instead of the italics and preview it
[09:52] <whiprush> ok
top-marks for full Ubuntu compatibility
ThinkPad! ThinkPad!
[09:53] <whiprush> easy easy
[09:54] <whiprush> I think that's too many
[09:54] <whiprush> look at it now
so brand-new still a few issues
[09:55] <whiprush> I am going to try "...almost anyways"
[09:55] <whiprush> see how that reads
[09:55] <sladen> there's too much bold "on orbit that were much faster than anything else up there."
HAM radio
[09:56] <sladen> it's just little bits to help the eye pick out interesting snippets and break the text up
[09:56] <whiprush> how about now?
[09:56] <sladen> actually skip the whole of that long piece and just have  much faster
[09:56] <whiprush> hmmm, "if" looks weird
[09:57] <sladen> nod
taken Debian instead
[09:57] <whiprush> how about now?
[09:57] <sladen> can I try some edits?
[09:58] <whiprush> go ahead
[09:58] <whiprush> stepping out for food, I'll be back in 10
[09:59] <sladen> nod
[10:33] <sladen> what's the word for when people are happy
[10:33] <sladen> sounds a bit like morality
[11:24] <sladen> whiprush: ^^ try now
[11:26] <sladen> 1500 words
[11:26] <sladen> naach
[11:28] <whiprush> ok
[11:29] <whiprush> oh man, the soyuz thing was a joke.
[11:29] <whiprush> I didn't actually expect you to use it
[11:31] <whiprush> that voip story is awesome
[11:33] <whiprush> want me to publish it now?
[11:38] <sladen> can you check. the. VoIP. section.
[11:38] <sladen> (eg. read it slowly one-word at a time)
[11:38] <sladen> I tend to miss small words out
[11:38] <sladen> and your and my brain will probably tend to fill them in automatically, even if they're still missing :)
[12:00] <sladen> whiprush: yup, go for it if you didn't find anything
[12:00] <sladen> whiprush: I don't want it to get any longer... :)


[06:22] <godbyk> Hey, CrustyBarnacle.
[06:22] <godbyk> To answer your question from last week or thereabouts, the glossary entries are in the frontmatter directory because they must be included in the main .tex file prior to any of the other text that may refer to them.
[06:52] <CrustyBarnacle> godbyk: Was wondering... Thanks
[06:53] <CrustyBarnacle> godbyk: Feel free to hack at the Index entries or Glossary... My time is getting sucked up in Holiday shenanigans.
[07:01] <godbyk> CrustyBarnacle: I'm going to try to work on some indexing this weekend.
[07:01] <godbyk> I've been kept pretty busy with other work, too, unfortunately.
[07:01] <CrustyBarnacle> godbyk: Me too
[07:18] <CrustyBarnacle> ttyl... sleepy time
[08:30] <Lhesalinux> hy
[08:31] <Lhesalinux> pliss help
[08:31] <Lhesalinux> tutorial instal wvdial