/srv/irclogs.ubuntu.com/2011/01/10/#upstart.txt

JanCducktype: my guess is that upstart thinks mysql is started before it's actually listening00:38
ducktypeoh good00:41
ducktypechecking that one00:41
JanCat least, that could explain things  ;)00:42
ducktypea simple pre-start sleep should do the trick00:42
ducktypenothing :(00:44
ducktypemm wait00:44
JanCyou can try to log something before it starts mydns00:45
JanCto make sure it actually tries to start it00:45
ducktypemm why: post-start script sleep 3 end script00:48
ducktypein the mysql job make start mysql wait forever, like when i specified "task" before to try00:49
ducktypeJanC: i've logged from mysql pre/post start and mydns pre/post start i nto a file00:55
ducktypei only see one line mysql pre-start end00:56
ducktypeseems thath the mysql job is't considered finished00:56
JanCso basically upstart doesn't detect when mysql is finished starting00:56
ducktypehangs on exec /usr/sbin/mysqld00:56
JanCyou might need an "expect" stanza00:57
JanCor cheat and start mysqld from pre-start instead  ;)00:58
JanChm, it seems like Ubuntu starts mysqld without such tricks...00:59
JanCducktype: this is the default mysql.conf in Maverick: http://paste.ubuntu.com/552322/01:01
ducktypethamk you, checking..01:02
JanCthings like the AppArmor profile you probably don't need01:02
ducktypei'm using mariadb not mysql but they are really the same01:15
ducktypeseems to be: exec /usr/sbin/mysqld &01:15
ducktypethe &01:15
ducktypenow doesn't hang on exec01:15

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