The following shell script seems to allow the installatoin to continue:
sudo dpkg-divert --add --rename --local --divert /sbin/sysctl.real /sbin/sysctl
cat 'EOF' | sudo tee /sbin/sysctl
#!/bin/bash
/sbin/sysctl.real $@
echo Warning: /sbin/sysctl exit code is being suppressed in this container
I'm getting exactly the same error scenario in a different environment.
I've had a setup working for months with:
- Ubuntu Trusty LTS host
- Ubuntu Trusty LTS guest
- Libvirt from Trusty
- LXC from Trusty (--connect lxc://)
I use debootstrap and chroot to prepare the base filesystem then
We have existing code in procps to ignore EACCES but not for EROFS, I'll
be pushing updates to all series to sort that out.
** Package changed: lxc (Ubuntu) = procps (Ubuntu)
** Also affects: procps (Ubuntu Trusty)
Importance: Undecided
Status: New
** Also affects: procps (Ubuntu
Uploaded the fix to all series (after testing the fix on vivid).
Note that the problem is mostly visible on series which don't have
procps-instance.conf as those that do will not fail on upgrade (but
sysctl itself still fails).
To test the fix, it's best to run:
cat /etc/sysctl.d/*.conf
Note that I have a copy of those SRUs already in
ppa:stgraber/experimental if that's useful to someone.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1419554
Title:
Can't
Change sent upstream:
https://gitorious.org/procps/procps/merge_requests/37
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1419554
Title:
Can't upgrade procps in LXC 1.1
root@precise-procps:/root# cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl
-e -p - || echo fail
error: Read-only file system setting key kernel.printk
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
error: Read-only file system setting key kernel.kptr_restrict
root@trusty-procps:/root# cat /etc/sysctl.d/*.conf /etc/sysctl.conf | sysctl -e
-p - || echo fail
sysctl: setting key kernel.printk: Read-only file system
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
sysctl: setting key kernel.kptr_restrict: Read-only file system
root@utopic-procps:/root# cat /etc/sysctl.d/*.conf /etc/sysctl.conf |
sysctl -e -p - || echo fail
sysctl: setting key kernel.printk: Read-only file system
net.ipv6.conf.all.use_tempaddr = 2
net.ipv6.conf.default.use_tempaddr = 2
sysctl: setting key kernel.kptr_restrict: Read-only file system
Hello William, or anyone else affected,
Accepted procps into precise-proposed. The package will build now and be
available at
http://launchpad.net/ubuntu/+source/procps/1:3.2.8-11ubuntu6.4 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
** Branch linked: lp:ubuntu/trusty-proposed/procps
** Branch linked: lp:ubuntu/precise-proposed/procps
** Branch linked: lp:ubuntu/utopic-proposed/procps
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
** Branch linked: lp:ubuntu/vivid-proposed/procps
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to procps in Ubuntu.
https://bugs.launchpad.net/bugs/1419554
Title:
Can't upgrade procps in LXC 1.1
Status in procps package
This bug was fixed in the package procps - 1:3.3.9-1ubuntu8
---
procps (1:3.3.9-1ubuntu8) vivid; urgency=medium
* ignore_erofs.patch: Same as ignore_eaccess but for the case where
part of /proc is read/only. (LP: #1419554)
-- Stephane Graber stgra...@ubuntu.com Tue, 10 Feb
This bug was fixed in the package procps - 1:3.3.9-1ubuntu2.2
---
procps (1:3.3.9-1ubuntu2.2) trusty; urgency=medium
* ignore_erofs.patch: Same as ignore_eaccess but for the case where
part of /proc is read/only. (LP: #1419554)
-- Stephane Graber stgra...@ubuntu.com Tue, 10
This bug was fixed in the package procps - 1:3.3.9-1ubuntu5.2
---
procps (1:3.3.9-1ubuntu5.2) utopic; urgency=medium
* ignore_erofs.patch: Same as ignore_eaccess but for the case where
part of /proc is read/only. (LP: #1419554)
-- Stephane Graber stgra...@ubuntu.com Tue, 10
This bug was fixed in the package procps - 1:3.2.8-11ubuntu6.4
---
procps (1:3.2.8-11ubuntu6.4) precise; urgency=medium
* ignore_erofs.patch: Same as ignore_eaccess but for the case where
part of /proc is read/only. (LP: #1419554)
-- Stephane Graber stgra...@ubuntu.com Tue,
I have an upstream fix for /proc/sys/net/* which should be writable in
the container (tied to netns), the others still look to me as knobs that
shouldn't be writable in a container and so having the procps return
value be ignored in containers would seem like a reasonable fix to me.
--
You
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: lxc (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
Perhaps procps should guard the postinst start with a container check?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1419554
Title:
Can't upgrade procps in LXC 1.1
Status
19 matches
Mail list logo