Comment 85 for bug 1157643

Revision history for this message
phillsalt (phillsalt) wrote :

It looks like you are encountering an issue with the procps package during the upgrade process on an Ubuntu 12.04.2 LTS system. The error seems to be related to the sysctl program failing when it can't write to certain keys, resulting in the procps upstart job failing to start.

The proposed solution involves updating the procps package to address the permission errors in the sysctl program. Here's a step-by-step breakdown of the proposed solution:

Set up precise in an lxc container:
Create a container using the precise release of Ubuntu.

Apply updates from the -updates pocket:
Update the system within the container using the -updates repository.

Observe that the procps package fails to install:
Note the failure of the procps package installation.

Enable -proposed:
Enable the -proposed repository to access proposed updates.

Install the procps package from -proposed:
Install the updated procps package from the -proposed repository.

Observe that the package upgrades successfully:
Confirm that the procps package upgrade is successful after applying the proposed updates.

Regression potential:
The patch changes the behavior of the sysctl program, making permission errors non-fatal. There's a note about potential regression for anything relying on the current behavior, especially when sysctl is run by a non-root user. However, it's mentioned that sysctl is not meant to be invoked by non-root users.

In your case, it seems like the issue is related to permission errors on the 'kernel.kptr_restrict' key. The proposed update should address this and allow procps to start successfully.

Before proceeding, make sure to backup important data, and if possible, test the proposed solution in a controlled environment to ensure compatibility with your system configuration.

To apply the proposed solution, you can follow the provided test case steps on your system. If you encounter any issues or have further questions, feel free to ask for assistance. Answer Credit https://checkricepurity.com/