lxc-android-config (0.185) utopic; urgency=medium

  * ship /etc/cron.hourly/logrotate to make sure on very noisy systems the
    syslog file doesn't excessively grow before we can rotate it.
...
lxc-android-config (0.182) utopic; urgency=medium

  * divert rsyslog logrotate config and ship /etc/logrotate.d/touch-syslog as
    a replacement, this makes sure the file will be flushed by logrotate once
    it hits 10M in size.


** Changed in: logrotate (Ubuntu)
       Status: Confirmed => Invalid

** Also affects: lxc-android-config (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: lxc-android-config (Ubuntu)
   Importance: Undecided => Critical

** Changed in: lxc-android-config (Ubuntu)
     Assignee: (unassigned) => Oliver Grawert (ogra)

** Changed in: lxc-android-config (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to logrotate in Ubuntu.
https://bugs.launchpad.net/bugs/1270248

Title:
  /var/log fills up disk space on phone

Status in “android” package in Ubuntu:
  New
Status in “linux-flo” package in Ubuntu:
  Confirmed
Status in “linux-mako” package in Ubuntu:
  Fix Released
Status in “logrotate” package in Ubuntu:
  Invalid
Status in “lxc-android-config” package in Ubuntu:
  Fix Released

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-phablet:/# du -hcs /var/log/*
  0     /var/log/alternatives.log
  12K   /var/log/alternatives.log.1
  4.0K  /var/log/apport.log
  8.0K  /var/log/apport.log.1
  4.0K  /var/log/apport.log.2.gz
  4.0K  /var/log/apport.log.3.gz
  4.0K  /var/log/apport.log.4.gz
  4.0K  /var/log/apport.log.5.gz
  8.0K  /var/log/apport.log.6.gz
  4.0K  /var/log/apport.log.7.gz
  16K   /var/log/apt
  128K  /var/log/auth.log
  212K  /var/log/auth.log.1
  8.0K  /var/log/auth.log.2.gz
  8.0K  /var/log/auth.log.3.gz
  8.0K  /var/log/auth.log.4.gz
  56K   /var/log/bootstrap.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/fontconfig.log
  12K   /var/log/fsck
  4.0K  /var/log/installer
  265M  /var/log/kern.log
  311M  /var/log/kern.log.1
  27M   /var/log/kern.log.2.gz
  34M   /var/log/kern.log.3.gz
  19M   /var/log/kern.log.4.gz
  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/pm-powersave.log
  200K  /var/log/pm-powersave.log.1
  4.0K  /var/log/pm-powersave.log.2.gz
  101M  /var/log/syslog
  52M   /var/log/syslog.1
  1.4M  /var/log/syslog.1.gz
  4.5M  /var/log/syslog.2.gz
  5.9M  /var/log/syslog.3.gz
  764K  /var/log/syslog.4.gz
  3.3M  /var/log/syslog.5.gz
  6.4M  /var/log/syslog.6.gz
  2.6M  /var/log/syslog.7.gz
  156K  /var/log/system-image
  340K  /var/log/udev
  0     /var/log/ufw.log
  4.0K  /var/log/unattended-upgrades
  724K  /var/log/upstart
  120K  /var/log/wtmp
  100K  /var/log/wtmp.1
  844M  total

  
  root@ubuntu-phablet:/# ls -l
  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/system/vendor

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android/+bug/1270248/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to