apparmor initramfs script broken
Bug #665790 reported by
Marc MERLIN
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/
--- _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=
prereqs () {
Without this, mkinitramfs errors out with:
+++ /tmp/mkinitramf
.: 4: Can't open /scripts/functions
++ prereqs=
Changed in initramfs-tools (Ubuntu): | |
status: | New → Invalid |
Changed in apparmor (Ubuntu): | |
status: | Fix Committed → Incomplete |
Changed in apparmor (Ubuntu): | |
importance: | Undecided → Medium |
To post a comment you must log in.
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.