[Bug 1157643] Re: procps fail to start
BroZ69
xbroz69 at 1xy.biz
Sun Nov 3 17:55:02 UTC 2013
Hi,
I had (before update) Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-41-generic
x86_64). I did
sudo apt-get update
sudo apt-get dist-upgrade
The system proposed some updates and one of them was also procps
Get:32 http://nl.archive.ubuntu.com/ubuntu/ precise-updates/main procps
amd64 1:3.2.8-11ubuntu6.2 [235 kB]
At the end of the procedure the machine returned
Setting up procps (1:3.2.8-11ubuntu6.2) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of udev:
udev depends on procps; however:
Package procps is not configured yet.
dpkg: error processing udev (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of mdadm:
mdadm depends on udev (>= 136-1); however:
Package udev is not configured yet.
dpkg: error processing mdadm (--configure):
dependency problems - leaving unconfigured
Setting up bash-completion (1:1.3-1ubuntu8.1) ...
No apport report written because the error message indicates it's a follow-up error from a previous failure.
No apport report written because the error message indicates it's a follow-up error from a previous failure.
Installing new version of config file /etc/bash_completion.d/tar ...
Setting up samba-common-bin (2:3.6.3-2ubuntu2.8) ...
dpkg: dependency problems prevent configuration of samba:
samba depends on procps; however:
Package procps is not configured yet.
dpkg: error processing samba (--configure):
dependency problems - leaving unconfigured
Setting up smbclient (2:3.6.3-2ubuntu2.8) ...
No apport report written because MaxReports has already been reached
Setting up libpam-smbpass (2:3.6.3-2ubuntu2.8) ...
Setting up rsyslog (5.8.6-1ubuntu8.5) ...
Skipping profile in /etc/apparmor.d/disable: usr.sbin.rsyslogd
rsyslog stop/waiting
rsyslog start/running, process 9224
Setting up libplymouth2 (0.8.2-2ubuntu31.1) ...
dpkg: dependency problems prevent configuration of plymouth:
plymouth depends on udev (>= 166-0ubuntu4); however:
Package udev is not configured yet.
dpkg: error processing plymouth (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
Setting up apt-transport-https (0.8.16~exp12ubuntu10.15) ...
dpkg: dependency problems prevent configuration of plymouth-theme-ubuntu-text:
plymouth-theme-ubuntu-text depends on plymouth; however:
Package plymouth is not configured yet.
dpkg: error processing plymouth-theme-ubuntu-text (--configure):
dependency problems - leaving unconfigured
Setting up apt-xapian-index (0.44ubuntu5.1) ...
No apport report written because MaxReports has already been reached
Setting up binutils (2.22-6ubuntu1.1) ...
done
dpkg: dependency problems prevent configuration of iscsitarget:
iscsitarget depends on procps; however:
Package procps is not configured yet.
dpkg: error processing iscsitarget (--configure):
dependency problems - leaving unconfigured
Setting up iscsitarget-dkms (1.4.20.2-5ubuntu3.3) ...
No apport report written because MaxReports has already been reached
Creating symlink /var/lib/dkms/iscsitarget/1.4.20.2/source ->
/usr/src/iscsitarget-1.4.20.2
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
applying patch compat-3.6.patch...patching file kernel/event.c
Hunk #1 succeeded at 26 (offset -1 lines).
Hunk #2 succeeded at 77 (offset -1 lines).
applying patch compat-3.5.patch...patching file kernel/event.c
Hunk #1 succeeded at 68 (offset -1 lines).
applying patch compat-3.2-3.4.patch...patching file kernel/wthread.c
applying patch compat-2.6.39-3.2.patch...patching file kernel/wthread.c
Building module:
cleaning build area....
make KERNELRELEASE=3.2.0-41-generic -C /lib/modules/3.2.0-41-generic/build M=/var/lib/dkms/iscsitarget/1.4.20.2/build......
cleaning build area....
DKMS: build completed.
iscsi_trgt:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/3.2.0-41-generic/updates/dkms/
depmod.....
DKMS: install completed.
dpkg: dependency problems prevent configuration of initramfs-tools:
initramfs-tools depends on udev (>= 147~-5); however:
Package udev is not configured yet.
dpkg: error processing initramfs-tools (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apparmor:
apparmor depends on initramfs-tools; however:
Package initramfs-tools is not configured yet.
dpkg: error processing apparmor (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-3.2.0-55-generic:
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
linux-image-3.2.0-55-generic depends on initramfs-tools (>= 0.36ubuntu6); however:
Package initramfs-tools is not configured yet.
dpkg: error processing linux-image-3.2.0-55-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-3.2.0-55-generic; however:
Package linux-image-3.2.0-55-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 3.2.0.55.65); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports has already been reached
No apport report written because MaxReports has already been reached
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
procps
udev
mdadm
samba
plymouth
plymouth-theme-ubuntu-text
iscsitarget
initramfs-tools
apparmor
linux-image-3.2.0-55-generic
linux-image-generic
linux-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I look at /var/log/upstart/procps.log I see this error
error: "Invalid argument" setting key "net.ipv4.tcp_mem"
This is a consequence of a file /etc/sysctl.d/30-iscsitarget.conf which
has a line
net.ipv4.tcp_mem=1048576
I changed it to
net.ipv4.tcp_mem=1048576 127649 191472
like #54 and #55 suggested.
Then I ran
sudo apt-get -f install
and everything finished OK. So the whole thing seems like a broken iscsitarget configuration file? This is critical because it seems that without procps the update process cannot finish and we're stuck with non functional machines. After the update I have
#lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Greetings
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1157643
Title:
procps fail to start
Status in “procps” package in Ubuntu:
Fix Released
Status in “procps” source package in Precise:
Fix Released
Status in “procps” source package in Quantal:
Fix Released
Status in “procps” source package in Raring:
Fix Released
Status in “procps” source package in Saucy:
Fix Released
Status in “procps” source package in Trusty:
Fix Released
Bug description:
[SRU justification]
In a container, the procps package fails to upgrade because sysctl will fail when it can't write to certain keys. Since the procps has just been SRUed, this means anyone running Ubuntu in a container (12.04 or later) will have upgrade failures because of the procps upstart job failing to start.
[Test case]
1. Set up precise in an lxc container.
2. Apply updates from the -updates pocket.
3. Observe that the procps package fails to install.
4. Enable -proposed.
5. Install the procps package from -proposed.
6. Observe that the package upgrades successfully.
[Regression potential]
This patch changes the behavior of the sysctl program and causes permission errors to be non-fatal. Anything relying on the current behavior (e.g., when sysctl is run by a non-root user) will regress as a result of this change, but it's not obvious why anything would rely on this since sysctl is not meant to be invoked by non-root users.
root at xxxxx:~# lsb_release -rd
Description: Ubuntu 12.04.2 LTS
Release: 12.04
root at xxxxxxx:~# apt-cache policy procps
procps:
Installed: 1:3.2.8-11ubuntu6
Candidate: 1:3.2.8-11ubuntu6
Version table:
*** 1:3.2.8-11ubuntu6 0
500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
I have a VPS that i upgraded from Ubuntu 10.10 to 11.10 and then to 12.04.2 LTS.
But something is wrong and now i can't upgrade procps. I get the following output,
root at xxxxxx:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]?
Setting up procps (1:3.2.8-11ubuntu6) ...
start: Job failed to start
invoke-rc.d: initscript procps, action "start" failed.
dpkg: error processing procps (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
procps
E: Sub-process /usr/bin/dpkg returned an error code (1)
the /var/log/upstart/procps.log says,
kernel.printk = 4 4 1 7
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
error: permission denied on key 'kernel.kptr_restrict'
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.tcp_syncookies = 1
vm.mmap_min_addr = 65536
And the output when i try to start procps is just the following,
root at xxxxx:~# service procps start
start: Job failed to start
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1157643/+subscriptions
More information about the foundations-bugs
mailing list