Bug 87572
| Summary: | libuser creates invalid links in home directory when links exist in /etc/skel | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | gLaNDix <glandix> | ||||||
| Component: | libuser | Assignee: | Miloslav Trmač <mitr> | ||||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9 | CC: | jpenix | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 0.51.10-1 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2004-09-02 22:20:40 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
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. |
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 mandrake 9.0) How reproducible: 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 Actual results: Expected results: [root@localhost SPECS]# ls -l /home/testuser total 16 lrwxrwxrwx 1 test2 test2 4095 Mar 26 16:14 test -> test2 Additional info: This effects every version of libuser I have found in both Red Hat and Mandrake Linux.