Your message dated Sat, 17 Oct 2020 21:39:04 +0000
with message-id <[email protected]>
and subject line Bug#959926: fixed in lxc-templates 3.0.4-4
has caused the Debian Bug report #959926,
regarding lxc-templates: Unprivileged Debian container can also be created by 
mmdebstrap --mode=unshare
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
959926: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=959926
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: lxc-templates
Version: 3.0.4-3
Severity: minor
Tags: patch

Dear Maintainer,

Dear Maintainer,

Running "lxc-create" by a non-root user gives:

$ lxc-create -t debian -n test-container -- -r buster 
This template can't be used for unprivileged containers.
You may want to try the "download" template instead.

This error message is a bit misleading, as we can also create unprivileged 
Debian containers
by mmdebstrap --mode=unshare.

A proposed patch is attached.

Best regards, Ryutaroh Matsumoto


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8), 
LANGUAGE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lxc-templates depends on:
ii  lxc  1:4.0.2-1~1

Versions of packages lxc-templates recommends:
ii  bridge-utils                     1.6-3
pn  busybox-static                   <none>
pn  cloud-image-utils | cloud-utils  <none>
ii  debootstrap                      1.0.123
ii  openssl                          1.1.1g-1
ii  rsync                            3.1.3-8
pn  uuid-runtime                     <none>
ii  xz-utils                         5.2.4-1+b1

lxc-templates suggests no packages.

-- no debconf information
--- /usr/share/lxc/templates/lxc-debian 2020-04-19 18:59:35.000000000 +0900
+++ lxc-debian  2020-05-07 12:57:03.148065038 +0900
@@ -26,6 +26,8 @@
     if [ "$arg" = "--mapped-uid" -o "$arg" = "--mapped-gid" ]; then
         echo "This template can't be used for unprivileged containers." 1>&2
         echo "You may want to try the \"download\" template instead." 1>&2
+        echo "You can also use mmdebstrap --mode=unshare, and an example is 
found at" 1>&2
+        echo 
"https://wiki.debian.org/LXC#Unprivileged_Debian_container_by_mmdebstrap_--mode.3Dunshare";
 1>&2
         exit 1
     fi
 done

--- End Message ---
--- Begin Message ---
Source: lxc-templates
Source-Version: 3.0.4-4
Done: =?utf-8?q?Pierre-Elliott_B=C3=A9cue?= <[email protected]>

We believe that the bug you reported is fixed in the latest version of
lxc-templates, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Pierre-Elliott Bécue <[email protected]> (supplier of updated lxc-templates 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 17 Oct 2020 22:42:34 +0200
Source: lxc-templates
Architecture: source
Version: 3.0.4-4
Distribution: unstable
Urgency: medium
Maintainer: pkg-lxc <[email protected]>
Changed-By: Pierre-Elliott Bécue <[email protected]>
Closes: 959926 970067
Changes:
 lxc-templates (3.0.4-4) unstable; urgency=medium
 .
   * d/patches/0002: Update lxc.debian template to document alternatives to the
     download temmplate (Closes: #959926)
   * d/control:
     - Add mmdebstrap as a recommend
   * d/README.Debian
     - Add some local documentation to the package to help people not using the
     download template
   * d/patches/0003: Handle properly the security repositories for the future
     releases. (Closes: #970067)
   * d/gbp.conf: added default git-buildpackage config
   * Bump debhelper-compat version to 13
Checksums-Sha1:
 81960a2e9d3789e0772993e18abf90e2c0c40e94 2254 lxc-templates_3.0.4-4.dsc
 55598c1e3e7505dfd8444e372ea4da9fb76e7283 7480 
lxc-templates_3.0.4-4.debian.tar.xz
 8727a9916d35429fdb952c00505bd8e8af8d0116 5823 
lxc-templates_3.0.4-4_amd64.buildinfo
Checksums-Sha256:
 39442645bef97f57aed6748336bffd7e4574db07b53c61050b61d3a641bf43b6 2254 
lxc-templates_3.0.4-4.dsc
 d447ce791ccdf0e027a6b94bbc273b344ce74873ac16f4a969d2c10e5dd0199d 7480 
lxc-templates_3.0.4-4.debian.tar.xz
 0ef5dbfc4d8e14a7b5a9fc1d72c5a423421279271f3a739e317dd34391466d9b 5823 
lxc-templates_3.0.4-4_amd64.buildinfo
Files:
 12cbe89046ccb20341891c0cf61ae0c9 2254 admin optional lxc-templates_3.0.4-4.dsc
 230204425b792d31f5cf39bbefa31183 7480 admin optional 
lxc-templates_3.0.4-4.debian.tar.xz
 3e877eb3e882b732fc8416ccac861a48 5823 admin optional 
lxc-templates_3.0.4-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJSBAEBCgA8FiEESYqTBWsFJgT6y8ijKb+g0HkpCsoFAl+LXpoeHHBpZXJyZS1l
bGxpb3R0LmJlY3VlQGlucmlhLmZyAAoJECm/oNB5KQrKBcwQAKiuMJIZyIdW+W0+
/ckIZBo26U4MPlZ2hJgmogMl8fc86WszwFWeBckxEbR5HNkkur57yDXpxMQU8uZQ
r5m+FUT7hI8eoA+xwBx7Mqk2nr1hYS7KxKcsLxcHj1kW9oyiOLVtYGG453H0ZQSq
dOdftmjAETPrtdUVYt/c0hzzaz1tT6wdS6flaPgeK/TAdUUncgAzchQftb64bj6W
wpDy2n6bME2xzX0Oeu5nmhYyjxUuQuWeBpbdykKm9ITNHt8hnpDEVlXEmyUl37Mb
+esR86Fd9C7IpUzS+Rssk33c+JIPwzZUs3smdFzN02e38yqq8AjnxSg4iYCGSu90
CVIIJSjfV6ehfZa9WnK3JzXuU8R9bqqOrA0tArS9Dqk1KBt1dz9PSySG4r3JKtpY
2YbDHiO5uh61MlXRBBM8R5Cg2A4Dv+n0O6xbMfgQz4pDpf7Uo/1TiZRIGmkb8ZLc
VftIrG/qPmdjC3y4aOD2LuLZKsM3UsdWogNFxgHgjc5cuPv1y6raAp7v2SvvgYFZ
woQwkm0bIJdyr0ai6ENINl8KLmwpbnJ8WZ2po93SZOdSVPNgSJFY9adfEUzlodo3
sumHfDq3/HwKk8qxE06xLWfhB/bHE/I01zt7yIA0gVs6c4z5iMZjoGI681413KBT
XgYfR57Wd8dC6WVGvp6sAZ63OKSn
=+aSq
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to