Bug 479837

Summary: Support rpm, which contains files with filename + path longer than 256 chars
Product: [Community] Spacewalk Reporter: Miroslav Suchý <msuchy>
Component: ServerAssignee: Miroslav Suchý <msuchy>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: medium    
Version: 0.4CC: cperry, jesusr, tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 435388 Environment:
Last Closed: 2009-01-22 16:37:23 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: 456552    

Description Miroslav Suchý 2009-01-13 14:47:15 UTC
+++ This bug was initially created as a clone of Bug #435388 +++

When trying to push an RPM to Spacewalk which has files which is longer than 256 chars, we got traceback.

Comment 1 Miroslav Suchý 2009-01-13 14:54:20 UTC
Commited as 3dac44dcd818c1cdba62a193fbc2d9d4f30b3526

Comment 2 Miroslav Suchý 2009-01-13 15:01:12 UTC
I increased the size to 4000 as it is maximum of varchar2 on Oracle9 and the path can be really long so something like 512 will be probably hit soon as well...

Comment 3 Jesus M. Rodriguez 2009-01-22 16:37:23 UTC
SQL> desc rhnPackageCapability
 Name					   Null?    Type
 ----------------------------------------- -------- ----------------------------
 ID					   NOT NULL NUMBER
 NAME					   NOT NULL VARCHAR2(4000)
 VERSION					    VARCHAR2(64)
 CREATED				   NOT NULL DATE
 MODIFIED				   NOT NULL DATE

verified