nocturn | Hi, I'm writing an upstart config for a python application, what is the best way to not run the app as root? | 10:17 |
---|---|---|
xnox | nocturn: http://upstart.ubuntu.com/cookbook/#setuid | 13:59 |
nocturn | Thank you xnox | 13:59 |
eydaimon | i'm not able to compile this on fedora 18. I've tried every single version down to 1.5 | 22:10 |
eydaimon | STDERR: nih-dbus-tool:type.c:86: Not reached assertion failed in type_const | 22:10 |
eydaimon | /bin/sh: line 4: 25053 Aborted /usr/bin/nih-dbus-tool --package=upstart --mode=object --prefix=control --default-interface=com.ubuntu.Upstart0_6 --output=com.ubuntu.Upstart.c ../dbus/com.ubuntu.Upstart.xml | 22:10 |
eydaimon | anyone nkow? | 22:10 |
xnox | eydaimon: which libnih are you using? | 22:11 |
eydaimon | /usr/bin/nih-dbus-tool --version | 22:11 |
eydaimon | nih-dbus-tool (libnih 1.0.2) | 22:11 |
eydaimon | hmm | 22:11 |
eydaimon | odd I checked the version | 22:11 |
eydaimon | well, it's high enough according to the docs | 22:12 |
xnox | eydaimon: I'd recommend using libnih from lp:~upstart-devel/libnih/nih | 22:12 |
xnox | eydaimon: it fixes LP: #776532, LP: #777097, LP: #834813, LP: #1123588 | 22:13 |
xnox | https://bugs.launchpad.net/libnih/+bug/776532 | 22:13 |
xnox | https://bugs.launchpad.net/libnih/+bug/777097 | 22:13 |
xnox | https://bugs.launchpad.net/libnih/+bug/834813 | 22:13 |
xnox | https://bugs.launchpad.net/ubuntu/+source/gcc-4.7/+bug/1123588 | 22:13 |
eydaimon | oie | 22:13 |
xnox | among a few other bugs. | 22:13 |
eydaimon | where do I get upstart-devel? | 22:13 |
xnox | bzr branch lp:~upstart-devel/libnih/nih | 22:14 |
eydaimon | there's no tarball with that? | 22:14 |
eydaimon | I assume I will have to use --with-local-libnih ? | 22:14 |
xnox | or you can fetch the tarball + diff.gz from the downloads section of https://launchpad.net/ubuntu/+source/libnih/1.0.3-4ubuntu16 | 22:14 |
xnox | eydaimon: we really should make a new libnih release. I will poke a few people about it. | 22:15 |
eydaimon | thanks | 22:15 |
eydaimon | I compiled, installed it, yet still get errors | 22:18 |
eydaimon | trying to find the actual error now ) | 22:19 |
eydaimon | CC control.o | 22:19 |
eydaimon | control.c: In function ‘control_register_all’: | 22:19 |
eydaimon | control.c:381:2: error: ‘control_interfaces’ undeclared (first use in this function) | 22:19 |
eydaimon | that's with upstart 1.8 and the libnih I just compiled | 22:19 |
eydaimon | http://pastebin.com/FsVdQRNQ | 22:20 |
eydaimon | any ideas? | 22:24 |
eydaimon | i actually don't see it declared anywhere | 22:25 |
eydaimon | [root@localhost upstart-1.8]# grep -ri control_interfaces * | 22:25 |
eydaimon | ChangeLog: as control_interfaces | 22:25 |
eydaimon | init/control.c: control_interfaces, NULL)); | 22:25 |
eydaimon | must be from some lib which doesn't exist? | 22:26 |
eydaimon | xnox: still around? | 22:36 |
xnox | please file a bug, and we will look into it. | 22:38 |
eydaimon | I don't have time to wait for a response so it's not really worth my time to file it unless it's very easy. Link to file? | 22:39 |
eydaimon | xnox: well, maybe you guys are fast. Where do I file ticket? | 23:41 |
eydaimon | https://bugs.launchpad.net/upstart | 23:41 |
xnox | https://bugs.launchpad.net/upstart/+filebug | 23:41 |
xnox | yeah. | 23:41 |
* xnox should look into getting fedora / rhel / opensuse daily builds going. | 23:42 | |
eydaimon | I'm going to include the virtualbox image in the bug | 23:43 |
eydaimon | maybe that will help | 23:43 |
eydaimon | http://static.stasiak.at/fedora-18-x86-1.box | 23:44 |
eydaimon | with vagrant (vagrantup.com) | 23:44 |
eydaimon | xnox: https://bugs.launchpad.net/upstart/+bug/1162072 | 23:48 |
eydaimon | I gave full steps to reproduce | 23:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!