dan2003 | Hi, 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 indefinit | 15:57 |
---|---|---|
dan2003 | ely. Any sugestions? | 15:57 |
dan2003 | It seems as if upstart is then waiting for the condition "runlevel [06] and stopping mysql" before it returns | 15:59 |
dan2003 | which is not desired behaviour | 15:59 |
igalic | Hello happy people o/~ | 18:38 |
igalic | is there any way of (auto) exporting environment variables that I source from an external file? | 18:39 |
igalic | wow.. | 18:41 |
igalic | I thought I had reported this as a bug: for dir in `ls /var/lib/queues` ; do | 18:41 |
josephholsten | is it possible to run an upstart service with a setuid from ldap? | 18:59 |
igalic | josephholsten: if ldap is resolved via pam_unix.so it should be no problem | 19:06 |
josephholsten | igalic: it's being resolved via pam_lsass.so, from obis-open (aka likewise-open) | 20:26 |
igalic | josephholsten: so, my conservative answer in that case would be "no" | 20:27 |
josephholsten | ah, that's no fun | 20:28 |
josephholsten | where's the source for upstart, maybe I should dig deeper and add support | 20:28 |
igalic | josephholsten: in bzr | 20:30 |
josephholsten | ah, found it | 20:30 |
igalic | https://code.launchpad.net/upstart | 20:31 |
josephholsten | great. so it's just calling getpwnam(3) | 20:47 |
josephholsten | which works fine through a login shell / ruby | 20:49 |
josephholsten | hmm, I can't figure out which pam profile it's using | 20:58 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!