On Sat, Feb 02, 2008 at 01:08:42PM -0000, hehol wrote:
> I just tried to install mysql-server-5.0 on a Ubuntu 7.10 server which
> accidentally had wrong permissions on the /tmp directory (755, owned by
> root:root).
How come did this happen ?
> I suppose the problem is in the postinst script, which uses mktemp to
> create several temporary SQL scripts in /tmp. The postinst script does
> not verify if the temporary files have been created successfully. There
> isn't even a warning indicating that something went wrong while
> bootstrapping MySQL.
On Sat, Feb 02, 2008 at 01:08:42PM -0000, hehol wrote:
> I just tried to install mysql-server-5.0 on a Ubuntu 7.10 server which
> accidentally had wrong permissions on the /tmp directory (755, owned by
> root:root).
How come did this happen ?
> I suppose the problem is in the postinst script, which uses mktemp to
> create several temporary SQL scripts in /tmp. The postinst script does
> not verify if the temporary files have been created successfully. There
> isn't even a warning indicating that something went wrong while
> bootstrapping MySQL.
Seems reasonable to me.
status confirmed
importance wishlist
-- www.ubuntu. com
Mathias Gug
Ubuntu Developer http://