apparmor-utils dependency on librpc-xml-perl is inconvenient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: apparmor
apparmor-utils (2.5.1~
Perl supports loading modules dynamically in function scope, using patterns such as 'require RPC::XML; RPC::XML->import;'. Would it be possible to load RPC::XML and friends only when they're directly needed, and drop librpc-xml-perl to a Suggests? You could even do something like this to make it obvious what people need to do:
eval {
require RPC::XML;
RPC:
require RPC::XML::Client;
RPC:
};
if ($@) {
die "RPC::XML module not available; try 'apt-get install librpc-xml-perl' as root.\n";
}
Changed in apparmor (Ubuntu): | |
status: | New → Triaged |
This should be fixed now in Oneiric, since aa-status was rewritten in python and the packaging adjusted.