[Spacewalk-list] Configuration managment problem / encrypted content

Grant Gainey ggainey at redhat.com
Wed May 6 15:47:23 UTC 2015


----- Original Message -----
> 
> 
> Weird. It's not encrypted, just obfuscated. That's hex for "content ".

Concur.

Alexandre - I can't reproduce :/

When you created the file - did you upload it?  Create it 'in place' in the web-editor? Did you set its type to binary?  Can you attach the cfg-file so we can look at it?

G

> 
> 
> 
> 
> On 2015-05-06 6:43, Dhaussy Alexandre wrote:
> 
> 
> Greetings,
> 
> I'm trying to use configuration managment with spacewalk 2.3.
> I successfully deployed a file on a client, but the content of the
> deployed file seems to be encrypted.
> 
> Created a configuration channel, with a test Text file /root/test.txt
> with content text "content".
> 
> 2015-05-06 12:41:38 rpc_cli_repository.list_files:
> 2015-05-06 12:41:39 rpc_cli_repository.get_file_info: /root/test.txt
> 2015-05-06 12:41:39 transactions.add_preprocessed: preprocessing entry
> 2015-05-06 12:41:39 transactions.deploy: deploying transaction
> 2015-05-06 12:41:39 transactions.deploy: changed_dir_info: {}
> 2015-05-06 12:41:39 transactions.deploy: new_dirs:  []
> 2015-05-06 12:41:39 transactions.deploy: done with directory creation,
> moving on to files
> 2015-05-06 12:41:39 transactions._rename_to_backup: renaming
> /root/test.txt to backup
> /var/lib/rhncfg/backups/root/test.txt.rhn-cfg-backup ...
> 2015-05-06 12:41:39 transactions._rename_to_backup: trying to use os.renames
> 2015-05-06 12:41:39 transactions._rename_to_backup: os.renames failed,
> using shutil functions
> 2015-05-06 12:41:39 transactions._rename_to_backup: backup directory
> /var/lib/rhncfg/backups/root exists, copying test.txt.rhn-cfg-backup to it
> 2015-05-06 12:41:39 transactions._rename_to_backup: backed up to
> /var/lib/rhncfg/backups/root/test.txt.rhn-cfg-backup
> 2015-05-06 12:41:39 transactions.deploy: backup file
> /var/lib/rhncfg/backups/root/test.txt.rhn-cfg-backup written
> Deploying /root/test.txt
> 2015-05-06 12:41:39 transactions.deploy: deploying /root/test.txt ...
> 2015-05-06 12:41:39 transactions.deploy: new version of /root/test.txt
> deployed
> 2015-05-06 12:41:39 transactions.deploy: deploy transaction successful
> 2015-05-06 12:41:39 rpc_cli_repository.cleanup:
> 
> 
> [ root at softmachine ~]$ cat /root/test.txt
> x636f6e74656e7420[ root at softmachine ~]$
> 
> Did i miss something obvious ?
> 
> Regards,
> Alexandre.
> 
> _______________________________________________
> Spacewalk-list mailing list Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
> 
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list

-- 
Grant Gainey
Principal Software Engineer, Red Hat Satellite




More information about the Spacewalk-list mailing list