apparmor initramfs script broken

Bug #665790 reported by Marc MERLIN
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Expired
Medium
Unassigned
initramfs-tools (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: apparmor

In maverick, ii apparmor 2.5.1~rc1-0ubuntu2

/usr/share/initramfs-tools/scripts/init-bottom needs
--- _apparmor.orig 2010-10-23 19:16:25.644987835 -0700
+++ _apparmor 2010-10-23 19:16:29.910933395 -0700
@@ -1,8 +1,6 @@
 #! /bin/sh
 set -e

-. /scripts/functions
-
 PREREQ="framebuffer console_setup"

 prereqs () {

Without this, mkinitramfs errors out with:
+++ /tmp/mkinitramfs_2ybWs2/scripts/init-bottom/_apparmor prereqs
.: 4: Can't open /scripts/functions
++ prereqs=

Tags: i386 maverick
Revision history for this message
maximilian attems (maks-debian) wrote :

Belows patch is wrong the scripts function sourcing should
happen after the prereqs block, but the error message looks
valid and possible. As the boot hooks are precached run on
mkinitramfs build since newer initramfs-tools.

Changed in apparmor (Ubuntu):
status: New → Confirmed
Changed in initramfs-tools (Ubuntu):
status: New → Invalid
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Is this still an issue for you?

Changed in apparmor (Ubuntu):
status: Confirmed → Fix Committed
Changed in apparmor (Ubuntu):
status: Fix Committed → Incomplete
Changed in apparmor (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Marc MERLIN (marc-soft) wrote :

Sorry bug this was 4 years ago, back before I gave up on ubuntu.
No idea whether it's needed or not today, I'll let you figure it out.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apparmor (Ubuntu) because there has been no activity for 60 days.]

Changed in apparmor (Ubuntu):
status: Incomplete → Expired
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.