[Adduser-devel] Bug#439762: adduser: uninitialized value on line 188

Adrian Bridgett adrian at smop.co.uk
Mon Aug 27 09:30:34 UTC 2007


Package: adduser
Version: 3.104

When installing puppet (which does this):
       /usr/sbin/adduser --system \
                   --group \
	           --home /var/lib/puppet \
	           --gecos "Puppet configuration manangement daemon" \
            puppet > /dev/null

I saw:
Use of uninitialized value in printf at /usr/sbin/adduser line 188.

If I changed the statement a printf to this:
  print gtx("Warning: The home dir $special_home you specified already
  exists.\n")       if (!defined($no_create_home) && -d $special_home);

Then it worked - however I'm not aware of the correct usage of gettext.

"locale" reports:
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Thanks

Adrian Bridgett





More information about the Adduser-devel mailing list