Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212912 - >=sys-libs/glibc-2.6.1 downgrade sanity check is broken
Summary: >=sys-libs/glibc-2.6.1 downgrade sanity check is broken
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-10 10:26 UTC by Jakub Moc (RETIRED)
Modified: 2008-03-10 18:42 UTC (History)
0 users

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 Jakub Moc (RETIRED) gentoo-dev 2008-03-10 10:26:26 UTC
<snip>
# prevent native builds from downgrading ... maybe update to allow people
# to change between diff -r versions ? (2.3.6-r4 -> 2.3.6-r2)
if [[ ${ROOT} != "/" ]] && ! tc-is-cross-compiler ; then
        if has_version '>'${CATEGORY}/${PF} ; then
                ...
                die "aborting to save your system"
                fi
        fi
</snip>

This is supposed to be if [[ ${ROOT} == "/" ]] for sure? The above happily lets you downgrade your glibc and kill your box. :(
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-03-10 18:42:17 UTC
Thanks!