triggers called multiple times in one upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Filing against apt, since I think I've seen seen this with plain apt-get update commands. However, this might be the fault of dpkg or do-release-upgrade.
When I upgraded from 12.10 to Raring, I found multiple instances of running kernel triggers. It seemed inefficient to me to see the grub configuration regenerated over and over again:
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-headers-
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 4440: /bin/sh
No volume groups found
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 5475: /bin/sh
No volume groups found
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 6493: /bin/sh
No volume groups found
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 7396: /bin/sh
No volume groups found
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 8279: /bin/sh
No volume groups found
done
Removing linux-image-
Examining /etc/kernel/
run-parts: executing /etc/kernel/
update-initramfs: Deleting /boot/initrd.
run-parts: executing /etc/kernel/
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /boot/memtest86
File descriptor 59 (/var/log/
File descriptor 60 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh
File descriptor 63 (/var/log/
File descriptor 117 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh
File descriptor 119 (/var/log/
File descriptor 170 (/var/log/
File descriptor 171 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh
File descriptor 172 (/dev/pts/12) leaked on lvs invocation. Parent PID 9053: /bin/sh
No volume groups found
done
Removing ntfsprogs ...
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: apt 0.9.7.7ubuntu3
ProcVersionSign
Uname: Linux 3.8.0-13-generic x86_64
ApportVersion: 2.9.1-0ubuntu1
Architecture: amd64
Date: Mon Mar 18 17:22:35 2013
InstallationDate: Installed on 2012-10-18 (151 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
MarkForUpload: True
ProcEnviron:
TERM=rxvt-unicode
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: apt
UpgradeStatus: Upgraded to raring on 2013-03-18 (0 days ago)
On 19 March 2013 08:28, Seth Arnold <email address hidden> wrote:
> When I upgraded from 12.10 to Raring, I found multiple instances of
> running kernel triggers. It seemed inefficient to me to see the grub
> configuration regenerated over and over again:
As in, update-grub? This happens precisely because it is not using a bugs.debian. org/481542> for some discussion.
trigger. See <http://
duplicate 396381