Bug#991629: marked as done (cloud.debian.org: Bullseye AWS AMI: cloud-init creates duplicate #includedir in /etc/sudoers)

2021-09-08 Thread Debian Bug Tracking System
Your message dated Wed, 08 Sep 2021 22:02:07 +
with message-id 
and subject line Bug#991629: fixed in cloud-init 20.4.1-2+deb11u1
has caused the Debian Bug report #991629,
regarding cloud.debian.org: Bullseye AWS AMI: cloud-init creates duplicate 
#includedir in /etc/sudoers
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 ow...@bugs.debian.org
immediately.)


-- 
991629: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991629
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cloud.debian.org
Severity: important

Dear Maintainer,

I built a couple of instances using the bullseye test image
(debian-11-amd64-daily-20210728-717, or ami-0311ee36441c551b3 in
eu-west-2). In the sudoers file there is a duplicate includedir
statement; at the end of the file you will find the following contents:

"""
# See sudoers(5) for more information on "@include" directives:

@includedir /etc/sudoers.d

# Added by cloud-init v. 20.4.1 on Wed, 28 Jul 2021 20:40:05 +
#includedir /etc/sudoers.d
"""

If the sudoers.d directory is empty or only contains simple User_Spec
entries then there is no issue with this, but with aliases and similar
things which cannot be duplicated you end up with syntax errors when
calling sudo, for example:

example : Jul 29 08:38:09 : test : parse error in /etc/sudoers.d/example near 
line 9 ; PWD=/ ; USER=root ;

Effectively, cloud-init should NOT install this additional line into the
sudoers file as it already ships with an equivalent line.
--- End Message ---
--- Begin Message ---
Source: cloud-init
Source-Version: 20.4.1-2+deb11u1
Done: Ross Vandegrift 

We believe that the bug you reported is fixed in the latest version of
cloud-init, 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 991...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Ross Vandegrift  (supplier of updated cloud-init 
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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 12 Aug 2021 18:47:26 -0600
Source: cloud-init
Architecture: source
Version: 20.4.1-2+deb11u1
Distribution: bullseye
Urgency: high
Maintainer: Debian Cloud Team 
Changed-By: Ross Vandegrift 
Closes: 991629
Changes:
 cloud-init (20.4.1-2+deb11u1) bullseye; urgency=high
 .
   * Team upload.
   * cherry-pick upstream fix for duplicate includes in /etc/sudoers
 (Closes: #991629)
Checksums-Sha1:
 eade1917c4fa5626726fc492012c9ffc4391ab6b 2445 cloud-init_20.4.1-2+deb11u1.dsc
 b293d766807274fcc2584c5ff1eba11ffb6678c6 29384 
cloud-init_20.4.1-2+deb11u1.debian.tar.xz
 50e4dada0aa2bb373fb2ef6266b69276c24157c8 6544 
cloud-init_20.4.1-2+deb11u1_source.buildinfo
Checksums-Sha256:
 d025f1173f9738919daee191700f369c494da2ef0433778596ac0c269432f77d 2445 
cloud-init_20.4.1-2+deb11u1.dsc
 2131e6a4480c5310e9a404a3e7caaca5bc74b922b2083857dac1f97adfe4838e 29384 
cloud-init_20.4.1-2+deb11u1.debian.tar.xz
 dd9fcaf48aed7b5b2d374625ec4e08ba3a38ce6dd834f2bc4bbfe3f039729588 6544 
cloud-init_20.4.1-2+deb11u1_source.buildinfo
Files:
 fd2904fafba9d976c0944bf33e15feb1 2445 admin optional 
cloud-init_20.4.1-2+deb11u1.dsc
 6e68b30564d4312d00e32b03362853f9 29384 admin optional 
cloud-init_20.4.1-2+deb11u1.debian.tar.xz
 b3fd87564ecd74c1a5e1c8a1f4945680 6544 admin optional 
cloud-init_20.4.1-2+deb11u1_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJFBAEBCgAvFiEE65xaF5r2LDCTz+zyV68+Bn2yWDMFAmE5IPoRHG5vYWhtQGRl
Ymlhbi5vcmcACgkQV68+Bn2yWDPd/hAAlAkNrVuyiv8ncegDQaYtoKozalsZdDsB
X/AIVpFZdGatJEnhdtauMxmARL9xH1j3s7uVB7NxPSuL8zqhG/O1SXVp0m703bnU
wyCYd5ke6MUK4jpfwlF+G6h+jEDWN/0rDRqqPfEUWb9jZQR977BfxiNJROg113O7
u0crFtOrnvD7zoWxZETvElMVKQpomGk6Xg+aNul+uzCKXfhkSLh40aw4xzJa0Rjc
9kCGYliSTAUud8M8pGDOU45b55BDisrvt5oqrzZm4pxjK7rqJ7xQr7M1qKDfKKCX
JCgKsceZhfm+kH8mczHgTcOwfFmBUVMRveCPrkIrKhsUyTLJ5W486FBXK8QWK0e6
3Yb1zbpnGrIIvUMsjCufFs+81ojdHUNRHSqzyP0VlNFd0QkSnSA8s8YFxYRIKwfL
weuGwp3aurQHimvvNgDGZo7TCa3SzqFfnqWtoFuMPF1/3vJ7qpHcl308Eqc5J+4R
39aREKE9WW0Rp1dt0MHhrwqgL3E2L5T+e2oXWnnQKHjmsqySwmidKnzzzacldFwV
9M0h3UHIG8dzYpQMP8u5C4xkW3MuCUWkgWwfhLw2IZtZk1KYSWtO3E828mIdP3FD
HKJNO9SsItWGhL1dVzC7qz7vrp6t6JkihORsvCUSuRk7B2WuUnsm65F3ExbZpTcQ
IRUVKJBu4/A=
=LVaz
-END PGP SIGNATURE End Message ---


Bug#991629: marked as done (cloud.debian.org: Bullseye AWS AMI: cloud-init creates duplicate #includedir in /etc/sudoers)

2021-08-12 Thread Debian Bug Tracking System
Your message dated Thu, 12 Aug 2021 16:48:30 +
with message-id 
and subject line Bug#991629: fixed in cloud-init 21.2-1
has caused the Debian Bug report #991629,
regarding cloud.debian.org: Bullseye AWS AMI: cloud-init creates duplicate 
#includedir in /etc/sudoers
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 ow...@bugs.debian.org
immediately.)


-- 
991629: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991629
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cloud.debian.org
Severity: important

Dear Maintainer,

I built a couple of instances using the bullseye test image
(debian-11-amd64-daily-20210728-717, or ami-0311ee36441c551b3 in
eu-west-2). In the sudoers file there is a duplicate includedir
statement; at the end of the file you will find the following contents:

"""
# See sudoers(5) for more information on "@include" directives:

@includedir /etc/sudoers.d

# Added by cloud-init v. 20.4.1 on Wed, 28 Jul 2021 20:40:05 +
#includedir /etc/sudoers.d
"""

If the sudoers.d directory is empty or only contains simple User_Spec
entries then there is no issue with this, but with aliases and similar
things which cannot be duplicated you end up with syntax errors when
calling sudo, for example:

example : Jul 29 08:38:09 : test : parse error in /etc/sudoers.d/example near 
line 9 ; PWD=/ ; USER=root ;

Effectively, cloud-init should NOT install this additional line into the
sudoers file as it already ships with an equivalent line.
--- End Message ---
--- Begin Message ---
Source: cloud-init
Source-Version: 21.2-1
Done: Noah Meyerhans 

We believe that the bug you reported is fixed in the latest version of
cloud-init, 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 991...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Noah Meyerhans  (supplier of updated cloud-init 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 ftpmas...@ftp-master.debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Format: 1.8
Date: Thu, 12 Aug 2021 09:16:27 -0700
Source: cloud-init
Architecture: source
Version: 21.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Cloud Team 
Changed-By: Noah Meyerhans 
Closes: 991629
Changes:
 cloud-init (21.2-1) unstable; urgency=medium
 .
   * New upstream version 21.2 (Closes: #991629)
Checksums-Sha1:
 adc67f6ab8730c805c38f370fe1b807ff36c480d 2399 cloud-init_21.2-1.dsc
 1023e9149a109d7709fb94d551489aaa642fa0b3 1278878 cloud-init_21.2.orig.tar.gz
 d44737fcf376e46e4eb7f1ba18de503557a784ca 25000 cloud-init_21.2-1.debian.tar.xz
 5586b0f0b6c1b465c967955fd35f1e6fe5eb989d 6452 
cloud-init_21.2-1_source.buildinfo
Checksums-Sha256:
 4311388e4d1417609d5867129c27359b7125fdb0e151b4fffc719ec143b019b9 2399 
cloud-init_21.2-1.dsc
 b40862791eed9644fe735c886a7b4ed78ea4f298def295d82ac45c01278980c7 1278878 
cloud-init_21.2.orig.tar.gz
 d770023c391a8aded39ff4800b1b88d1babbe44df0c2872c931801d5a49d88f7 25000 
cloud-init_21.2-1.debian.tar.xz
 1c16aee065fcb6ebb0005c4fddfd6797f6a9666fde4054532fed295226f99397 6452 
cloud-init_21.2-1_source.buildinfo
Files:
 8da1c0bff0912401132ea249ba17681c 2399 admin optional cloud-init_21.2-1.dsc
 369278c57041da6dd9ce1e99577f809b 1278878 admin optional 
cloud-init_21.2.orig.tar.gz
 68b5d3952e36750db4a57b83624b4e60 25000 admin optional 
cloud-init_21.2-1.debian.tar.xz
 30485404f3e0d8935956ecfd226f0037 6452 admin optional 
cloud-init_21.2-1_source.buildinfo

-BEGIN PGP SIGNATURE-

iQJFBAEBCgAvFiEE65xaF5r2LDCTz+zyV68+Bn2yWDMFAmEVTT0RHG5vYWhtQGRl
Ymlhbi5vcmcACgkQV68+Bn2yWDOLOg/+JwAARi18pXIHZCGeTYxch5qXyk/D3ek/
RVEHNSjAuaqLoLuLPMNVMAzeDGclIESNWLU8SQ5aAA8f+VKEl5mXTJVjzvlFNFI+
ebv4PiaUif1u9e7wqGK7uGfcRzN0aBjvKLL1afNmgcFgg5nB0dvthxQuTQlnBFbI
1GPqL0AG1WVa6aASASSOK9b6NPwsRBmiRE4opxLFrTj9N3diN+Ox/d2LhYvc2LXT
NRxqk+FPbizhWOzX7dlDgi4P3XNvtw493TtbuBVh9PH/6m7CPAuEyjOQ/bL0ElAf
uAf80yLw/VZ8d8RZPWJRxDwft0jOAzxr3zDLPn8G3jjN6IU+bpkB8LqKvp2D11ow
Rvi86dH3UmyWmwZ00mdoI012F6PGeJ6WitmzB00vKjgDJEZmfu+XzPZsxXh8jL9j
DY/2dY68u9ev9kPlGJ3Fu99cXOVmjDjff+CX6tlGP4sGhT3UxjB1gH2KaadI4Kd4
6yzPiI8j7lwb6kqN2zWzGvQILEpsUWzkDD4haZGKtlE9O0UgdleCVzTnNDKsRSsW
zKZk5Qk+yAQwJrukeNn4AJSaCEWaRExfJuj4WoV63ZJS3SWnKvo5dz2X6jYw0fmf
VUEJ9WXiXZ+oCCU1D9mEonpgN4er4nw1D26cM+QMAvq31XIKqI92i4zMPXUyPL/o
EOjXwRElKqc=
=iDB0