Your message dated Sat, 29 Aug 2015 19:34:30 +0000 with message-id <[email protected]> and subject line Bug#782494: fixed in puppet 3.8.2-1 has caused the Debian Bug report #782494, regarding puppet: Non-ASCII user realnames cause encoding errors when running with a UTF-8 locale 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.) -- 782494: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=782494 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: puppet Version: 3.7.2-4 Severity: important Hi, When testing my puppet infrastructure with Debian jessie puppet 3.7 and a UTF-8 locale, I noticed a regression vs debian wheezy concerning users with non-ASCII realnames. $ locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" ... $ puppet -V 3.7.2 $ ruby --version ruby 2.1.5p273 (2014-11-13) [x86_64-linux-gnu] Adding a new user, or changing a pure-ASCII comment to a non-ASCII comment, works fine: $ getent passwd terom terom:x:1001:100:Tero:/home/terom:/bin/bash $ sudo LANG=C.UTF-8 puppet resource user terom ensure=present comment=Tëro Notice: /User[terom]/comment: comment changed 'Tero' to 'Tëro' user { 'terom': ensure => 'present', comment => 'Tëro', } However, user resources with non-ASCII real names in the /etc/passwd comment field trigger encoding-related errors and fail to apply: $ sudo LANG=C.UTF-8 puppet resource user terom ensure=present comment=Tëro Error: Could not convert change 'comment' to string: incompatible character encodings: UTF-8 and ASCII-8BIT Error: Could not convert change 'comment' to string: incompatible character encodings: UTF-8 and ASCII-8BIT Error: /User[terom]: Could not evaluate: Puppet::Util::Log requires a message user { 'terom': ensure => 'present', comment => 'Tëro', } The bug seems closely related to the upstream bug #22703, which should have been fixed in Puppet 3.4? https://projects.puppetlabs.com/issues/22703 The workaround is to use a non-UTF-8 locale. $ sudo LANG=C puppet resource user terom ensure=present comment=Tëro user { 'terom': ensure => 'present', comment => 'Tëro', } This also happens with the upstream puppet 3.7.5 on Debian jessie: $ dpkg -l puppet Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================-=====================-=====================-======================================================================== ii puppet 3.7.5-1puppetlabs1 all Centralized configuration management - agent startup and compatibility s $ puppet --version 3.7.5 $ sudo LANG=C.UTF-8 puppet resource user terom ensure=present comment=Tëro Error: Could not convert change 'comment' to string: incompatible character encodings: UTF-8 and ASCII-8BIT Error: Could not convert change 'comment' to string: incompatible character encodings: UTF-8 and ASCII-8BIT Error: /User[terom]: Could not evaluate: Puppet::Util::Log requires a message user { 'terom': ensure => 'present', comment => 'Tëro', } However, the upstream 3.7.5 on debian wheezy works fine: $ dpkg -l puppet ruby Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=================================-=====================-=====================-======================================================================== ii puppet 3.7.5-1puppetlabs1 all Centralized configuration management - agent startup and compatibility s ii ruby 1:1.9.3 all Interpreter of object-oriented scripting language Ruby (default version) $ getent passwd terom terom:x:1001:100:Tëro:/home/terom:/bin/bash $ sudo LANG=C.UTF-8 puppet resource user terom ensure=present comment=Tëro user { 'terom': ensure => 'present', comment => 'Tëro', } -- Tero Marttila -- System Information: Debian Release: 8.0 APT prefers testing-updates APT policy: (500, 'testing-updates'), (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages puppet depends on: ii init-system-helpers 1.22 ii puppet-common 3.7.2-4 ii ruby 1:2.1.5 ii ruby2.1 [ruby-interpreter] 2.1.5-2 puppet recommends no packages. Versions of packages puppet suggests: pn etckeeper <none> pn puppet-el <none> pn vim-puppet <none> -- Configuration Files: /etc/default/puppet e3a89dd703e6b796ef7889ba75af2df7 [Errno 2] No such file or directory: u'/etc/default/puppet e3a89dd703e6b796ef7889ba75af2df7' /etc/logrotate.d/puppet 037c34a239a8895833388ccfce278adc [Errno 2] No such file or directory: u'/etc/logrotate.d/puppet 037c34a239a8895833388ccfce278adc' -- no debconf information
--- End Message ---
--- Begin Message ---Source: puppet Source-Version: 3.8.2-1 We believe that the bug you reported is fixed in the latest version of puppet, 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. Stig Sandbeck Mathisen <[email protected]> (supplier of updated puppet 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, 29 Aug 2015 21:14:23 +0200 Source: puppet Binary: puppet-common puppet puppetmaster-common puppetmaster puppetmaster-passenger vim-puppet puppet-el puppet-testsuite Architecture: source all Version: 3.8.2-1 Distribution: unstable Urgency: medium Maintainer: Puppet Package Maintainers <[email protected]> Changed-By: Stig Sandbeck Mathisen <[email protected]> Description: puppet - configuration management system, agent puppet-common - configuration management system puppet-el - syntax highlighting for puppet manifests in emacs puppet-testsuite - configuration management system, development test suite puppetmaster - configuration management system, master service puppetmaster-common - configuration management system, master common files puppetmaster-passenger - configuration management system, scalable master service vim-puppet - syntax highlighting for puppet manifests in vim Closes: 780847 782494 Changes: puppet (3.8.2-1) unstable; urgency=medium . * Imported upstream release 3.8.1 * Imported upstream release 3.8.2 * [188e76d] refresh patches with gbp pq * [c772e65] Fix puppetmaster logrotate bug (Closes: #780847) * [f116751] Import patch to fix non-ASCII user comment (Closes: #782494) Checksums-Sha1: 90d4392c0d3c974e932271c866d9313c0cb65a00 2545 puppet_3.8.2-1.dsc 71133fc7b37e09976fb739644d1bfdc147831bab 2637591 puppet_3.8.2.orig.tar.gz 6928491d95668ed786038c2bc3b3d2d406f5d007 43608 puppet_3.8.2-1.debian.tar.xz 3482cda82a373da4990403dc693e93b6a361fcda 1023208 puppet-common_3.8.2-1_all.deb 45e6fe6945095637e307c46d6bfe52150b03086c 27568 puppet-el_3.8.2-1_all.deb 04a2af31ceb5e2d12f958a0528911c1550f4c779 815032 puppet-testsuite_3.8.2-1_all.deb 54935aa7cdda076e74071402d7e003b32ac3f20c 25640 puppet_3.8.2-1_all.deb 32d13e47860d08e5770bfb6e930f829dd90c479d 26204 puppetmaster-common_3.8.2-1_all.deb 6b5cb9121bcdf6aa498fad699d82d8def3987478 25662 puppetmaster-passenger_3.8.2-1_all.deb 8c8073aa9e0781bee0bfe1b2d1aafa7cbd967e65 25070 puppetmaster_3.8.2-1_all.deb fac4e46dcde63afc07e98329169a53fc6826ab4e 26098 vim-puppet_3.8.2-1_all.deb Checksums-Sha256: 7c688b5899d445710f16bb7875f39f05bc136bd3b7bee93cefe2de7746e03243 2545 puppet_3.8.2-1.dsc 5a89c623f22fc96a2919801ff874b10f8f1a66e95c09976c73b257b8bbc39986 2637591 puppet_3.8.2.orig.tar.gz 91c50d4d854f4df589e38faf4ef595a255e8244b3f67f9c353d1a3a2e2810970 43608 puppet_3.8.2-1.debian.tar.xz c78aa99eb7bfac24485ec92d50461ded8a0d718b268b031ec2fc67a20a0101db 1023208 puppet-common_3.8.2-1_all.deb ab5069f975f7b3bc6efea9029933ace68e8c4e7a80239aa4b6a45fba25093fff 27568 puppet-el_3.8.2-1_all.deb e9c23c92928e5c91ec25777a72294f11808f6f8f6e4c8f19397e3422b4afb019 815032 puppet-testsuite_3.8.2-1_all.deb c3e4786f38c8ed9ba359f16c3f5babc2aec9ce672b56d0241af7e91a01f6efe8 25640 puppet_3.8.2-1_all.deb e02b44ee6a1cc787833245f6784be4d525871a5fb029446df4a449108f7cf9df 26204 puppetmaster-common_3.8.2-1_all.deb 4fc908612ab980dce3d6a02463e13d7484ad8399aadda9a212580c0e75b297b0 25662 puppetmaster-passenger_3.8.2-1_all.deb 024771eabb975442329deebf4210c6a4474e7ce425aa58ef328defd2e961263f 25070 puppetmaster_3.8.2-1_all.deb fa0e9b64af7c73743d7ad96aa24417702643dfcb06caa447e68e2b3a05d933ca 26098 vim-puppet_3.8.2-1_all.deb Files: 9d6787cc6d25d5152f2ecb3f8ac04059 2545 admin optional puppet_3.8.2-1.dsc 045b9028fe00eb525c6ee312a0b852e7 2637591 admin optional puppet_3.8.2.orig.tar.gz 4292208ddcc12301a137542f26c93106 43608 admin optional puppet_3.8.2-1.debian.tar.xz 1b3f09c97be312f506a418903f7fc093 1023208 admin optional puppet-common_3.8.2-1_all.deb 74c8b890d84dd13737e226e482755669 27568 admin optional puppet-el_3.8.2-1_all.deb f34a9daf04af2c1958d05a1f66ce37dd 815032 admin optional puppet-testsuite_3.8.2-1_all.deb fc20837be26c8e550fda3f708bdec6ce 25640 admin optional puppet_3.8.2-1_all.deb ff589d0e7e6a6179c22dd1931a8c8368 26204 admin optional puppetmaster-common_3.8.2-1_all.deb 2b4dbed3bc24d1bde8d13dd1bc684259 25662 admin optional puppetmaster-passenger_3.8.2-1_all.deb d1adf41164d371953be7d1f313c06439 25070 admin optional puppetmaster_3.8.2-1_all.deb ac0b4ac4b29b45b6b65c0f24e65d6e8f 26098 admin optional vim-puppet_3.8.2-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJV4gWNAAoJEH26lYwcBVU4jA0P+wfPSMBc00UcNM8z/Xmkx0xX vXmwjNX2OSeoVyOrTtF3qTRGohXyLXQIBgdiRQwobmHR0lB622sSJoQ1mwkvp3hC wxQwwkqCTmucYEEyv/zBm62h3ulPMU2EYf9JR5ufZZtktOdN2OYphBV60nCEsgw7 JtXsT+Xcu/jS/JX7ojJGykbi4xxT++3j3/JN/8Nx3hWEshUJO52kcR/35oQQeUrc clzDivMgXveUCox0llzXd24uyd8o5ljDyec4Mk+T81f0qwCpTmJb+hmtkj90njrQ zkatDx5leIYERghFXhI8p+zWmiaCAC5Cxxcm0Z+F/dR6dJN7H5NEA1f8VRqsSRic X12ehwO4KupJ9b3B31dVxfFY6JUBdKzzngkgVSbi/s2YHGQ4EFRCAo7iv1ZkTMmO Bqw3dOYl/A77ibadZsasEtLl08FfsOvJkBVRPDchfYpWEWaSknCov5cs9JfhvdSH Qsqb4Wc/w/dSels5kvh++mg06FUeEAakaj/2jMPnjFNsrnf1nYB9ESoE7CbFeqkd O2uZLCl4jPkTvWU/LY32hE/tfS7f16quIoSFG7GkJ5GpiPZ7oTP5Sw4KnEdFqJOS 0qCrIpGCh7mucMwZn7C0aw2k63pYD+ybK/mijSJkBDuV+2Z/ZBy5BDyqWAUbBRr8 mZ0c2Gp1yrTtaSOGADp9 =7vJP -----END PGP SIGNATURE-----
--- End Message ---

