/srv/irclogs.ubuntu.com/2012/04/11/#upstart.txt

SpamapSbenburkert: I'd be interested in what that diff is :)00:04
benburkertSpamapS: https://gist.github.com/367891f799fc5769f5c600:06
SpamapSbenburkert: ok so datadir was moved00:07
benburkertright00:07
benburkertis it trying to use the old data dir maybe?00:07
SpamapSbenburkert: no00:07
SpamapSbenburkert: unless my.cnf tells it to00:07
SpamapSbenburkert: if you stop/start the job, then do 'status mysql' does it say start/running ?00:08
benburkertSpamapS: it does start properly if i do that00:15
benburkertthe problem is that i have chef scripts that think mysql is running because "start mysql" exits normally00:15
benburkertbut it aint00:15
SpamapSbenburkert: AHHH00:19
SpamapSbenburkert: so later on, mysqld dies, and upstart does not respawn it?00:19
SpamapSbenburkert: ultimately, there needs to be a chef module that asserts the state it wants (started, or stopped) and then uses status/start/stop to make that happen. I think the ones I've seen make invalid assumptions about the exit codes of start/stop/status00:20
TauPanHi... I have a job that should start an agetty on ttyS*, as soon as it appears, but I have to start it manually. I wonder what's wrong with: 'start on device-added SUBSYSTEM=tty DEVPATH=ttyS*'09:05
TauPanit looks like the device is added pretty early, so I guess it might already be present as soon as upstart sees that 'start' line09:08
TauPanhm, maybe 'start on device-added SUBSYSTEM=tty DEVPATH=ttyS* or runlevel [2]' is better09:11
SpamapSTauPan: there is no "device-added" event. You probably want tty-device-added, per the explanation in the manpage of upstart-udev-bridge 23:20

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