[09:59] <keesj> right in the center next to the photo camera
[10:08] <ion> keybuk: o hai. My VM setup: http://heh.fi/tmp/mountall-test-setup-20091009, debug log with my branch: http://pastebin.com/f175ac4af
[10:09] <ion> Nothing special about them, except that it seems to work. :-P
[10:50] <Keybuk> ion: all merged, except I had a couple of alternate ways of doing it
[10:50] <Keybuk> rather than the trigger thing, I changed the count to never call mounted() more than once
[10:50] <ion> Alright
[11:56] <Keybuk> \o.
[11:56] <Keybuk> .o/
[11:59] <ion> keybuk: I wonder how to handle e.g. the ‘apt-local /opt/apt-local vboxsf defaults 0 2’ mount in my VM fstab that gives me easy access to, say, a recent build of mountall deb? The vboxsf filesystem becomes available when the virtualbox-ose-guest-utils init script loads a module. Currently i just have it as ‘noauto’, so that the system at least boots. :-P
[12:03] <Keybuk> why doesn't it boot without noauto?
[12:10] <ion> It gets stuck at the end, never sending the FHS event: http://pastebin.com/f775b90db (the last “mounted:” entry being “local 6/7 remote 0/0 virtual 12/12 swap 0/0”)
[12:13] <ion> (I’m still running a build from my branch pre-merge. I’m about to do a new build, but that shouldn’t fix it.)
[12:27] <Keybuk> oh, hmm
[12:27] <Keybuk> ah, I see the bug
[12:27] <Keybuk> d'oh
[12:28] <Keybuk> ion: try -r85
[12:35] <ion> About to impact http://www.nasa.gov/55644main_NASATV_Windows.asx
[12:36] <ion> keybuk: Great, it works.
[12:38] <Keybuk> it makes you wonder whether Obama has a "sorry, we blew up the moon" speech prepared
[12:38] <Keybuk> just in case
[12:39] <ion> We launched a rocket toward the moon with an intention to detonate an explosive, but upon impact it accidentally the whole moon.
[12:41] <mgoetze> i think it will be revealed that blowing up the moon was, in fact, necessary, as an alien invasion was being staged there, and that that is, in fact, the reason why obama is getting the nobel peace prize
[12:48] <ion> keybuk: Can we get events from Upstart about things being mounted by others? The vbox-guest-utils init script runs mount -a -t vboxsf after loading the module, but mountall is left to sleep forever thinking /opt/apt-local never got mounted.
[12:48] <ion> s/Upstart/udev/, brainfart
[12:48] <Keybuk> oh, I was going to poll mountinfo!
[12:54] <damjan> ion: how do you watch it on Linux? LCROSS
[12:58] <ion> vlc played both the stream i linked and http://playlist.yahoo.com/makeplaylist.dll?id=1368163 which had better quality but which suffered from congestion.
[13:12] <damjan> it seems to be the same thing.. that .asx link is just  a xml file and it has a ref to http://playlist.yahoo.com/makeplaylist.dll?id=1369080&segment=149773
[13:48] <ion> keybuk: http://pastebin.com/m403ae9cd btw ;-)
[13:56] <ion> keybuk: How about making nih_logger_printf() fflush the fd after each message? It would help with e.g. stracing mountall; you’d know which part of the code is running based on the debug write()s. Also, the latest log messages might only reach a log file after a long delay if the output has been redirected to a file, mountall is waiting for something and the buffer doesn’t quite reach its capacity.
[13:57] <Keybuk> fflush is expensive
[13:57] <ion> I encountered both situations with debugging mountall. I simply added the flushing to nih_logger_printf temporarily. :-P
[13:57] <ion> if (nih_log_priority >= NIH_LOG_DEBUG)?
[13:57] <ion> <=
[13:57] <Keybuk> ion: tabstop-agnostic indentation - give me an emacs file for that ;)
[13:58] <ion> Since my editor doesn’t do that either (AFAIK), i just indent with spaces in my own code. :-P
[13:59] <Keybuk> style < effort :p
[13:59] <Keybuk> and I use C-A-\ all the time
[13:59] <Keybuk> (reindent buffer)
[14:00] <ion> TBH, i’d indent my code with spaces only anyway, i rather like a smaller amount of indentation.
[14:04] <Keybuk> :p
[14:21] <sadmac2> my JLS confirmation just arrived :)
[14:21] <sadmac2> In Japanese :(
[14:57] <Keybuk> fail
[14:58] <Keybuk> 敗 even
[15:04] <sadmac2> Keybuk: from what translating my literate friend has done, I need a copy of the email to get into the conference too. That's gonna be fun for some people.
[15:04] <sadmac2> Keybuk: especially those people who's spam filters have figured out the incredibly effective "foreign language => junk" heuristic
[15:07] <ion> JLS?
[15:07] <sadmac2> ion: Japan Linux Symposium
[15:09] <ion> “• Upstart 1.0 by Scott James Remnant  [slides]” It’s a placeholder for a link. :-(
[15:10] <sadmac2> ion: where is that?
[15:10] <ion> http://linuxplumbersconf.org/2009/program/
[15:11] <sadmac2> yeah, I wonder when the videos will be available
[15:13] <Keybuk> ion: my laptop hard drive died
[15:13] <Keybuk> so I haven't rescued the slides off it yet
[15:14] <ion> Ouch
[15:18] <sadmac2> Keybuk: mine showed up broken and yours didn't make it out
[16:31] <ion> keybuk: As for “don’t queue filesystem check when device is ‘none’”, how about “if device doesn’t begin with a slash” instead?
[16:41] <Keybuk> you might have a legitimate reason for checking those
[16:41] <Keybuk> *shrug*
[16:41] <Keybuk> fsck.fuse may exist for example
[16:51] <ion> keybuk: http://bazaar.launchpad.net/~ion/ubuntu/karmic/mountall/fsck-locking/revision/88
[16:51] <Keybuk> no, I meant mnt->type there
[16:52] <ion> Ah, ok, the debian/changelog entry mislead me. :-)
[16:52] <Keybuk> you can add another check though ;)
[16:55] <ion> http://bazaar.launchpad.net/~ion/ubuntu/karmic/mountall/fsck-locking/revision/88
[16:55] <Keybuk> you'll need to rebase that too ;)
[16:58] <ion> pushed
[16:59] <ion> Or did you already publish 0.2.0, i.e. should i increment version?
[17:06] <Keybuk> i did
[17:30] <ion> Wouldn’t it be better for mount_event to be asychronous? Send the call, go back to main loop and proceed to run_mount/swapon when the call finishes.
[17:45] <Keybuk> maybe
[17:45] <Keybuk> but the idea is to just start essential services for that mount