** Description changed:

  After upgrading from Ubuntu Server 10.04 to Ubuntu Server 10.10, I
  noticed that security updates were no longer being applied automatically
  (contrary to my configuration).
  
  I did some poking around in the apt script (in etc/cron.daily).  Here is
  the output with debug mode on.  (I cleared out the time stamp files to
- force it to update now so errors regarding those are not important.
+ force it to update now so errors regarding those are not important.)
  
  power status (255) undetermined, continuing
  system is on main power.
  sleeping for 739 seconds
  check_stamp: missing time stamp file: /var/lib/apt/periodic/update-stamp.
  apt-key net-update (success)
  download updated metadata (success).
  send dbus signal (success)
  X11 connection rejected because of wrong authentication.
  check_stamp: missing time stamp file: 
/var/lib/apt/periodic/download-upgradeable-stamp.
  download upgradable (success)
  check_stamp: missing time stamp file: /var/lib/apt/periodic/upgrade-stamp.
  Segmentation fault
  unattended-upgrade (error)
  check_stamp: missing time stamp file: /var/lib/apt/periodic/autoclean-stamp.
  autoclean (success).
  aged: ctime <30 and mtime <30 and ctime>2 and mtime>2
  end remove by archive size: size=412396 < 512000
  
  So, what's that seg fault in the middle there?  Turns out it is the call
  to /usr/bin/unattended-upgrade.
  
  I can actually reproduce it like this:
  
  $ sudo unattended-upgrade
  Segmentation fault
  
  Now, this is about all I know how to do to debug the issue.  If you'd
  like me to run a stack trace or something on unattended-upgrade to
  figure out why it is crashing, please point me towards some directions
  to do so.  (I notice that it is a python script and I am not very
  familiar with python.)  In any case, this is a security issue, since
  security updates cannot be installed automatically, I have to remember
  to check the server often to make sure that security updates are
  applied.

-- 
Unattended upgrade fails with segmentation fault in Ubuntu Server 10.10
https://bugs.launchpad.net/bugs/664514
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to