[16:49] dpkg -S /etc/init/container-detect.conf claims it belongs to upstart, but upstart doesn't have that file. [16:49] Where do I find it? [17:11] jMCg: ? that file is part of the upstart package in Ubuntu. [17:22] jMCg: its in the package [17:23] Yeah, I get that, so I'm wondering: Where's the source? [17:23] upstart being an Ubuntu project, and the package being from Ubuntu, where does the source come from? [17:24] bzr branch lp:ubuntu/upstart [17:28] now I just need to find out how to submit this patch: http://apaste.info/57cf [17:29] jMCg: not sure you can use awk there [17:40] SpamapS: I'm pretty sure you can use awk wherever you use cat/grep/cut. [17:40] Anyway: On to more important matters: [17:41] true, cut is in /usr as well [17:41] if I set a setuid stanza, will pre-start be executed under that user as well? [17:41] jMCg: it was my understanding that upstart just didn't work at all in open-vserver tho [17:41] jMCg: yes, thats the one weakness of setuid/setgid unfortunately [17:41] SpamapS: weakness? [17:42] 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] 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] well often pre-starts will setup a dir in /var/run or something like that [17:49] *nod* [17:49] one more question: Can I setuid or chdir from an environment? [17:52] i.e.: We'd like to configure under which user the daemon is running. [17:53] 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??