[Bug 293029] New: kde erraneously refuses to start due to insufficient space on /tmp
gunther.clasen at ensilica.com
gunther.clasen at ensilica.com
Wed Feb 1 09:37:47 GMT 2012
https://bugs.kde.org/show_bug.cgi?id=293029
Summary: kde erraneously refuses to start due to insufficient
space on /tmp
Product: kde
Version: unspecified
Platform: Unlisted Binaries
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: gunther.clasen at ensilica.com
Version: unspecified (using KDE 1.2)
OS: Linux
startkde can refuse to start kde due to insufficient space on /tmp even though
/tmp has plenty of space available.
Noticed problem in
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.3.1 )
but also present in
# DEFAULT KDE STARTUP SCRIPT ( KDE-3.5.4 )
and possibly later versions.
Reproducible: Sometimes
Steps to Reproduce:
The df command in the script evaluates BLCOK_SIZE, which is unset in the script
before df is being used. This is correct. However, df (now) also evaluates
DF_BLOCK_SIZE, which is not unset in the script. If DF_BLOCK_SIZE is set to a
high value (e.g. GB) then startkde will fail, thinking it has only a few KB on
/tmp when in fact is has a few GB. The same for $HOME
Expected Results:
I expect startkde to start kde if DF_BLOCK_SIZE is set to GB and /tmp has 4GB
free space.
It is more reliable to explicitly set the block size. Here is a patch which
works:
13,14c13,14
< space_tmp=`LANG=C df /tmp | xargs | cut -d" " -f11`
< homedir_mount=`LANG=C df "$HOME" | xargs | cut -d" " -f8`
---
> space_tmp=`LANG=C df -k /tmp | xargs | cut -d" " -f11`
> homedir_mount=`LANG=C df -k "$HOME" | xargs | cut -d" " -f8`
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list