stderr noise on remove

Bug #391023 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: dkms

When removing an old kernel image, I saw:

  run-parts: executing /etc/kernel/prerm.d/dkms
  rmdir: failed to remove `/lib/modules/2.6.30-6-generic/updates/dkms': No such file or directory
  rmdir: failed to remove `/lib/modules/2.6.30-6-generic/updates': No such file or directory

Could that script check whether those directories exist in order to avoid this noise?

ProblemType: Bug
Architecture: i386
Date: Tue Jun 23 10:07:51 2009
DistroRelease: Ubuntu 9.10
Package: dkms 2.0.21.1-0ubuntu3
PackageArchitecture: all
ProcEnviron:
 LC_COLLATE=C
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.30-9.10-generic
SourcePackage: dkms
Uname: Linux 2.6.30-9-generic i686

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :
Revision history for this message
Mario Limonciello (superm1) wrote :

Thanks for reporting. This has been fixed in 73aa5b5f4eabe5b5d1450898a757cb7edb0cea21

Changed in dkms (Ubuntu):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dkms - 2.1.0.1-0ubuntu1

---------------
dkms (2.1.0.1-0ubuntu1) karmic; urgency=low

  * New upstream version.
    - When possible, run builds as the 'nobody' user rather than root.
      This appears to work well on Ubuntu, but F11 doesn't allow anyone
      to run commands as 'nobody'. So expect mixed behavior here on
      other distros.
    - Add support for Oracle VM and VMware 3.x
    - For RPMs drop dependency on lsb and instead ship a private
      lsb_release if a system lsb_release is not present. Prevents
      pulling in a large dependency chain since the 'lsb' package isn't
      split up in RPM distros like in the DEB world.
    - Standardize on the correct command for DEB distros for updating
      the initramfs
    - DEBs & RPMs no long exclusively store DKMS tarballs that get
      loaded when the DEB or RPM is installed. Instead, they will store
      the actual source.
    - When shipping binary modules with a DEB or RPM, they will still be
      put into a DKMS tarball, but they are stored in a more appropriate
      location on the system before getting loaded (generally /usr/share).
    - If the DEB/RPM has a combination of these two, then it will ship
      the source as part of the DEB/RPM and the binary modules inside
      the tarball in /usr/share.
    - Support for binaries only DEBS and RPMS has been added. This
      unfortunately requires that they DEB or RPM be installed on DKMS
      2.1.0.0. Keep in mind that you won't be able to let these DEBs or
      RPMs rebuild automatically when new kernels are installed.
    - A common postinstall script is now shipped and shared for DEBs and
      RPMs. The same actions are used on both types of installations.
    - Cleanup stderr noise on remove (LP: #391023)

 -- Mario Limonciello <email address hidden> Fri, 21 Aug 2009 15:49:58 -0500

Changed in dkms (Ubuntu):
status: Fix Committed → Fix Released
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.