mysqld /var/run/mysqld

Michael R. Head burner at suppressingfire.org
Fri Sep 8 21:19:26 UTC 2006


On Fri, 2006-09-08 at 21:41 +0100, gerases wrote:
> Here's the situation:
> 
> 
> 
> I'm running dapper. I installed mythtv and because mythtv 0.18 has some
> issues with MySQL Server 5.0, I installed a parallel instance of MySQL
> 4.1. So far so good.
> 
> 
> 
> I keep the socket file in /var/run/mysqld/mysqld.sock. Here's the weird
> part: every time I shut down my computer, /var/run/mysqld gets deleted!
> If I start MySQL (4.1) after the startup, it re-creates the directory,
> but what deletes it???

/var/run and /var/lock are mounted as tmpfs filesystems, so they are
effectively fast RAM drives. It reduces the amount of shutdown cleanup
required, but it causes problems for packages that don't recreate
their /var/run and /var/lock files/directories on startup...

mike

> 
> 
> BTW, just shutting down MySQL doesn't delete that directory...
> 
> 
> -- 
> gerases
> 
-- 
Michael R. Head <burner at suppressingfire.org>
suppressingfire.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060908/fadc76e2/attachment.sig>


More information about the ubuntu-users mailing list