modify dependencies to allow installing the apparmor package on ubuntuBSD

Bug #1600524 reported by Jon Boden on 2016-07-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Undecided
Unassigned

Bug Description

Hi

Please could you make this change to allow installing apparmor on ubuntuBSD? (initramfs-tools is only installable on Linux)

Jon Boden (jon-8) wrote :

The attachment "apparmor.diff" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

Seth Arnold (seth-arnold) wrote :

Can you describe what problems this patch solves?

AppArmor currently requires a Linux kernel; while there's been speculation that it would be possible to port the AppArmor framework to a BSD or Illumos kernel no one has actually done the work yet.

Thanks

Jon Boden (jon-8) wrote :

Hi Seth

I'm confused then. Why is the Architecture field in debian/control set to any?

And why debian/patches/non-linux.patch, debian/non-linux/apparmor_parser?

> I'm confused then. Why is the Architecture field in debian/control set to any?

> And why debian/patches/non-linux.patch, debian/non- linux/apparmor_parser?

I find it marginally useful to build on Debian/kFreeBSD: this can sometimes help discover real bugs that affect Linux but would not be immediately visible there. But if this ever becomes too tedious, I won't bother and will drop the non-Linux targets.

Well then could you apply the patch to make apparmor installable? If it's built on bsd architectures, then other packages use it in Build-Depends. It helps if it's installable then :-)

> Well then could you apply the patch to make apparmor installable?

The dependency on any kind of initramfs-tools has been dropped in Debian a while ago (2.9.0-3+exp1), because AFAIK it was needed only for the early modules loading code, that was removed a while ago. For some undocumented reason, last time Ubuntu merged Debian's packaging (2.10-3ubuntu1), these deps were kept in Ubuntu, so I'm afraid there's nothing I can personally do about it. Sorry!

I think there's some confusion. I'm only asking to mark it [linux-any] so that ubuntuBSD can install the package. This change has no effect on Linux!

-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libapparmor-perl, lsb-base, debconf, initramfs-tools | linux-initramfs-tool [linux-any]
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, libapparmor-perl, lsb-base, debconf, initramfs-tools [linux-any] | linux-initramfs-tool [linux-any]

summary: - ubuntuBSD support
+ modify dependencies to allow installing the apparmor package on
+ ubuntuBSD
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers