[Bug 663272] New: mktemp: cannot make temp dir /var/tmp/mysql.s20238/mysql.G20577
https://bugzilla.novell.com/show_bug.cgi?id=663272 https://bugzilla.novell.com/show_bug.cgi?id=663272#c0 Summary: mktemp: cannot make temp dir /var/tmp/mysql.s20238/mysql.G20577 Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i586 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novell.com-pnt@ladisch.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux i686; U; en) Presto/2.7.62 Version/11.00 Every second start of mysql using rcmysql it does not start but gives an error message like this: mktemp: cannot make temp dir /var/tmp/mysql.A19259/mysql.P20114: No such file or directory ls: : No such file or directory Can't create secure This is caused by line 286 of /etc/init.d/mysql: TMPDIR="`mktemp -d -p /var/tmp mysql.XXXXXX | tee /var/run/mysql/tmpdir`" According to mktemp's documentation mktemp uses TMPDIR instead of /var/tmp if TMPDIR is set. Inserting unset TMPDIR before line 286 fixed the issue for me. Reproducible: Always Steps to Reproduce: 1. rcmysql restart 2. rcmysql restart Actual Results: First start fails, second start works. Expected Results: Both starts work. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=663272
https://bugzilla.novell.com/show_bug.cgi?id=663272#c
wei wang
https://bugzilla.novell.com/show_bug.cgi?id=663272
https://bugzilla.novell.com/show_bug.cgi?id=663272#c1
Michal Hrusecky
participants (1)
-
bugzilla_noreply@novell.com