/var/log fills up disk space on phone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
android (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
linux-flo (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
linux-mako (Ubuntu) |
Fix Released
|
Medium
|
Andy Whitcroft | ||
logrotate (Ubuntu) |
Invalid
|
High
|
Oliver Grawert | ||
lxc-android-config (Ubuntu) |
Fix Released
|
Critical
|
Oliver Grawert |
Bug Description
The effect of this is that certain important things stop working. For example, text messages are no longer displayed in the messaging app.
root@ubuntu-
0 /var/log/
12K /var/log/
4.0K /var/log/apport.log
8.0K /var/log/
4.0K /var/log/
4.0K /var/log/
4.0K /var/log/
4.0K /var/log/
8.0K /var/log/
4.0K /var/log/
16K /var/log/apt
128K /var/log/auth.log
212K /var/log/auth.log.1
8.0K /var/log/
8.0K /var/log/
8.0K /var/log/
56K /var/log/
0 /var/log/btmp
0 /var/log/btmp.1
56K /var/log/dmesg
44K /var/log/dmesg.0
16K /var/log/dmesg.3.gz
16K /var/log/dmesg.4.gz
0 /var/log/dpkg.log
640K /var/log/dpkg.log.1
752K /var/log/faillog
4.0K /var/log/
12K /var/log/fsck
4.0K /var/log/installer
265M /var/log/kern.log
311M /var/log/kern.log.1
27M /var/log/
34M /var/log/
19M /var/log/
9.0M /var/log/lastlog
12K /var/log/lightdm
16K /var/log/lxc
0 /var/log/mail.err
0 /var/log/mail.log
4.0K /var/log/news
272K /var/log/
200K /var/log/
4.0K /var/log/
101M /var/log/syslog
52M /var/log/syslog.1
1.4M /var/log/
4.5M /var/log/
5.9M /var/log/
764K /var/log/
3.3M /var/log/
6.4M /var/log/
2.6M /var/log/
156K /var/log/
340K /var/log/udev
0 /var/log/ufw.log
4.0K /var/log/
724K /var/log/upstart
120K /var/log/wtmp
100K /var/log/wtmp.1
844M total
root@ubuntu-
total 72
drwxrwxrwt 7 root root 140 Jan 16 16:41 android
drwxr-xr-x 2 root root 4096 Jan 7 13:39 bin
drwxr-xr-x 2 root root 4096 Oct 18 10:07 boot
lrwxrwxrwx 1 root root 14 Oct 26 17:22 cache -> /android/cache
lrwxrwxrwx 1 root root 13 Oct 26 17:22 data -> /android/data
drwxr-xr-x 17 root root 6180 Jan 16 16:48 dev
drwxr-xr-x 98 root root 4096 Jan 9 14:53 etc
lrwxrwxrwx 1 root root 16 Oct 26 17:22 factory -> /android/factory
lrwxrwxrwx 1 root root 17 Oct 26 17:22 firmware -> /android/firmware
drwxr-xr-x 3 root root 4096 Oct 26 17:18 home
drwxr-xr-x 18 root root 4096 Jan 9 14:52 lib
drwxr-xr-x 2 root root 16384 Oct 26 17:18 lost+found
drwxr-xr-x 2 root root 4096 Oct 24 12:47 media
drwxr-xr-x 2 root root 4096 Oct 18 10:07 mnt
drwxr-xr-x 3 root root 4096 Oct 26 17:18 opt
lrwxrwxrwx 1 root root 16 Oct 26 17:22 persist -> /android/persist
dr-xr-xr-x 236 root root 0 Dec 31 1969 proc
drwx------ 2 root root 4096 Oct 26 17:18 root
drwxr-xr-x 18 root root 600 Jan 16 16:41 run
drwxr-xr-x 2 root root 4096 Jan 9 14:52 sbin
drwxr-xr-x 2 root root 4096 Oct 24 12:47 srv
dr-xr-xr-x 12 root root 0 Jan 16 16:41 sys
lrwxrwxrwx 1 root root 15 Oct 26 17:22 system -> /android/system
drwxrwxrwt 6 root root 320 Jan 17 12:18 tmp
drwxrwx--x 7 system system 4096 Nov 4 08:20 userdata
drwxr-xr-x 10 root root 4096 Oct 26 17:22 usr
drwxr-xr-x 13 root root 4096 Oct 26 17:22 var
lrwxrwxrwx 1 root root 22 Oct 26 17:22 vendor -> /android/
Related branches
Changed in logrotate (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: patch |
Changed in linux-flo (Ubuntu): | |
status: | New → In Progress |
Changed in linux-mako (Ubuntu): | |
status: | New → In Progress |
Changed in linux-flo (Ubuntu): | |
importance: | Undecided → Medium |
Changed in linux-mako (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | nobody → Andy Whitcroft (apw) |
Changed in linux-flo (Ubuntu): | |
assignee: | nobody → Andy Whitcroft (apw) |
Changed in linux-flo (Ubuntu): | |
assignee: | Andy Whitcroft (apw) → nobody |
Logrotate fixes are fine, but the kernel is also quite chatty with these messages every 20 seconds:
Jan 31 13:03:09 ubuntu-phablet kernel: [ 3203.158980] adjust_soc: ibat_ua = -401300, vbat_uv = 3860077, soc = 17, batt_temp=292
Jan 31 13:03:29 ubuntu-phablet kernel: [ 3223.159834] adjust_soc: ibat_ua = -428500, vbat_uv = 3867418, soc = 18, batt_temp=292
Jan 31 13:03:49 ubuntu-phablet kernel: [ 3243.158797] adjust_soc: ibat_ua = -410100, vbat_uv = 3865951, soc = 18, batt_temp=292
Jan 31 13:04:09 ubuntu-phablet kernel: [ 3263.158919] adjust_soc: ibat_ua = -387400, vbat_uv = 3863013, soc = 18, batt_temp=292
Jan 31 13:04:29 ubuntu-phablet kernel: [ 3283.158888] adjust_soc: ibat_ua = -383400, vbat_uv = 3862134, soc = 18, batt_temp=293