Tries to create 'volatile' directory on read-only filesystem

Bug #254034 reported by Matt Zimmerman
26
Affects Status Importance Assigned to Milestone
linux-restricted-modules (Ubuntu)
Fix Released
High
Ben Collins
Nominated for Intrepid by Stefano Maioli

Bug Description

During boot (without usplash) I noticed that /etc/init.d/linux-restricted-modules-common is run very early (S07 in runlevel S), and prints a "Read-only file system" error regarding /lib/modules/`uname -r`/volatile. It probably should be shipped with one of the kernel packages so that it doesn't need to be created on the fly.

ProblemType: Bug
Architecture: i386
Date: Fri Aug 1 19:17:07 2008
Dependencies: binutils-static 2.18.50.20080707-0ubuntu1
DistroRelease: Ubuntu 8.10
NonfreeKernelModules: nvidia
Package: linux-restricted-modules-common 2.6.26-5.11
PackageArchitecture: all
ProcEnviron:
 LC_COLLATE=C
 PATH=/home/username/bin:/usr/lib/ccache:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/sbin:/usr/sbin:/usr/games:/usr/lib/surfraw
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: linux-restricted-modules
Uname: Linux 2.6.26-5-generic i686

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Matt - In Hardy the folder isn't shipped with any package as such. The linux-restricted-modules-2.6.24-xx-generic postinst script calls /sbin/lrm-manager, which creates the folder on install.

This doesn't appear to be the case in the postinst script for linux-restricted-modules-2.6.26-5-generic

Changed in linux-restricted-modules:
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

This should do it

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Actually, it also needs to remove the directory on removal

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: [Bug 254034] Re: Tries to create 'volatile' directory on read-only filesystem

On Sat, Aug 02, 2008 at 03:50:42PM -0000, Chris Coulson wrote:
> Actually, it also needs to remove the directory on removal
>
> ** Attachment added: "fix-create-volatile-on-install.patch"
> http://launchpadlibrarian.net/16495736/fix-create-volatile-on-install.patch

Thanks for the patch...I'm certain it used to run lrm-manager from postinst
before; I wonder why that was removed?

--
 - mdz

Changed in linux-restricted-modules:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Ben Collins (ben-collins) wrote :

Fixed in git. I did it slightly different. Since we call lrm-manager in postinst, no reason to call depmod directly. Also added update-initramfs call to lrm-manager.

Changed in linux-restricted-modules:
assignee: ubuntu-kernel-team → ben-collins
importance: Medium → High
milestone: none → intrepid-alpha-5
status: Triaged → Fix Committed
Changed in linux-restricted-modules:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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