installation broken when /tmp has insufficient permissions
Bug #188334 reported by
Henning Holtschneider
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-dfsg-5.1 (Ubuntu) |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
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). At first sight, the installations succeeds, but it ends up with only debian-sys-maint in the user table. So, no changes to the database are possible.
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.
Changed in mysql-dfsg-5.0: | |
status: | Confirmed → Triaged |
affects: | mysql-dfsg-5.0 (Ubuntu) → mysql-dfsg-5.1 (Ubuntu) |
To post a comment you must log in.
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://