Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427640 - app-misc/pax-utils: scanelf silently fails to set flags on busy text files
Summary: app-misc/pax-utils: scanelf silently fails to set flags on busy text files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-22 13:34 UTC by Anthony Basile
Modified: 2012-08-04 06:08 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anthony Basile gentoo-dev 2012-07-22 13:34:40 UTC
You can't open busy text files, in this case to update the program headers.  scanelf silently fails.  This might lead the user to think the flags were updated when they were not:

hard-sixtyfour ~ # scanelf -Xxz m /bin/bash   #should warn here
hard-sixtyfour ~ # scanelf -x /bin/bash 
 TYPE    PAX   FILE 
ET_DYN ---xe- /bin/bash 


Reproducible: Always