[Adduser-devel] Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695

Eric Van Buggenhaut eric at proyectosolidario.org
Thu Jun 22 12:57:08 UTC 2006


Package: adduser
Version: 3.63
Severity: important

When trying to add a user to the system I get these errors:

kaplan:~# adduser pepe
Adding user `pepe'...
Adding new group `pepe' (1004).
Adding new user `pepe' (1004) with group `pepe'.
Creating home directory `/home/pepe'.
Copying files from `/etc/skel'
Use of uninitialized value in symlink at /usr/sbin/adduser line 695,
<FIND> line 167.
symlink: No such file or directory
Cleaning up.
Removing directory `/home/pepe'
rm: cannot remove `/home/pepe': Permission denied
Removing user `pepe'.
userdel: unable to lock password file
Removing group `pepe'.
groupdel: cannot remove user's primary group.
kaplan:~#

Note that /home/pepe is created though, but lacks files:

kaplan:~# ls -la /home/pepe/
total 12
drwxr-xr-x  3 pepe pepe  4096 Jun 22 14:42 .
drwxrwsr-x  9 root staff 4096 Jun 22 14:42 ..
drwx------  3 pepe pepe  4096 Jun 22 14:42 .kde

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-k7
Locale: LANG=es_ES at euro, LC_CTYPE=es_ES at euro (charmap=ISO-8859-15)

Versions of packages adduser depends on:
ii  debconf                 1.4.30.13        Debian configuration 
management sy
ii  passwd                  1:4.0.3-31sarge5 change and administer 
password and
ii  perl-base               5.8.8-4          The Pathologically Eclectic 
Rubbis

adduser recommends no packages.

-- debconf information:
  adduser/homedir-permission: true

-------------- next part --------------
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: eric at proyectosolidario.org
To: Debian Bug Tracking System <submit at bugs.debian.org>
Subject: Use of uninitialized value in symlink at /usr/sbin/adduser line 695
Message-ID: <20060622124656.5436.10081.reportbug at localhost.localdomain>
X-Mailer: reportbug 3.21.2
Date: Thu, 22 Jun 2006 14:46:56 +0200

Package: adduser
Version: 3.63
Severity: important

When trying to add a user to the system I get these errors:

kaplan:~# adduser pepe
Adding user `pepe'...
Adding new group `pepe' (1004).
Adding new user `pepe' (1004) with group `pepe'.
Creating home directory `/home/pepe'.
Copying files from `/etc/skel'
Use of uninitialized value in symlink at /usr/sbin/adduser line 695,
<FIND> line 167.
symlink: No such file or directory
Cleaning up.
Removing directory `/home/pepe'
rm: cannot remove `/home/pepe': Permission denied
Removing user `pepe'.
userdel: unable to lock password file
Removing group `pepe'.
groupdel: cannot remove user's primary group.
kaplan:~#

Note that /home/pepe is created though, but lacks files:

kaplan:~# ls -la /home/pepe/
total 12
drwxr-xr-x  3 pepe pepe  4096 Jun 22 14:42 .
drwxrwsr-x  9 root staff 4096 Jun 22 14:42 ..
drwx------  3 pepe pepe  4096 Jun 22 14:42 .kde



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.8-3-k7
Locale: LANG=es_ES at euro, LC_CTYPE=es_ES at euro (charmap=ISO-8859-15)

Versions of packages adduser depends on:
ii  debconf                 1.4.30.13        Debian configuration management sy
ii  passwd                  1:4.0.3-31sarge5 change and administer password and
ii  perl-base               5.8.8-4          The Pathologically Eclectic Rubbis

adduser recommends no packages.

-- debconf information:
  adduser/homedir-permission: true


More information about the Adduser-devel mailing list