Skip to contentSkip to conversation

Frans Meulenbroeks : mysql: moved pid dir from /var/run/mysql to /var/lib/ mysql as /var/run is created upon boot

oe-commits Frans Meulenbroeks 1 participant 1 message Nov 6, 2009 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 20091106092315.GA2246@xora-eee

#2 lore raw

2009/11/6 Graeme Gregory <[email protected]>:

Quoted 13 lines · git version control
Quoted 5 lines

Module: openembedded.git
Branch: org.openembedded.dev
Commit: 189a5b7f7665ce2c1d4d406ca7343ffeb3ea2afd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=189a5b7f7665ce2c1d4d406ca7343ffeb3ea2afd

Quoted 7 lines

Author: Frans Meulenbroeks <[email protected]>
Date:   Fri Nov  6 08:39:56 2009 +0100

mysql: moved pid dir from /var/run/mysql to /var/lib/mysql as /var/run is created upon boot (and so var/run disappears)
added restart to init.d script

Quoted 7 lines

This is wrong.

As I told you on IRC, make use of the volatiles system to create /var/run/mysql with the corrct ownership. Check hal for an example if you need one.

Graeme

Apparently I did not get your volatiles suggestion, and when I asked this morning on irc khem suggested using /var/lib/mysql, and pb did understand it and did not object.
Feel free to correct.
(btw i'm not really attached to the mysql recipe, I noticed it was broken, so I tried to fix it; at least it is now less broken)

Frans