Upgrade warns of leaked file descriptors on vgs, lvs invocation

Bug #1671472 reported by Bjorn Solberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-63 linux-headers-4.4.0-63-generic linux-image-4.4.0-63-generic
  linux-image-extra-4.4.0-63-generic linux-signed-image-4.4.0-63-generic
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  desktop-file-utils gir1.2-gtk-3.0 libgtk-3-0 libgtk-3-bin libgtk-3-common mdadm
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,239 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 desktop-file-utils amd64 0.22-1ubuntu5.1 [43.8 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgtk-3-common all 3.18.9-1ubuntu3.2 [206 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgtk-3-0 amd64 3.18.9-1ubuntu3.2 [2,355 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gir1.2-gtk-3.0 amd64 3.18.9-1ubuntu3.2 [188 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libgtk-3-bin amd64 3.18.9-1ubuntu3.2 [53.8 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mdadm amd64 3.3-2ubuntu7.2 [393 kB]
Fetched 3,239 kB in 1s (2,777 kB/s)
Preconfiguring packages ...
(Reading database ... 232964 files and directories currently installed.)
Preparing to unpack .../desktop-file-utils_0.22-1ubuntu5.1_amd64.deb ...
Unpacking desktop-file-utils (0.22-1ubuntu5.1) over (0.22-1ubuntu5) ...
Preparing to unpack .../libgtk-3-common_3.18.9-1ubuntu3.2_all.deb ...
Unpacking libgtk-3-common (3.18.9-1ubuntu3.2) over (3.18.9-1ubuntu3.1) ...
Preparing to unpack .../libgtk-3-0_3.18.9-1ubuntu3.2_amd64.deb ...
Unpacking libgtk-3-0:amd64 (3.18.9-1ubuntu3.2) over (3.18.9-1ubuntu3.1) ...
Preparing to unpack .../gir1.2-gtk-3.0_3.18.9-1ubuntu3.2_amd64.deb ...
Unpacking gir1.2-gtk-3.0:amd64 (3.18.9-1ubuntu3.2) over (3.18.9-1ubuntu3.1) ...
Preparing to unpack .../libgtk-3-bin_3.18.9-1ubuntu3.2_amd64.deb ...
Leaving 'diversion of /usr/sbin/update-icon-caches to /usr/sbin/update-icon-caches.gtk2 by libgtk-3-bin'
Leaving 'diversion of /usr/share/man/man8/update-icon-caches.8.gz to /usr/share/man/man8/update-icon-caches.gtk2.8.gz by libgtk-3-bin'
Unpacking libgtk-3-bin (3.18.9-1ubuntu3.2) over (3.18.9-1ubuntu3.1) ...
Preparing to unpack .../mdadm_3.3-2ubuntu7.2_amd64.deb ...
Unpacking mdadm (3.3-2ubuntu7.2) over (3.3-2ubuntu7.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for systemd (229-4ubuntu16) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up desktop-file-utils (0.22-1ubuntu5.1) ...
Installing new version of config file /etc/gnome/defaults.list ...
Setting up libgtk-3-common (3.18.9-1ubuntu3.2) ...
Setting up libgtk-3-0:amd64 (3.18.9-1ubuntu3.2) ...
Setting up gir1.2-gtk-3.0:amd64 (3.18.9-1ubuntu3.2) ...
Setting up libgtk-3-bin (3.18.9-1ubuntu3.2) ...
Setting up mdadm (3.3-2ubuntu7.2) ...
update-initramfs: deferring update (trigger activated)
Generating grub configuration file ...
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8621: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8621: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8636: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8636: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8651: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8651: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8666: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8666: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8732: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 8732: /usr/sbin/grub-probe
Found linux image: /boot/vmlinuz-4.4.0-66-generic
Found initrd image: /boot/initrd.img-4.4.0-66-generic
Found linux image: /boot/vmlinuz-4.4.0-64-generic
Found initrd image: /boot/initrd.img-4.4.0-64-generic
Found linux image: /boot/vmlinuz-4.4.0-63-generic
Found initrd image: /boot/initrd.img-4.4.0-63-generic
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 9340: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on vgs invocation. Parent PID 9340: /usr/sbin/grub-probe
File descriptor 3 (pipe:[192415]) leaked on lvs invocation. Parent PID 9514: /bin/sh
Adding boot menu entry for EFI firmware configuration
done
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
Processing triggers for libc-bin (2.23-0ubuntu5) ...
Processing triggers for initramfs-tools (0.122ubuntu8.8) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-66-generic
W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.

$ lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-release-upgrader-core 1:16.04.21
ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CrashDB: ubuntu
Date: Thu Mar 9 14:16:23 2017
InstallationDate: Installed on 2016-02-20 (382 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
Symptom: dist-upgrade
UpgradeStatus: Upgraded to xenial on 2016-04-29 (314 days ago)
VarLogDistupgradeAptclonesystemstate.tar.gz:
 Error: command ['pkexec', 'cat', '/var/log/dist-upgrade/apt-clone_system_state.tar.gz'] failed with exit code 127: polkit-agent-helper-1: error response to PolicyKit daemon: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: No session for cookie
 Error executing command as another user: Not authorized

 This incident has been reported.

Revision history for this message
Bjorn Solberg (bjorn+ubuntuone) wrote :
Revision history for this message
Tyler Hicks (tyhicks) wrote : Bug is not a security issue

Thanks for taking the time to report this bug and helping to make Ubuntu better. We appreciate the difficulties you are facing, but this appears to be a "regular" (non-security) bug. I have unmarked it as a security issue since this bug does not show evidence of allowing attackers to cross privilege boundaries nor directly cause loss of data/privacy. Please feel free to report any other bugs you may find.

information type: Private Security → Public
affects: ubuntu-release-upgrader (Ubuntu) → grub2 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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