40m QIL Cryo_Lab CTN SUS_Lab TCS_Lab OMC_Lab CRIME_Lab FEA ENG_Labs OptContFac Mariner WBEEShop
  40m Log  Not logged in ELOG logo
Entry  Wed Nov 18 20:49:05 2015, rana, Update, Computer Scripts / Programs, nodus boot getting full 
    Reply  Wed Nov 18 23:18:07 2015, ericq, Update, Computer Scripts / Programs, nodus /boot cleared up 
Message ID: 11786     Entry time: Wed Nov 18 23:18:07 2015     In reply to: 11784
Author: ericq 
Type: Update 
Category: Computer Scripts / Programs 
Subject: nodus /boot cleared up 

The /boot partition was filling up with old kernels. Nodus has automatic security updates turned on, so new kernels roll in and the old ones don't get removed. 

I ran apt-get autoremove, which removed several old kernels. (apt is configured by default to keep two previous kernels around when autoremoving, so this isn't so risky)

Now: /dev/sda1                    236M   94M  130M  42% /boot

In principle, one should be able change a setting in /etc/apt/apt.conf.d/50unattended-upgrades that would do this cleanup automatically, but this mechanism has a bug whose fix hasn't propagated out yet (link). So, I've added a line to nodus' root crontab to autoremove once a week, Sunday morning. 

ELOG V3.1.3-