Activity log for bug #886439

Date Who What changed Old value New value Message
2011-11-05 03:38:13 Alan bug added bug
2011-11-05 03:38:13 Alan attachment added lsof post upstart upgrade https://bugs.launchpad.net/bugs/886439/+attachment/2585878/+files/lsof.txt
2011-12-12 14:59:32 Scott Moser attachment added console output of system (note 'mount:' and 'recovery required') https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/886439/+attachment/2629652/+files/console-restarted.log
2011-12-12 15:00:15 Scott Moser attachment added lsof output prior to upstart upgrade https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/886439/+attachment/2629653/+files/lsof.out.pre
2011-12-12 15:00:40 Scott Moser attachment added lsof output after to upstart upgrade https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/886439/+attachment/2629654/+files/lsof.out.post
2011-12-12 15:00:56 Scott Moser upstart (Ubuntu): importance Undecided High
2011-12-12 15:00:56 Scott Moser upstart (Ubuntu): status New Confirmed
2011-12-12 15:01:10 Scott Moser tags regression-update
2011-12-12 17:33:27 Nick Barcet bug added subscriber Nick Barcet
2011-12-12 19:15:28 Clint Byrum upstart (Ubuntu): status Confirmed Triaged
2011-12-12 19:15:34 Clint Byrum upstart (Ubuntu): assignee Clint Byrum (clint-fewbar)
2011-12-12 19:20:42 Clint Byrum bug task added sysvinit (Ubuntu)
2011-12-12 19:20:51 Clint Byrum sysvinit (Ubuntu): status New Triaged
2011-12-12 19:20:54 Clint Byrum sysvinit (Ubuntu): importance Undecided High
2011-12-12 19:20:57 Clint Byrum sysvinit (Ubuntu): assignee Clint Byrum (clint-fewbar)
2011-12-12 23:09:36 Launchpad Janitor branch linked lp:~clint-fewbar/ubuntu/precise/sysvinit/wait-for-long-shutdown-jobs
2011-12-12 23:11:52 Clint Byrum upstart (Ubuntu): status Triaged Invalid
2011-12-13 00:02:33 Clint Byrum nominated for series Ubuntu Oneiric
2011-12-13 00:02:33 Clint Byrum bug task added sysvinit (Ubuntu Oneiric)
2011-12-13 00:02:33 Clint Byrum bug task added upstart (Ubuntu Oneiric)
2011-12-13 00:02:44 Clint Byrum upstart (Ubuntu Oneiric): status New Invalid
2011-12-13 00:02:48 Clint Byrum sysvinit (Ubuntu Oneiric): status New In Progress
2011-12-13 00:02:50 Clint Byrum sysvinit (Ubuntu): status Triaged In Progress
2011-12-13 00:02:53 Clint Byrum sysvinit (Ubuntu Oneiric): importance Undecided High
2011-12-13 00:02:56 Clint Byrum sysvinit (Ubuntu Oneiric): assignee Clint Byrum (clint-fewbar)
2011-12-13 00:07:04 Clint Byrum description Steps to reproduce: 1. Start an Ubuntu 11.10 Oneiric instance on EC2. Example: ec2run ami-bbf539d2 -t t1.micro -k key 2. Save sudo lsof for reference. 3. apt-cache show upstart The stock version of upstart installed is 1.3-0ubuntu10. 4. sudo apt-get update; sudo apt-get install upstart upstart is upgraded to 1.3-0ubuntu11 5. Verify that /var/run/init.upgraded is in fact touched by the install. 6. Save sudo lsof for reference. 7. sudo shutdown -h now The console displays while unmounting: mount: / is busy This causes filesystem recovery errors on next boot. The post-upgrade lsof is attached. == SRU JUSTIFICATION == IMPACT: its possible, though not all that likely, that files and metadata will be out of sync when systems are shutdown or rebooted after upgrading upstart or any of the libraries it depends on (namely, libc6). Therefore the potential impact is data corruption. TEST CASE: Steps to reproduce: 1. Start an Ubuntu 11.10 Oneiric instance on EC2. Example: ec2run ami-bbf539d2 -t t1.micro -k key 2. Save sudo lsof for reference. 3. apt-cache show upstart The stock version of upstart installed is 1.3-0ubuntu10. 4. sudo apt-get update; sudo apt-get install upstart upstart is upgraded to 1.3-0ubuntu11 5. Verify that /var/run/init.upgraded is in fact touched by the install. 6. Save sudo lsof for reference. 7. sudo shutdown -h now The console displays while unmounting: mount: / is busy This error will not show when the bug is fixed. DEV FIX: The problem is that /var/run is cleared out for the transition to /run before the 'init.upgraded' flag file is checked for. The order of operations is changed. REGRESSION POTENTIAL: The code path that is changed is very straight forward and tight, just swapping the order of two basic sets of operations. I would consider this to have a low regression potential then. ===== This causes filesystem recovery errors on next boot. The post-upgrade lsof is attached.
2011-12-13 00:28:40 Launchpad Janitor branch linked lp:ubuntu/sysvinit
2011-12-13 00:30:11 Launchpad Janitor sysvinit (Ubuntu): status In Progress Fix Released
2011-12-13 00:36:24 Launchpad Janitor branch linked lp:~clint-fewbar/ubuntu/oneiric/sysvinit/sru-fixes
2011-12-13 01:10:22 Clint Byrum bug added subscriber Ubuntu Stable Release Updates Team
2011-12-13 01:13:36 Clint Byrum sysvinit (Ubuntu Oneiric): status In Progress Fix Committed
2011-12-15 06:39:48 Martin Pitt bug added subscriber SRU Verification
2011-12-15 06:39:52 Martin Pitt tags regression-update regression-update verification-needed
2011-12-16 01:00:49 Clint Byrum tags regression-update verification-needed regression-update verification-done
2012-01-02 09:08:14 Launchpad Janitor sysvinit (Ubuntu Oneiric): status Fix Committed Fix Released
2012-04-05 21:46:37 Launchpad Janitor branch linked lp:ubuntu/oneiric-proposed/sysvinit