This was included in the SRU as part of our backporting exception
process tracked in LP: #2085187 due to the usage of the -v flag. This
update should be covered by the exception described in
https://wiki.ubuntu.com/DockerUpdates.

For verification purposes, I followed the procedure described below:

For each series being upgraded:
- Install the current version of the runc binary package available
- verify that `recvtty`, `sd-helper`, and `seccompagent` are all available 
under /usr/bin and /usr/sbin
- Update the runc binary to the one available in the proposed pocket
- verify that `recvtty`, `sd-helper`, and `seccompagent` are no longer 
available under /usr/bin and /usr/sbin

I am marking this as verified.

For completeness, here is the script used to verify this:

```
#!/bin/bash

set -e

function cleanup()
{
  echo "Cleaning up..."
  lxc delete -f ${IMAGE_NAME}
  echo "Done."
}

install_package() {
  echo "Installing ${1} ..."
  lxc exec ${IMAGE_NAME} -- apt-get install -y ${1}
}

purge_package() {
  echo "Removing ${1} ..."
  lxc exec ${IMAGE_NAME} -- apt purge -y ${1}
}

trap cleanup ERR EXIT

SERIES=${SERIES:=jammy}
echo "Verifying for ${SERIES}"

IMAGE_NAME=verify-container-stack-${SERIES}

echo "Launching LXD container ${IMAGE_NAME}..."
lxc launch ubuntu-daily:${SERIES} ${IMAGE_NAME}

echo "Updating ${IMAGE_NAME}..."
lxc exec ${IMAGE_NAME} -- apt-get update > /dev/null 2>&1
lxc exec ${IMAGE_NAME} -- apt-get upgrade -y > /dev/null 2>&1

install_package runc > /dev/null 2>&1

echo '===================================='
lxc exec ${IMAGE_NAME} -- dpkg-query -W runc
echo 'MATCHES (expect 6):'
lxc exec ${IMAGE_NAME} -- dpkg -L runc | grep -E 
'recvtty|seccompagent|sd-helper' | wc -l
echo '===================================='

cat <<EOF > ./ubuntu-${SERIES}-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ ${SERIES}-proposed restricted main 
multiverse universe
EOF

lxc file push ./ubuntu-${SERIES}-proposed.list
${IMAGE_NAME}/etc/apt/sources.list.d/ubuntu-${SERIES}-proposed.list

rm ./ubuntu-${SERIES}-proposed.list

lxc exec ${IMAGE_NAME} -- apt-get update > /dev/null 2>&1
install_package "runc/${SERIES}-proposed" > /dev/null 2>&1

echo '===================================='
lxc exec ${IMAGE_NAME} -- dpkg-query -W runc
echo 'MATCHES (expect 0):'
lxc exec ${IMAGE_NAME} -- dpkg -L runc | grep -E 
'recvtty|seccompagent|sd-helper' | wc -l
echo '===================================='
```

** Tags removed: verification-needed verification-needed-jammy 
verification-needed-noble verification-needed-oracular
** Tags added: verification-done verification-done-jammy 
verification-done-noble verification-done-oracular

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076981

Title:
  runc: remove `recvtty`, `sd-helper`, and `seccompagent`

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to