Dear Maintainer, As reported in https://github.com/ROCm/k8s-device-plugin the version of runc shipped by Bullseye does not include the following commit: https://github.com/opencontainers/runc/commit/81707abd33d2ddebcd8ceeb08dfc01bf86d8badd Packages like Pytorch (ROCm variant) trigger at some point a syscall like access(/dev/dri/renderDXXX, F_OK) to check if the GPU char device exists or not, while initializing the GPU config/settings. In a container runc is responsible to run eBPF checks when a GPU device is attached, to make sure that the permissions set by the admin are respected. Due to a bug if the device settings are 'rw' the eBPF code will return EPERM even if the user running in the container has all the rights to access the device. The patch seems really small and it may save others a long debug time to figure out the root cause of the EPERM error (that in turn causes the Pytorch's GPU init to fail etc..). Would it be possible to backport the patch to the current Bullseye version? As far as I can see it was shipped with 1.0.0~rc94 from upstream, it is very close to the current runc version in Bullseye. Thanks in advance! Luca
I have added the wrong link/gh-issue in the report, this is the correct one :) https://github.com/ROCm/k8s-device-plugin/issues/65
We believe that the bug you reported is fixed in the latest version of runc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1071269@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Reinhard Tartler <siretart@tauware.de> (supplier of updated runc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Sun, 14 Sep 2025 16:31:05 -0400 Source: runc Architecture: source Version: 1.3.0+ds1-1 Distribution: experimental Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Reinhard Tartler <siretart@tauware.de> Closes: 1071269 1076814 Changes: runc (1.3.0+ds1-1) experimental; urgency=medium . * Team upload. * Build against golang-github-cilium-ebpf in experimental * Contains commit 81707abd33d2ddebcd8ceeb08dfc01bf86d8badd, Closes: #1071269 * Contains commit 77cae9addc0c7c9ef52513b4e46b2e6485e4e469, Closes: #1076814 Checksums-Sha1: e8ce13334dc74263bfae9614240c71a1e7732e3f 3303 runc_1.3.0+ds1-1.dsc 0b945f2b1e62e3223215c6f9110c55493acf6675 511472 runc_1.3.0+ds1.orig.tar.xz bd19ba13625df4bdccce415dc7113d85b5cbeb0d 11036 runc_1.3.0+ds1-1.debian.tar.xz Checksums-Sha256: 659ec18eadbf50f6f20fe5a764fa97be956763741f8fe8384ff8a342153982b9 3303 runc_1.3.0+ds1-1.dsc 5e7a7857e87d9328d0467d419b64637cf4dfd7dc8117f087d8011ce881a055c8 511472 runc_1.3.0+ds1.orig.tar.xz c29ea29c070694b01d70bb8e81da108980b5af67ecf1b40286630f3f043acb5c 11036 runc_1.3.0+ds1-1.debian.tar.xz Files: f296beab01196581977e883157a1c385 3303 admin optional runc_1.3.0+ds1-1.dsc 1e99f75064d276aa11cab694284368cb 511472 admin optional runc_1.3.0+ds1.orig.tar.xz ec858a6e2a4e5e3e6cc7f0c0e1739335 11036 admin optional runc_1.3.0+ds1-1.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEMN59F2OrlFLH4IJQSadpd5QoJssFAmjHLakUHHNpcmV0YXJ0 QHRhdXdhcmUuZGUACgkQSadpd5QoJsv+hRAAy1HaB+TnZ+FJ9G+asu09jcXca/9z 8d0io5oouzVrFeTP42CKX9Z55f9DB9T2OQKFn90NfJiFVYG8dNKA0hK0fs16G1Fy SWThaqJpL4LTeMUZTwL+kiaMQRjVjsIQTZ561qJzgSHE4VGW1xwaLL5RUUPQwnsE sQNzFr+iwlZP34NBCcT5wcjZah8oPPmQYE8ZAh9YO3PvuNDmduF9Vryz/Iyj104q oOzsfUitmGKsOPIUBxuetChTTL0751alSMRcE3JnElqGhG4BDOdmsZd7u5FS6+K0 Cr8S6p68h0sV3PXbdZPbOddV4QTaxDyVR4Wbi1UZyvnSaAAJmhtvQdULtrwwMo11 8NAyfnZe4Hs5e+GFJxvsyhcdRXbkRyFoGW8O5E0S5zuqaLPNmgEOmIgeR2vSOJun yIN0OiVO+blLTgXhnk+7WpgwJE9Y5NQuu7lWoiltYv2vas8Wv54rGBbiHDlgHHKJ dLGH6xX1CAepDSQiYTW5sn74R5hkUtK4zLLZz2i5BjDxvIel9MAhmzDBAg8+TJX+ 7HXDkNlSjmCKuWl4x9GBysodNYiQeZdM5XeeEdjeaDXIlsONOUKbF//UbaqrqLQv KLhK9pDRfJOT4AcECKYNGN5Xh6UgM0XSIfAnSt7LQq0+YQ2CUmQQvM8vheXpxHzR gxYBoDTZ+vFWArM= =C5QL -----END PGP SIGNATURE-----
We believe that the bug you reported is fixed in the latest version of runc, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1071269@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Reinhard Tartler <siretart@tauware.de> (supplier of updated runc package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) Format: 1.8 Date: Thu, 18 Sep 2025 06:20:45 -0400 Source: runc Architecture: source Version: 1.3.0+ds1-3 Distribution: unstable Urgency: medium Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org> Changed-By: Reinhard Tartler <siretart@tauware.de> Closes: 1071269 1076814 Changes: runc (1.3.0+ds1-3) unstable; urgency=medium . * Team upload. * Upload to unstable . runc (1.3.0+ds1-2) experimental; urgency=medium . * Team upload. * Fix FTBFS on mips64el * Bump Standards-Version * Reviewed and silenced seveal Lintian warnings * Use Static-Built-Using instead of Built-Using field . runc (1.3.0+ds1-1) experimental; urgency=medium . * Team upload. * Build against golang-github-cilium-ebpf in experimental * Contains commit 81707abd33d2ddebcd8ceeb08dfc01bf86d8badd, Closes: #1071269 * Contains commit 77cae9addc0c7c9ef52513b4e46b2e6485e4e469, Closes: #1076814 Checksums-Sha1: 99863b6d3850633bc5516d315300d6a4cfebb877 3444 runc_1.3.0+ds1-3.dsc 9731e51b81acee4ed059c1e00e35e5b6ee0fb9dd 11288 runc_1.3.0+ds1-3.debian.tar.xz 11b38797fe36bcbd8303357df6824867361a93e4 1316668 runc_1.3.0+ds1-3.git.tar.xz 137a727b787f0d8adfe3f8b597704a48f392a7be 18222 runc_1.3.0+ds1-3_source.buildinfo Checksums-Sha256: 8d200488eb862e38375237e5e9bed787b6c848dd7ffa1337188e5473fbc54728 3444 runc_1.3.0+ds1-3.dsc 6e399053a14080b71872cd8b43125b3c67de6ad53e87d5ff484f04cd95e14171 11288 runc_1.3.0+ds1-3.debian.tar.xz 3984f8586e52810ac151dfb454774b87a5d7ee440bca677bc9ae9c7c26fad06f 1316668 runc_1.3.0+ds1-3.git.tar.xz 422ce1a6840e42254690c96bcdeab47155044d50e20bc0679dc3fd7ac8b4fe4c 18222 runc_1.3.0+ds1-3_source.buildinfo Files: 1fae5327c0faba9e0e6abadb759cf93e 3444 admin optional runc_1.3.0+ds1-3.dsc 027dabbf1fab98152fb48cb2f45054e1 11288 admin optional runc_1.3.0+ds1-3.debian.tar.xz 953ff527eb3d88d8d49d5575d142b7da 1316668 admin optional runc_1.3.0+ds1-3.git.tar.xz 23264bdcc02c519bfb4d0f40ed42f577 18222 admin optional runc_1.3.0+ds1-3_source.buildinfo Git-Tag-Info: tag=f6ab42888d8a47c7944274e30331e383d9a40589 fp=30de7d1763ab9452c7e0825049a76977942826cb Git-Tag-Tagger: Reinhard Tartler <siretart@tauware.de> -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmjL3XoACgkQYG0ITkaD wHmb9RAAzgzZ7cJFZntmTsYFU+kCBBslX5YchQXZHE2v/iSO0ILopoenLxHsGtqq 8hk2xyaELHkSQlNByDy+72RH5ZstXcv8ON5+862dyWA1uGU39Gx4dGSd+IQUMSnC EN5S2FldFFAPqfVr4ASa3wG4eQQ+bAapGqIUHWPZk3ReTjrEdMOJmKK2llHkNWig eguhfowsTodq/DxerWLMK75AT6npH6NJ0Vc7s8YrjuAGsd6/8vCKzucZDBG0wP8U x27FSG+xrWJG1pa00NepTkHr0W7vnbu//YwbbbHisLItw//f22lM9PRcGPJAWKwE R+9VcmsYTbSStNF+MlKzdeDUcEn6bRodQz6lNSATkW/AqOMHb/KoXPUQOF+Pll31 pg1P0jRnyUJ7hoJ/8fQjigq3QZRSMNcY+UQRA+RyNMzwbNSix8ew3+DsoBQJCXeq dvXpt4cNNzRvPMywuioEu2D/V8Z5zvd7CVagIyVs+/K6bmbZPiuNVdfBslC+FScE Yao5fuEzGwRruO0WLX1gH1UFwtMSylVVRTIVcciZSDF1Ooq7t4uQJ4/POEMmwSm0 fg77x2KG2nD/H+snRN7R44FO/ZzStmI9hhGAsYiq5bRHv7QDjtXfmdvDBdxmYKXY zp1E89VUghBhIxzE/NZPZlp9FYyuR/o8zF9f+Y3dw0lQKSZOA9k= =FHXC -----END PGP SIGNATURE-----