Bug 623774
Summary: | rhncfg-client: Creation of symbolic links fail on non-root partition | ||
---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Ryan Falkenberg <ryan.falkenberg> |
Component: | Clients | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED WORKSFORME | QA Contact: | Red Hat Satellite QA List <satqe-list> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.0 | CC: | jpazdziora, mmraka |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-24 12:14:28 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: | |||
Bug Depends On: | |||
Bug Blocks: | 723481 |
Description
Ryan Falkenberg
2010-08-12 18:20:19 UTC
/usr/share/rhn/config_common/transactions.py needs to be patched on the client systems, not the spacewalk server (In reply to comment #0) > + os.system("mv %s %s" % (self.newtemp_by_path[path], > path)) I don't like forking the mv, not mentioning the fact that the comemnt will fail if the path is strange (starts with a dash or has a space in it or something). Why can't we create the temporary entries in the same directory as the final location, with some dot at start and some random suffix? Mass-moving to space13. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5. Aligning under space16. I was not able to reproduce this issue with the latest rhncfg-client. # rhncfg-client get Deploying //mnt/dir Deploying /mnt/dir/link Deploying /mnt/dir/file Deploying /mnt/file # ll /mnt/dir/ -rw-r--r-- 1 root root 6 Aug 24 13:53 file lrwxrwxrwx 1 root root 9 Aug 24 13:53 link -> /bin/bash # df /bin /mnt Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 40629568 1870084 36662856 5% / /root/filesys.img 39663 4610 33005 13% /mnt # rpm -q rhncfg-client rhncfg-client-5.10.13-1.el6.noarch So I'm closing it as WORKSFORME. If you disagree please reopen and specify exact version of rhncfg-client. |