Eric Van Buggenhaut
2006-Jun-22 13:45 UTC
Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695
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@euro, LC_CTYPE=es_ES@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
Stephen Gran
2006-Jun-22 14:54 UTC
Bug#374981: [Adduser-devel] Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695
This one time, at band camp, Eric Van Buggenhaut said:> 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 directoryYou have a ''dead'' symlink (i.e., a symlink pointing to a non-existant file) in /etc/skel. Remove it, and it should work. -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran@debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060622/b141763b/attachment.pgp
Stephen Gran
2006-Jun-23 21:08 UTC
Bug#374981: [Adduser-devel] Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695
This one time, at band camp, Stephen Gran said:> This one time, at band camp, Eric Van Buggenhaut said: > > 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 > > You have a ''dead'' symlink (i.e., a symlink pointing to a non-existant > file) in /etc/skel. Remove it, and it should work.Can you confirm that this is correct? Thanks, -- ----------------------------------------------------------------- | ,''''`. Stephen Gran | | : :'' : sgran@debian.org | | `. `'' Debian user, admin, and developer | | `- http://www.debian.org | ----------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060623/7277291c/attachment.pgp
Stephen Gran
2006-Jun-29 20:43 UTC
Bug#374981: [Adduser-devel] Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695
On Thu, Jun 29, 2006 at 12:59:12PM +0200, Eric Van Buggenhaut said:> Stephen Gran escribi?: > >This one time, at band camp, Eric Van Buggenhaut said: > >>When trying to add a user to the system I get these errors: > >> > >>kaplan:~# adduser pepe > >>Use of uninitialized value in symlink at /usr/sbin/adduser line 695, > >><FIND> line 167. > >>symlink: No such file or directory > >You have a ''dead'' symlink (i.e., a symlink pointing to a non-existant > >file) in /etc/skel. Remove it, and it should work. > > Thanks for your answer. Indeed: > > kaplan:/home/eric# ls -l /etc/skel/.kde/socket-kaplan > lrwxrwxrwx 1 root root 19 Nov 25 2005 /etc/skel/.kde/socket-kaplan -> > /tmp/ksocket-carlos > kaplan:/home/eric# more /etc/skel/.kde/socket-kaplan > /etc/skel/.kde/socket-kaplan: No such file or directory > kaplan:/home/eric# > > Maybe the adduser script should check for such broken symlinks ?Well, it does, and that''s why it failed :( It could fial more gracefully, and I will look into making it do so in newer versions, but for the life of sarge, I tend to think we''re stuck with this. To fix the problem on your end, just remove that symbolic link. Thanks for the report, and take care, -- -------------------------------------------------------------------------- | Stephen Gran | Just because your doctor has a name for | | steve@lobefin.net | your condition doesn''t mean he knows | | http://www.lobefin.net/~steve | what it is. | -------------------------------------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060629/0fc7a687/attachment.pgp
Debian Bug Tracking System
2006-Jul-16 22:51 UTC
[Adduser-devel] Bug#374981: marked as done (Use of uninitialized value in symlink at /usr/sbin/adduser line 695)
Your message dated Sun, 16 Jul 2006 23:54:45 +0200 with message-id <20060716215445.GA10708@nechayev.zugschlus.de> and subject line Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------- next part -------------- An embedded message was scrubbed... From: Eric Van Buggenhaut <eric@proyectosolidario.org> Subject: Use of uninitialized value in symlink at /usr/sbin/adduser line 695 Date: Thu, 22 Jun 2006 14:57:08 +0200 Size: 6356 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060716/293cf474/attachment.mht -------------- next part -------------- An embedded message was scrubbed... From: Marc Haber <mh+debian-packages@zugschlus.de> Subject: Re: Bug#374981: Use of uninitialized value in symlink at /usr/sbin/adduser line 695 Date: Sun, 16 Jul 2006 23:54:45 +0200 Size: 3544 Url: http://lists.alioth.debian.org/pipermail/adduser-devel/attachments/20060716/293cf474/attachment-0001.mht