/srv/irclogs.ubuntu.com/2013/08/16/#upstart.txt

dan2003Hi, having some problems trying to figure out upstart, I need to ensure a script gets run at shutdwon _before_ mysql stops, and _before_  postgresql stops, so i have made some .conf containing entries like "start on runlevel [06] and stopping mysql" as recommended by the docs to guarantee a script runs once and only once, however just the existence of this script one line in a script makes "service mysql stop" hang indefinit15:57
dan2003ely. Any sugestions?15:57
dan2003It seems as if upstart is then waiting for the condition "runlevel [06] and stopping mysql" before it returns15:59
dan2003which is not desired behaviour15:59
igalicHello happy people o/~18:38
igalicis there any way of (auto) exporting environment variables that I source from an external file?18:39
igalicwow..18:41
igalicI thought I had reported this as a bug:   for dir in `ls /var/lib/queues` ; do18:41
josephholstenis it possible to run an upstart service with a setuid from ldap?18:59
igalicjosephholsten: if ldap is resolved via pam_unix.so it should be no problem19:06
josephholstenigalic: it's being resolved via pam_lsass.so, from obis-open (aka likewise-open)20:26
igalicjosephholsten: so, my conservative answer in that case would be "no"20:27
josephholstenah, that's no fun20:28
josephholstenwhere's the source for upstart, maybe I should dig deeper and add support20:28
igalicjosephholsten: in bzr20:30
josephholstenah, found it20:30
igalichttps://code.launchpad.net/upstart20:31
josephholstengreat. so it's just calling getpwnam(3)20:47
josephholstenwhich works fine through a login shell / ruby20:49
josephholstenhmm, I can't figure out which pam profile it's using20:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!