[16:49] <jMCg> dpkg -S /etc/init/container-detect.conf claims it belongs to upstart, but upstart doesn't have that file.
[16:49] <jMCg> Where do I find it?
[17:11] <jodh> jMCg: ? that file is part of the upstart package in Ubuntu.
[17:22] <SpamapS> jMCg: its in the package
[17:23] <jMCg> Yeah, I get that, so I'm wondering: Where's the source?
[17:23] <jMCg> upstart being an Ubuntu project, and the package being from Ubuntu, where does the source come from?
[17:24] <SpamapS> bzr branch lp:ubuntu/upstart
[17:28] <jMCg> now I just need to find out how to submit this patch: http://apaste.info/57cf
[17:29] <SpamapS> jMCg: not sure you can use awk there
[17:40] <jMCg> SpamapS: I'm pretty sure you can use awk wherever you use cat/grep/cut.
[17:40] <jMCg> Anyway: On to more important matters:
[17:41] <SpamapS> true, cut is in /usr as well
[17:41] <jMCg> if I set a setuid stanza, will pre-start be executed under that user as well?
[17:41] <SpamapS> jMCg: it was my understanding that upstart just didn't work at all in open-vserver tho
[17:41] <SpamapS> jMCg: yes, thats the one weakness of setuid/setgid unfortunately
[17:41] <jMCg> SpamapS: weakness?
[17:42] <SpamapS> jMCg: we've talked about maybe adding setuid/setgid as options to each executable stanza so you can have pre-start as root and exec as not root
[17:42] <jMCg> I see. No, in this case it's really fine. If I cannot read $foo as user $bar, then executing the daemon under that user won't be going all that well..
[17:45] <SpamapS> well often pre-starts will setup a dir in /var/run or something like that
[17:49] <jMCg> *nod*
[17:49] <jMCg> one more question: Can I setuid or chdir from an environment?
[17:52] <jMCg> i.e.: We'd like to configure under which user the daemon is running.
[17:53] <jmelis> hi guys, I'm an opennebula developer, and I'm trying to create an fpm package that prepares the network (basically writes /etc/network/interfaces). The tricky part is that it needs to be done *before* the init/networking.conf kicks in... does anybody know how can I do that??