Comment 16 for bug 799858

Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 799858] Re: package qemu-kvm-extras-static 0.12.3+noroms-0ubuntu9.9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Quoting indymaynard (<email address hidden>):
> I added the -e, removed a package, added a package and the error did not
> show. I am tempted to say success on this. I would like to wait until an
> update happens to say for sure, though.

Thanks. Since '-e' is used in maverick and onward, I'm not sure then
whether this should be seen as a bug in procps or not.

Since there are at least two reports of this after qemu upgrades, it
seems likely that a kvm sysctl is to blame. Can you try

# sudo sysctl -p /etc/sysctl.d/30-qemu-kvm-extras-static.conf
# echo $?

and tell us what that says?

> Would you mind explaining this? I see from the man entry that the -e
> means to ignore unknown keys, but I don't understand that in the context
> of kernel runtime parameters. Could you explain that to me, please?

It seems to imply that the entry in
/etc/sysctl.d/30-qemu-kvm-extras-static.conf, which is

vm.mmap_min_addr = 4097

is unknown. On my natty system, I see:

# sysctl mm.mmap_min_addr
error: "mm.mmap_min_addr" is an unknown key
# sysctl vm.mmap_min_addr
vm.mmap_min_addr = 65536

though again this is a natty system.