On Wed, Oct 04, 2006 at 01:12:22PM +0100, Stephen Gran wrote: > This one time, at band camp, jeff said: > > Any symlink in /etc/skel will cause this bug, whether to file or > > directory. I've tried it with /var and /share and /bin/bash and > > /share/special.ods > > You are saying any dead symlink, or any symlink at all? If you mean > the former, this is a known bug, fixed in later versions. If you mean > the presence of any symlink at all causes a problem, can you please > provide a compete listing of /etc/skel (ls -la /etc/skel and ls -l each > file that symlinks point to) and the error output that happens on an > adduser run.
Any symlink at all. celeste:/etc/skel# ls -al total 16 drwxr-xr-x 2 root root 4096 2006-10-04 04:22 . drwxr-xr-x 79 root root 4096 2006-10-03 09:17 .. -rw-r--r-- 1 root root 567 2004-12-19 08:53 .bash_profile -rw-r--r-- 1 root root 1834 2004-12-19 08:53 .bashrc lrwxrwxrwx 1 root root 4 2006-10-04 04:23 var -> /var celeste:/etc/skel# ls -ld /var drwxr-xr-x 13 root root 4096 2006-07-25 09:59 /var celeste:#/etc/skel# ls -ld /home/newfolk ls: /home/newfolk: No such file or directory celeste:/etc/skel# adduser newfolk Adding user `newfolk'... Adding new user `newfolk' (1017) with group `users'. Creating home directory `/home/newfolk'. Copying files from `/etc/skel' Use of uninitialized value in symlink at /usr/sbin/adduser line 695, <FIND> line 4. symlink: No such file or directory Cleaning up. Removing directory `/home/newfolk' rm: cannot remove `/home/newfolk': Permission denied Removing user `newfolk'. userdel: unable to lock password file celeste:/etc/skel# rm var celeste:/etc/skel# deluser newfolk Removing user `newfolk'... done. celeste:/etc/skel# rm -rf /home/newfolk celeste:/etc/skel# adduser newfolk Adding user `newfolk'... Adding new user `newfolk' (1017) with group `users'. Creating home directory `/home/newfolk'. Copying files from `/etc/skel' Enter new UNIX password: Retype new UNIX password: passwd: password updated successfully Changing the user information for newfolk Enter the new value, or press ENTER for the default Full Name []: Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [y/N] y It's only on that one system, at the moment. It's come up on other systems before, but it's not replicating right now. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]