Bug 663006 - "Invalid macro" error while uploading a configuration file into config channel
Summary: "Invalid macro" error while uploading a configuration file into config channel
Keywords:
Status: CLOSED DUPLICATE of bug 645842
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 540
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-14 12:33 UTC by Martin Osvald 🛹
Modified: 2011-01-04 17:21 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-04 17:21:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
snapshot of the error (100.39 KB, image/png)
2010-12-14 12:33 UTC, Martin Osvald 🛹
no flags Details

Description Martin Osvald 🛹 2010-12-14 12:33:53 UTC
Created attachment 468598 [details]
snapshot of the error

Description of problem:

If you try to upload e.g. /etc/bashrc file into a configuration channel, it fails with obscure error message:
---
Invalid macro - make sure the file isn't a binary file!
'| /bin/egrep -q "(^|'
---

It doesn't work also if you try to create a file in that channel and upload there the contents of /etc/bashrc manually (it ends with the same error).


Version-Release number of selected component (if applicable):

Satellite 5.4


How reproducible:

Always


Steps to Reproduce:

1. Create a new configuration channel and try to upload there a file /etc/bashrc (interesting note, you will have to copy the bashrc file to a different directory to be able to see the error, because if you try to select the file directly, it won't simply add the file there without any error, like there were no selected files to upload (probably another bug))

  
Actual results:

It ends with an error:

Invalid macro - make sure the file isn't a binary file!
'| /bin/egrep -q "(^|'

See attached picture.


Expected results:

No error, successful upload.


Note You need to log in before you can comment on or make changes to this bug.