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

Stephen Gran steve at lobefin.net
Thu Jun 29 20:07:48 UTC 2006


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 at 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


More information about the Adduser-devel mailing list