[00:40] Man, this email is getting longer than i thought. [06:35] As at lucid, "kill -SEGV 1" results in a kernel oops. Is that the intended behaviour? [06:36] What else should happen? [06:36] Well, the kernel appears to discard "kill -15 1" and "kill -9 1" [06:37] I'm OK with it doing that, I was just wondering if it wasn't *supposed* to [07:17] SpamapS: I need more a condition like start on starting tty1 and (ifstarting kdm or gdm) [07:31] I would like some feedback on my first shot http://pastebin.com/XxTYPrzS [07:32] the goal is to start a script before a user can login [07:33] There's something that deletes /etc/nologin [07:33] this script has some user interaction, basicially it asks the user if updates can be installed. [07:33] Work out what it is, hook into that [07:33] the user should not even has a login screen [07:33] Then you're probably screwed [07:33] But you might be able to do whatever fsck does [07:34] neither console nor gdm/kdm [07:34] the 3 upstart script I have now do work, at lease in my limited setup [07:35] but the way I do it seems not be very clean [08:48] twb: right, I think SIGSEGV is important to deliver to even pid 1 so it can be debugged.. despite that it may oops the kernel. [08:48] twb: that is a kernel issue... sysvinit also oopses on SIGSEGV [08:48] Okey dokey [08:49] Actually I am... abusing it to tell LXC that my container's setup script failed :-) [08:49] I happened to run the script by accident on a non-container, and it oopsed [08:53] setup script? you're not using cloud-init ? [08:53] I'm using LXC [08:53] you should. It has a local metadata tuype. :) [08:54] which would have the nice side effect that your LXC container could be booted identical to a cloud node. :) [08:54] LXC containers don't "boot"; they don't have a kernel. [08:54] That's rather the point [09:08] booting starts processes under the container [09:10] Bah [09:10] just depends on what you need [09:11] I should also clarify that by "setup script" I mean the script that takes my company-specific LXC template and applies container-specific changes, like installing apache2 and git cloning a web app into /var/www/. === ion_ is now known as ion === apachelogger_ is now known as apachelogger [19:45] Hi there. I'm hoping someone here can help me. I have upstart launching my daemon using a pretty simple config file with "start on filesystem", but my daemon complains that the nfs-mounted directory it needs does not exist when upstart launches it. I wish I knew how to make it depend on the filesystem that contains the necessary directory. Any suggestions?