daily upgrade on 16.04 hangs

Bug #1614459 reported by Oliver Grawert

This bug report was converted into a question: question #605429: daily upgrade on 16.04 hangs.

16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

doing a regular upgrade using the update-manager popup on a 16.04 machine, the update process hangs:

Setting up apparmor (2.10.95-0ubuntu2.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `binfmt-support'
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'screen-cleanup' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `screen-cleanup'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `screen-cleanup'

it sits at the last line forever. this machine has no fancy os level hacks, no PPAs in use, was installed with 12.04 initially and has only seen LTS->LTS upgrades.

Revision history for this message
Oliver Grawert (ogra) wrote :

re-running "apt-get -f install" in a terminal i can not even ctrl-C out of the hanging apt process, i have to kill -9 the underlying dpkg to get a prompt back.

description: updated
Revision history for this message
Oliver Grawert (ogra) wrote :

looking at /var/lib/dpkg/info/apparmor.postinst, i see:

# Automatically added by dh_installinit
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; then
    if [ -x "/etc/init.d/apparmor" ]; then
        update-rc.d apparmor start 37 S . >/dev/null || true
    fi
fi

ogra@anubis:~$ ls -lh /etc/init.d/apparmor
-rwxr-xr-x 1 root root 6,0K Feb 16 2016 /etc/init.d/apparmor

ogra@anubis:~$ dpkg -S /etc/init.d/apparmor
apparmor: /etc/init.d/apparmor

Revision history for this message
Oliver Grawert (ogra) wrote :

for a test i commented out the above update-rc.d code, seemingly this is not the issue, now i have apparmor hanging the same way, just without the error messages on "apt-get -f install"

Revision history for this message
Oliver Grawert (ogra) wrote :

digging deeper i found a kernel Oops http://paste.ubuntu.com/23067079/

Revision history for this message
Oliver Grawert (ogra) wrote :

while the above report was about my desktop i experience the same on my laptop ...
pastebin with the oops is at http://paste.ubuntu.com/23067239/

tags: added: regression-update
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apparmor (Ubuntu):
status: New → Confirmed
Revision history for this message
Johnny Morris (johnny-bravo) wrote :

sudo dpkg --configure -a
Setting up apparmor (2.10.95-0ubuntu2.6) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults

any fixes for this bug yet? i cant update and its screwing up one of my customers sites

Changed in apparmor (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Oliver Grawert (ogra) wrote :

@johnny ... note that you replied to a duplicate ... if you can not update apparmor with an up-to-date kernel that has the fix for the issue, you most likely face a new and unrelated bug and should file it as such.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.