Red Hat Bugzilla – Bug 87572
libuser creates invalid links in home directory when links exist in /etc/skel
Last modified: 2007-04-18 12:52:32 EDT
Description of problem:
If you create symbolic links in /etc/skel and run either luseradd or the
redhat-config-users program to create a new user, the links are created in the
new user's home directory, but point to invalid locations.
Version-Release number of selected component (if applicable):
all including rpm downloaded from phoebe-3 beta (also applies to libuser in
It happens with EVERY link EVERY time.
Steps to Reproduce:
1. cd /etc/skel
2. touch test
3. ln -s test test2
4. /usr/sbin/lusradd testuser
[root@localhost SPECS]# ls -l /home/testuser
lrwxrwxrwx 1 test2 test2 4095 Mar 26 16:14 test -> test2
This effects every version of libuser I have found in both Red Hat and
Created attachment 90776 [details]
output from ls -l /home/test with symlinks in /etc/skel
Created attachment 90777 [details]
patch to fix libuser link problem
Seen this one as well, bit me badly. Cost me 3 weeks of a class full of chemical
engineer's time. Please apply patch.
*** Bug 98912 has been marked as a duplicate of this bug. ***
Thanks for the patch.
Should be fixed in libuser-0.51.10-1, when it hits rawhide.