Bug 1437011

Summary: Sat5.7: Package data importes with incorrect character encoding
Product: Red Hat Satellite 5 Reporter: Gennadii Altukhov <galtukho>
Component: Satellite SynchronizationAssignee: Jan Dobes <jdobes>
Status: CLOSED DUPLICATE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 570CC: dyordano, galtukho, kshirsal, satqe-list, sean, tlestach
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1305744 Environment:
Last Closed: 2017-05-26 08:53:54 UTC Type: Bug
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: 1391420    

Description Gennadii Altukhov 2017-03-29 09:16:35 UTC
+++ This bug was initially created as a clone of Bug #1305744 +++

Description of problem:

(working with checkpolicy package according to the reproducer)

1)
https://sputnik.brq.redhat.com/rhn/software/packages/Details.do?pid=76160
shows:
... a feature of the Linux® kernel and a number ...
... Enforcement®, Role-based ...

2)
PG DB:
echo "select description from rhnPackage where id = 9891;" | spacewalk-sql -i | grep -e Enforcement -e feature
 Security-enhanced Linux is a feature of the Linux® kernel and a number
 based on the concepts of Type Enforcement®, Role-based Access

This happens only if the content is synchronized via satelltie-sync from RHN. 

Additional info:
Checksum is the same in both cases, corrupted and non-corrupted description.

Comment 1 Tomas Lestach 2017-05-26 08:53:54 UTC
We investigated the issue already and found out the problem is on the RHN side. Closing as duplicate of Bug 1385726.

*** This bug has been marked as a duplicate of bug 1385726 ***