Your message dated Sat, 31 Jul 2010 20:04:54 +0200
with message-id <[email protected]>
and subject line Closing old bug
has caused the Debian Bug report #484724,
regarding puppet: "User" type fails to update GECOS when not also updating UID
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.)


-- 
484724: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484724
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: puppet
Version: 0.24.4-5
Severity: normal

Hi...

It seems puppet passes "incorrect" options to usermod when attempting to update
GECOS but not make any other changes. The "-o" option to usermod (to allow 
duplicate
user ids) causes usermod to fail if the "-u" option is not present (which, when
not modifying UID, it is not).

It would be fairly simple to either always pass UID to usermod, or to make the 
use
of "-o" conditional on use of "-u", but ruby isn't my strong point so I'll 
leave it
to someone who will make a neater job of it.

I think the usermod provider code also fails to quote the contents to be placed 
in
the GECOS field, despite a comment indicating that it is necessary (it is), and
similar code elsewhere in puppet doing so. But it could be that it's been 
sneakily
quoted elsewhere and I didn't spot it; as I said, ruby is not my first language 
;-)

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: powerpc (ppc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-powerpc64
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)

Versions of packages puppet depends on:
ii  adduser                3.102             Add and remove users and groups
ii  facter                 1.3.5-1           a library for retrieving facts fro
ii  libopenssl-ruby        1.0.0+ruby1.8.2-1 OpenSSL interface for Ruby
ii  libshadow-ruby1.8      1.4.1-7           Interface of shadow password for R
ii  libxmlrpc-ruby         1.8.2-1           XML-RPC support for Ruby
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip
ii  ruby                   1.8.2-1           An interpreter of object-oriented 

Versions of packages puppet recommends:
ii  rdoc                          1.8.2-1    Generate documentation from ruby s

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 0.24.5-1

This issue seems to have been resolved.  Closing the bug.

Thanks for reporting it.

-- 
Stig Sandbeck Mathisen
                      ooo, shiny!

Attachment: pgpvfzk14zsO5.pgp
Description: PGP signature


--- End Message ---

Reply via email to