← Back to team overview

touch-packages team mailing list archive

[Bug 1419554] Re: Can't upgrade procps in LXC 1.1

 

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
sysctl: setting key "fs.protected_hardlinks": Read-only file system
sysctl: setting key "fs.protected_symlinks": Read-only file system
sysctl: setting key "kernel.sysrq": Read-only file system
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
sysctl: setting key "kernel.yama.ptrace_scope": Read-only file system
sysctl: setting key "vm.mmap_min_addr": Read-only file system
fail

root@utopic-procps:/root# dpkg -i *.deb
(Reading database ... 14399 files and directories currently installed.)
Preparing to unpack libprocps3_3.3.9-1ubuntu5.2_amd64.deb ...
Unpacking libprocps3:amd64 (1:3.3.9-1ubuntu5.2) over (1:3.3.9-1ubuntu5.1) ...
Preparing to unpack procps_3.3.9-1ubuntu5.2_amd64.deb ...
procps stop/waiting
Unpacking procps (1:3.3.9-1ubuntu5.2) over (1:3.3.9-1ubuntu5.1) ...
Setting up libprocps3:amd64 (1:3.3.9-1ubuntu5.2) ...
Setting up procps (1:3.3.9-1ubuntu5.2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
procps start/running
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for libc-bin (2.19-10ubuntu2.2) ...

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
sysctl: setting key "fs.protected_hardlinks": Read-only file system
sysctl: setting key "fs.protected_symlinks": Read-only file system
sysctl: setting key "kernel.sysrq": Read-only file system
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
sysctl: setting key "kernel.yama.ptrace_scope": Read-only file system
sysctl: setting key "vm.mmap_min_addr": Read-only file system
root@utopic-procps:/root# 

** Tags added: verification-done-utopic

-- 
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 in Ubuntu:
  Fix Committed
Status in procps source package in Precise:
  Fix Committed
Status in procps source package in Trusty:
  Fix Committed
Status in procps source package in Utopic:
  Fix Committed
Status in procps source package in Vivid:
  Fix Committed

Bug description:
  == SRU ==
  Rationale:
   sysctl now fails with current LXC as files which shouldn't be written to in containers are read-only. A previous fix applied to the EACCESS case as returned by apparmor.

  Text case:
   start procps

  Regression potential:
   All EROFS write failures will now be ignored (an error is still logged) but I can't think of a case where that'd be a bad thing. 

  Original bug report:

  LXC 1.1 on vivid has started giving privileged containers a read-only
  /sys, which prevents Ubuntu's procps Upstart job from starting. This
  isn't normally too problematic, except that the weekend's procps SRU's
  postinst tries to start the job and causes the upgrade to fail.

  Disabling the procps postinst makes apt usable again.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1419554/+subscriptions


References