This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 479837 - Support rpm, which contains files with filename + path longer than 256 chars
Support rpm, which contains files with filename + path longer than 256 chars
Status: CLOSED CURRENTRELEASE
Product: Spacewalk
Classification: Community
Component: Server (Show other bugs)
0.4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Miroslav Suchý
Red Hat Satellite QA List
:
Depends On:
Blocks: space04
  Show dependency treegraph
 
Reported: 2009-01-13 09:47 EST by Miroslav Suchý
Modified: 2009-01-28 12:43 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 435388
Environment:
Last Closed: 2009-01-22 11:37:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Miroslav Suchý 2009-01-13 09:47:15 EST
+++ 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 09:54:20 EST
Commited as 3dac44dcd818c1cdba62a193fbc2d9d4f30b3526
Comment 2 Miroslav Suchý 2009-01-13 10:01:12 EST
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 11:37:23 EST
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

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